Start Server and Agent Processes
Video Lecture
Description
Commands entered in this video,
Ubuntu 20.04, 18.04
| systemctl restart zabbix-server zabbix-agent apache2
|
| systemctl enable zabbix-server zabbix-agent apache2
|
Centos 8
| systemctl restart zabbix-server zabbix-agent httpd php-fpm
|
| systemctl enable zabbix-server zabbix-agent httpd php-fpm
|
Centos 7
| systemctl restart zabbix-server zabbix-agent httpd rh-php72-php-fpm
|
| systemctl enable zabbix-server zabbix-agent httpd rh-php72-php-fpm
|
Note
The Zabbix Server process may not start due to SELINUX on Centos. The simplest thing I found to fix this was to disable SELINUX
Disable SELINUX
If SELINUX is creating problems for you when trying to start the Zabbix Server process on Centos 7, then you can try disabling it.
| sudo nano /etc/selinux/config
|
Change line
SELINUX=enforcing
to
SELINUX=disabled
Then reboot
Check status
After reboot, Zabbix should auto start and be running fine.