Zabbix server is not running workaround

Source: Internet
Author: User
Tags install openssl

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

To close the SELinux method:

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 setting SELinux to become enforcing mode

Setenforce 0 Setting SELinux to become 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

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.