Zabbix server is not running Solution

Source: Internet
Author: User

After zabbix is installed normally, zabbix monitoring reports the error zabbix server is not running: the information displayed may not be current after logon,

This error may occur in the following situations,

1. Whether SELinux is disabled. You must disable this function. Enabling SELinux will cause a series of problems, and even the zabbix discovery function cannot be used normally.

To disable SELinux, modify SELinux = "" in the/etc/SELinux/config file to "disabled" and then restart SELinux. If you do not want to restart the system, run the setenforce 0 command. Note: setenforce 1 sets SELinux to enforcing mode. setenforce 0 sets SELinux to permissive mode. Add SELinux = 0 to the startup parameters of LILO or grub, you can also disable SELinux.

2. Check whether the $ zbx_server under the zabbix web directory is an IP address. If it is localhost, ping it to check whether the localhost can be parsed. If not, add the corresponding project to the/etc/hosts file.

3. Check whether the fsockopen module of PHP is enabled.


Method 1:

Step 1:

Search for the php. ini file

Allow_url_fopen = on

Set the value to on


Step 2:

Search for the php. ini file

Extension = php_openssl.dll

If there is a semicolon before, remove the semicolon

Step 3:

Restart the web server, Apache, or IIS

There is another case, that is, Method 2:

1. vi php. ini

Set allow_url_fopen to on, that is

Allow_url_fopen = on

2. Let your PHP support opensll extension.

By default, OpenSSL extensions are not available and you can only recompile and install them.

Yum install 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

Follow the prompts to copy the compiled OpenSSL. So file to the extension_dir file you specified in PHP. ini.

3. vi php. ini

Join

Extension = OpenSSL. So

4. Restart the Web Server

Zabbix server is not running Solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.