首先出现这个问题我知道的有2个原因

  1. selinux 是否关闭

    查看/etc/selinux/config有以下三个选项选择SELINUX = disabled

    SELINUX= can take one of these three values:


        enforcing - SELinux security policy is enforced.

        permissive - SELinux prints warnings instead of enforcing.

        disabled - No SELinux policy is loaded.


  2. 查看cat /etc/zabbix/web/zabbix.conf.php文件里面的$ZBX_SERVER      = 'localhost'; localhost能ping通解析,如果不能请在/etc/hosts添加hosts解析

  3. 查看cat /etc/php.ini allow_url_fopen 是否为On 如果不是请改为On

    allow_url_fopen = On 

    我只是检查了以上原因后解决了zabbix server is not running