Ad Widget

Collapse

Zabbix server not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pinguin123
    Member
    • Apr 2015
    • 52

    #1

    Zabbix server not running

    Hi,

    in Dashboard there is a message that the Zabbix server is not running (status = no) and this message showed up, too:

    Zabbix server is not running: the information displayed may not be current.
    Here some extracts:

    Code:
    root@xxx:/etc/zabbix/web# cat zabbix.conf.php
    <?php
    // Zabbix GUI configuration file.
    global $DB;
    
    $DB['TYPE']     = 'MYSQL';
    $DB['SERVER']   = 'localhost';
    $DB['PORT']     = '0';
    $DB['DATABASE'] = 'zabbix';
    $DB['USER']     = 'root';
    $DB['PASSWORD'] = 'xxx';
    
    // Schema name. Used for IBM DB2 and PostgreSQL.
    $DB['SCHEMA'] = '';
    
    $ZBX_SERVER      = '172.x.x.x';
    $ZBX_SERVER_PORT = '10051';
    $ZBX_SERVER_NAME = '';
    Code:
    DBHost=172.x.x.x
    DBName=zabbix
    DBUser=root
    DBPassword=xxx

    edit: I use version 3.0.4
    and the command "setsebool -P httpd_can_network_connect=true " doesn't work...
    Last edited by pinguin123; 02-09-2016, 11:03.
  • akbar415
    Senior Member
    • May 2015
    • 119

    #2
    Check the service of the zabbix server


    Code:
    service zabbix-server status

    Comment

    • pinguin123
      Member
      • Apr 2015
      • 52

      #3
      The service was started...

      I found out that it was an Ubuntu problem, because of SELinux and such. I migrated the Zabbix server to CentOS and now it works.

      Comment

      Working...