after the normal installation of Zabbix, after login Zabbix monitoring error Zabbix Server is not running:the information displayed
Here are a few things that could cause this error,
1. If SELinux is closed. Be sure to turn this off, and turning on SELinux can cause a series of problems, even Zabbix's discovery function is not working properly
How to turn off SELinux: Modify the Selinux= "" in the/etc/selinux/config file to Disabled, and then restart. If you do not want to restart the system, use the command Setenforce 0 Note: Setenforce 1 set SELinux to be enforcing mode Setenforce 0 set SELinux as permissive mode Added in Lilo or grub boot parameters: Selinux=0, can also turn off SELinux
2. Zabbix the web directory below $ZBX whether _server is IP, if localhost,ping under LocalHost can parse. If not, you need to add the corresponding item in the/etc/hosts file
3. See if PHP's Fsockopen module is enabled.
Method One:
The first step:
Find in php.ini file
Allow_url_fopen = On
To make its value on
Step Two:
Find in php.ini file
Extension=php_openssl.dll
If preceded by a semicolon, remove the semicolon
Step Three:
Restart the Web server, Apache or IIS
There is another situation, namely method two:
1. VI php.ini
Find Allow_url_fopen This parameter is set to ON, i.e.
Allow_url_fopen = On
2. Let your PHP support the opensll extension.
By default, there is no OpenSSL extension, only the installation can be recompiled.
Yum Install OpenSSL Openssl-devel
Cd/usr/local/src/php-5.2.14/ext/openssl
/usr/local/php/bin/phpize
./configure–with-openssl–with-php-config=/usr/local/bin/php-config
Make && make install
Look at the hint, copy the compiled openssl.so to the extension_dir you specified in the php.ini
3. VI php.ini
Join
Extension=openssl.so
4. Restart the Web server
Zabbix server is not running workaround