Ad Widget

Collapse

New Zabbix 3.4 install on CentOS 7 wont start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • azav8or
    Junior Member
    • Oct 2017
    • 9

    #1

    New Zabbix 3.4 install on CentOS 7 wont start

    root@localhost ccvadmin]# systemctl start zabbix-server
    Job for zabbix-server.service failed because the control process exited with error code. See "systemctl status zabbix-server.service" and "journalctl -xe" for details.


    [root@localhost ccvadmin]# systemctl status zabbix-server.service
    ● zabbix-server.service - Zabbix Server
    Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendor preset: disabled)
    Active: activating (auto-restart) (Result: exit-code) since Thu 2018-01-25 10:49:56 MST; 3s ago
    Process: 19355 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=1/FAILURE)

    Jan 25 10:49:56 localhost.localdomain systemd[1]: zabbix-server.service: control process exited, code=exited status=1
    Jan 25 10:49:56 localhost.localdomain systemd[1]: Failed to start Zabbix Server.
    Jan 25 10:49:56 localhost.localdomain systemd[1]: Unit zabbix-server.service entered failed state.
    Jan 25 10:49:56 localhost.localdomain systemd[1]: zabbix-server.service failed.
    [root@localhost ccvadmin]#



    [root@localhost ccvadmin]# journalctl -xe
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman.../systemd-devel
    --
    -- Unit zabbix-server.service has begun starting up.
    Jan 25 10:52:19 localhost.localdomain zabbix_server[19439]: zabbix_server [19439]: unknown parameter "BPassword" in config file "/etc/z
    Jan 25 10:52:19 localhost.localdomain systemd[1]: zabbix-server.service: control process exited, code=exited status=1
    Jan 25 10:52:19 localhost.localdomain systemd[1]: Failed to start Zabbix Server.
    -- Subject: Unit zabbix-server.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman.../systemd-devel
    --
    -- Unit zabbix-server.service has failed.
    --
    -- The result is failed.
    Jan 25 10:52:19 localhost.localdomain systemd[1]: Unit zabbix-server.service entered failed state.
    Jan 25 10:52:19 localhost.localdomain systemd[1]: zabbix-server.service failed.
    Jan 25 10:52:29 localhost.localdomain systemd[1]: zabbix-server.service holdoff time over, scheduling restart.
    Jan 25 10:52:29 localhost.localdomain systemd[1]: Starting Zabbix Server...
    -- Subject: Unit zabbix-server.service has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman.../systemd-devel
    --
    -- Unit zabbix-server.service has begun starting up.
    Jan 25 10:52:29 localhost.localdomain zabbix_server[19483]: zabbix_server [19483]: unknown parameter "BPassword" in config file "/etc/z
    Jan 25 10:52:29 localhost.localdomain systemd[1]: zabbix-server.service: control process exited, code=exited status=1
    Jan 25 10:52:29 localhost.localdomain systemd[1]: Failed to start Zabbix Server.
    -- Subject: Unit zabbix-server.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman.../systemd-devel
    --
    -- Unit zabbix-server.service has failed.
    --
    -- The result is failed.
    Jan 25 10:52:29 localhost.localdomain systemd[1]: Unit zabbix-server.service entered failed state.
    Jan 25 10:52:29 localhost.localdomain systemd[1]: zabbix-server.service failed.
    lines 2683-2717/2717 (END)


    Can anyone tell where I should make changes? I am totally new to this and haven't used linux in years so severely rusty.

    Cheers,
    Chris
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    How did you install and initialize?
    For example, have you set DBPassword in /etc/zabbix/zabbix_server.conf?

    Please check the contents of the log file.
    The cause that can not be activated should be output.

    Comment

    • azav8or
      Junior Member
      • Oct 2017
      • 9

      #3
      Originally posted by Atsushi
      How did you install and initialize?
      For example, have you set DBPassword in /etc/zabbix/zabbix_server.conf?

      Please check the contents of the log file.
      The cause that can not be activated should be output.
      I followed these instructions http://yallalabs.com/linux/how-to-in...ntos-7-rhel-7/

      where is the log located?

      Cheers,
      Chris

      Comment

      • kaspars.mednis
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2017
        • 349

        #4
        Hi,

        by default all Zabbix logs are located at /var/log/zabbix

        Regards,
        Kaspars

        Comment

        • azav8or
          Junior Member
          • Oct 2017
          • 9

          #5
          [root@localhost ccvadmin]# cd /var/log/zabbix
          [root@localhost zabbix]# ls
          zabbix_agentd.log
          [root@localhost zabbix]#
          [root@localhost zabbix]#
          [root@localhost zabbix]# tail -f zabbix_agentd.log
          17880:20180125:100045.750 TLS support: YES
          17880:20180125:100045.750 **************************
          17880:20180125:100045.750 using configuration file: /etc/zabbix/zabbix_agentd.conf
          17880:20180125:100045.752 agent #0 started [main process]
          17885:20180125:100045.753 agent #4 started[listener #3]
          17883:20180125:100045.754 agent #2 started[listener #1]
          17882:20180125:100045.758 agent #1 started [collector]
          17886:20180125:100045.769 agent #5 started [active checks #1]
          17884:20180125:100045.772 agent #3 started[listener #2]
          17886:20180125:100045.779 active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: [111] Connection refused)

          Comment

          • samadam112019
            Junior Member
            • Feb 2019
            • 1

            #6
            stop the firewall then try again:

            systemctl stop firewalld.service
            systemctl restart zabbix-server zabbix-agent httpd

            Comment

            Working...