I want to check if the server is started, but it is not done.


As a reference, Zabbix3.0.14 was installed on CentOS7 (1708).

I want to be able to see the server status from the web console.
Even if "12. Release restriction on SELinux",
The status of the "Start Zabbix server" item on the dashboard remains "No".

Try it

I think the service is not running,

systemctl status zabbix-server
● zabbix-server.service-Zabbix Server
   Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service;enabled;vendor preset: disabled)
   Active: active (running) since Sat 2018-01-13 15:21:46 JST;32min ago
  Process: 17505 ExecStop =/bin/kill -SIGTERM $MAINPID (code = exited, status = 1/FAILURE)
  Process: 17604 ExecStart =/usr/sbin/zabbix_server -c $CONFFILE (code = exited, status = 0/SUCCESS)
 Main PID: 17606 (zabbix_server)
   CGroup: /system.slice/zabbix-server.service
           └──17606/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
 Jan 13 15:21:46 localhost.localdomain systemd [1]: zabbix-server.service hol ...
 Jan 13 15:21:46 localhost.localdomain systemd [1]: Starting Zabbix Server ...
 Jan 13 15:21:46 localhost.localdomain systemd [1]: Started Zabbix Server.
Hint: Some lines were ellipsized, use -l to show in full.

displayed and started? It seems to be doing.

Are there other factors? Please teach me.

  • Answer # 1

    Check that the server and agent are running properly by executing the following command:

    $ps -ef | grep zabbix

    Is the port used for monitoring changed from the default?
    In that case, it is necessary to match the settings on the server and the agent.

  • Answer # 2

    Is this the only Zabbix Server related process?
    Normally, when Zabbix Server is started, various processes depending on the application run simultaneously.

    Please also check if the 10051 port is listening on TCP correctly.
    If the ss command can be used, it can be confirmed with the following command.

    $ss -nlt

    The point to check later is
    Zabbix web configuration ($ZBX_SERVER and $ZBX_SERVER_PORT in /etc/zabbix/web/zabbix.conf.php),
    Check the Zabbix Server settings (ListenIP in /etc/zabbix/zabbix_server.conf).

  • Answer # 3

    SELinux settings were insufficient.
    You did not have setrlimit permission.

    I solved it by referring to this article.

    Thank you for the answers.