Ad Widget

Collapse

Failed to start Zabbix Agent (Ubuntu 16.04)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imadedwis
    Junior Member
    • Dec 2017
    • 7

    #1

    Failed to start Zabbix Agent (Ubuntu 16.04)

    Dear All,

    I need to solve this issue.
    Now I'm getting this error in my server, and the errors like these :

    root@VN-MBREC-DB-01-CB:/etc/zabbix# systemctl status zabbix-agent.service
    ● zabbix-agent.service - Zabbix Agent
    Loaded: loaded (/lib/systemd/system/zabbix-agent.service; disabled; vendor preset: enabled)
    Active: activating (auto-restart) (Result: exit-code) since Mon 2017-12-11 15:23:18 WIB; 1s ago
    Process: 1361 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=127)

    Dec 11 15:23:18 VN-MBREC-DB-01-CB systemd[1]: Failed to start Zabbix Agent.
    Dec 11 15:23:18 VN-MBREC-DB-01-CB systemd[1]: zabbix-agent.service: Unit entered failed state.
    Dec 11 15:23:18 VN-MBREC-DB-01-CB systemd[1]: zabbix-agent.service: Failed with result 'exit-code'.
    root@VN-MBREC-DB-01-CB:/etc/zabbix#

    Is there anyone can help me ?
    Please help me to solve this issue.
    Thank you

    Regards
    I Made
    Last edited by imadedwis; 11-12-2017, 10:39. Reason: there is no say thank you
  • Mechanix
    Member
    • Jan 2017
    • 92

    #2
    What´s in your /var/log/zabbix/zabbix-agent.log file?

    Comment

    • allexpetrov
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2017
      • 361

      #3
      Installed from packages or from sources?

      The command systemctl status not always shows the full information. You need to issue:
      Code:
      journalctl unit zabbix-agent
      So what is the error?

      Regards,
      Alex!

      Comment

      • imadedwis
        Junior Member
        • Dec 2017
        • 7

        #4
        Hi, Alex
        thanks for this replied.

        Originally posted by allexpetrov
        Installed from packages or from sources?

        The command systemctl status not always shows the full information. You need to issue:
        Code:
        journalctl unit zabbix-agent
        So what is the error?

        Regards,
        Alex!
        the command couldn't sho anything.
        Please see this attached file capture.

        What should I do now ?

        Thank you
        regards
        I Made
        Attached Files

        Comment

        • imadedwis
          Junior Member
          • Dec 2017
          • 7

          #5
          Hi Mechanix,
          Thanks for your respond.

          Originally posted by Mechanix
          What´s in your /var/log/zabbix/zabbix-agent.log file?
          I couldn't this file log under /var/log/zabbix, what should I do now ?

          Thanks
          Regards,
          I Made

          Comment

          • allexpetrov
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • May 2017
            • 361

            #6
            Sorry for mistake,
            Code:
            journalctl -u zabbix-agent

            Comment

            • frankagricola
              Junior Member
              • Dec 2017
              • 4

              #7
              i would reinstall the agent

              #remove agent
              apt-get remove zabbix-agent

              #reinstall agent
              wget http://repo.zabbix.com/zabbix/3.4/ub...xenial_all.deb
              dpkg -i zabbix-release_3.4-1+xenial_all.deb
              apt-get update
              apt-get install zabbix-agent

              #edit settings
              vi /etc/zabbix/zabbix_agentd.conf

              #start agent
              service zabbix-agent start

              Comment

              Working...