Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-4692

can not restart zabbix-agent

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None
    • redHat 4.8.5

      [root@iZbp16tsxqsldoqa02e0qbZ zabbix]# service zabbix-agent status
      Redirecting to /bin/systemctl status zabbix-agent.service
      ● zabbix-agent.service - Zabbix Agent
      Loaded: loaded (/usr/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: disabled)
      Active: activating (auto-restart) (Result: exit-code) since Fri 2018-08-17 14:51:35 CST; 4s ago
      Process: 24745 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=0/SUCCESS)
      Process: 26332 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=1/FAILURE)
      Main PID: 25949 (code=exited, status=0/SUCCESS)

      Aug 17 14:51:35 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Failed to start Zabbix Agent.
      Aug 17 14:51:35 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Unit zabbix-agent.service entered failed state.
      Aug 17 14:51:35 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service failed.
      [root@iZbp16tsxqsldoqa02e0qbZ zabbix]# # journalctl -xe
      [root@iZbp16tsxqsldoqa02e0qbZ zabbix]# service zabbix-agent restart
      Redirecting to /bin/systemctl restart zabbix-agent.service
      Job for zabbix-agent.service failed because the control process exited with error code. See "systemctl status zabbix-agent.service" and "journalctl -xe" for details.
      [root@iZbp16tsxqsldoqa02e0qbZ zabbix]# journalctl -xe
      – Unit zabbix-agent.service has begun starting up.
      Aug 17 14:56:11 iZbp16tsxqsldoqa02e0qbZ zabbix_agentd[26455]: [120B blob data]
      Aug 17 14:56:11 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service: control process exited, code=exited status=1
      Aug 17 14:56:11 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Failed to start Zabbix Agent.
      – Subject: Unit zabbix-agent.service has failed
      – Defined-By: systemd
      – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

      – Unit zabbix-agent.service has failed.

      – The result is failed.
      Aug 17 14:56:11 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Unit zabbix-agent.service entered failed state.
      Aug 17 14:56:11 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service failed.
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service holdoff time over, scheduling restart.
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Starting Zabbix Agent...
      – Subject: Unit zabbix-agent.service has begun start-up
      – Defined-By: systemd
      – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

      – Unit zabbix-agent.service has begun starting up.
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ zabbix_agentd[26489]: [120B blob data]
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service: control process exited, code=exited status=1
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Failed to start Zabbix Agent.
      – Subject: Unit zabbix-agent.service has failed
      – Defined-By: systemd
      – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

      – Unit zabbix-agent.service has failed.

      – The result is failed.
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Unit zabbix-agent.service entered failed state.
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service failed.
      Aug 17 14:56:31 iZbp16tsxqsldoqa02e0qbZ polkitd[475]: Registered Authentication Agent for unix-process:26491:1753366515 (system bus name :1.76140 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UT
      Aug 17 14:56:31 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Starting Zabbix Agent...
      – Subject: Unit zabbix-agent.service has begun start-up
      – Defined-By: systemd
      – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

      – Unit zabbix-agent.service has begun starting up.
      Aug 17 14:56:31 iZbp16tsxqsldoqa02e0qbZ zabbix_agentd[26507]: [120B blob data]
      Aug 17 14:56:31 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service: control process exited, code=exited status=1
      Aug 17 14:56:31 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Failed to start Zabbix Agent.
      – Subject: Unit zabbix-agent.service has failed
      – Defined-By: systemd
      – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

      – Unit zabbix-agent.service has failed.

      – The result is failed.
      Aug 17 14:56:31 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Unit zabbix-agent.service entered failed state.
      Aug 17 14:56:31 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service failed.
      Aug 17 14:56:31 iZbp16tsxqsldoqa02e0qbZ polkitd[475]: Unregistered Authentication Agent for unix-process:26491:1753366515 (system bus name :1.76140, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
      lines 2666-2717/2717 (END)
      – Unit zabbix-agent.service has begun starting up.
      Aug 17 14:56:11 iZbp16tsxqsldoqa02e0qbZ zabbix_agentd[26455]: [120B blob data]
      Aug 17 14:56:11 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service: control process exited, code=exited status=1
      Aug 17 14:56:11 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Failed to start Zabbix Agent.
      – Subject: Unit zabbix-agent.service has failed
      – Defined-By: systemd
      – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

      – Unit zabbix-agent.service has failed.

      – The result is failed.
      Aug 17 14:56:11 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Unit zabbix-agent.service entered failed state.
      Aug 17 14:56:11 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service failed.
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service holdoff time over, scheduling restart.
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Starting Zabbix Agent...
      – Subject: Unit zabbix-agent.service has begun start-up
      – Defined-By: systemd
      – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

      – Unit zabbix-agent.service has begun starting up.
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ zabbix_agentd[26489]: [120B blob data]
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service: control process exited, code=exited status=1
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Failed to start Zabbix Agent.
      – Subject: Unit zabbix-agent.service has failed
      – Defined-By: systemd
      – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

      – Unit zabbix-agent.service has failed.

      – The result is failed.
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Unit zabbix-agent.service entered failed state.
      Aug 17 14:56:21 iZbp16tsxqsldoqa02e0qbZ systemd[1]: zabbix-agent.service failed.
      Aug 17 14:56:31 iZbp16tsxqsldoqa02e0qbZ polkitd[475]: Registered Authentication Agent for unix-process:26491:1753366515 (system bus name :1.76140 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF
      Aug 17 14:56:31 iZbp16tsxqsldoqa02e0qbZ systemd[1]: Starting Zabbix Agent...
      – Subject: Unit zabbix-agent.service has begun start-up
      – Defined-By: systemd
      – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

      [root@iZbp16tsxqsldoqa02e0qbZ zabbix]# python3
      Python 3.4.4 (default, Aug 17 2018, 14:24:59)
      [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux
      Type "help", "copyright", "credits" or "license" for more information.

            Unassigned Unassigned
            finch zhangjian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: