Ad Widget

Collapse

zabbix agent not start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomdf
    Junior Member
    • Mar 2019
    • 4

    #1

    zabbix agent not start

    Hi guys,
    i am running ubuntu 18.04 and my zabbix agent does not start anymore after making an apt-get update

    here is the error message

    Code:
    Mar 29 19:59:55 [URL="http://server1.cl-i.net/"]server1[/URL] systemd[1]: Starting Zabbix Agent...
    -- Subject: Unit zabbix-agent.service has begun start-up
    -- Defined-By: systemd
    -- Support: [URL]http://www.ubuntu.com/support[/URL]
    --
    -- Unit zabbix-agent.service has begun starting up.
    Mar 29 19:59:55 [URL="http://server1.cl-i.net/"]server1.[/URL] zabbix_agentd[24310]: zabbix_agentd [24310]: /etc/zabbix/zabbix_agentd.conf.d: [2] No such file or direct
    Mar 29 19:59:55 [URL="http://server1.cl-i.net/"]server1.[/URL] systemd[1]: zabbix-agent.service: Control process exited, code=exited status=1
    Mar 29 19:59:55 [URL="http://server1.cl-i.net/"]server1.[/URL] systemd[1]: zabbix-agent.service: Failed with result 'exit-code'.
    Mar 29 19:59:55 [URL="http://server1.cl-i.net/"]server1.[/URL] systemd[1]: Failed to start Zabbix Agent.
    -- Subject: Unit zabbix-agent.service has failed
    -- Defined-By: systemd
    -- Support: [URL]http://www.ubuntu.com/support[/URL]
    --
    -- Unit zabbix-agent.service has failed.
    --
    -- The result is RESULT.
    Mar 29 19:59:55 [URL="http://server1.cl-i.net/"]server1.[/URL] sshd[24305]: Failed password for root from 218.92.0.163 port 22240 ssh2
    Mar 29 19:59:55 [URL="http://server1.cl-i.net/"]server1.[/URL] sshd[24305]: error: maximum authentication attempts exceeded for root from 218.92.0.163 port 22240 ssh2 [
    Mar 29 19:59:55 [URL="http://server1.cl-i.net/"]server1.[/URL] sshd[24305]: Disconnecting authenticating user root 218.92.0.163 port 22240: Too many authentication fail
    Mar 29 19:59:55 [URL="http://server1.cl-i.net/"]server1.[/URL] sshd[24305]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.0.163
    Mar 29 19:59:55 [URL="http://server1.cl-i.net/"]server1.[/URL] sshd[24305]: PAM service(sshd) ignoring max retries; 6 > 3
    Mar 29 19:59:58 [URL="http://server1.cl-i.net/"]server1.[/URL] sshd[24311]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.
    lines 1911-1933/1933 (END)
    the error code of the agent logfile is:
    Code:
    8897:20190329:193918.230 no active checks on server [167.86.74.26:10051]: host [server1.cl-i.net] not found
    8897:20190329:194118.257 no active checks on server [167.86.74.26:10051]: host [server1.cl-i.net] not found
    8897:20190329:194318.282 no active checks on server [167.86.74.26:10051]: host [server1.cl-i.net] not found
    8893:20190329:194516.197 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ...
    8892:20190329:194516.197 Got signal [signal:15(SIGTERM),sender_pid:23150,sender_uid:0,reason:0]. Exiting ...
    8895:20190329:194516.197 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ...
    8897:20190329:194516.197 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ...
    8894:20190329:194516.198 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ...
    8896:20190329:194516.200 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ...
    8892:20190329:194516.201 Zabbix Agent stopped. Zabbix 3.0.12 (revision 73586).
    it worked until i made apt-get update but now i dont know why something changed

    when i reinstall zabbix agent i get the following error:
    Code:
    Process: 9809 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=1/FAILURE)
    dpkg: error processing package zabbix-agent (--configure):
    installed zabbix-agent package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    zabbix-agent
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    can anyone help me with my problem?
    thanks a lot in advance
    Tom
    Last edited by tomdf; 29-03-2019, 23:17.
  • andersna75
    Junior Member
    • Jun 2020
    • 1

    #2
    Same thing happened to me after a distro upgrade. I missed it in the terminal session but saw it on your post.
    Where the error says /etc/zabbix/zabbix_agentd.conf.d: [2] No such file or direct...
    the upgrade had renamed it to just /etc/zabbix/zabbix_agentd.d

    When I renamed the directory (with a mv) back to /etc/zabbix/zabbix_agentd.conf.d I was able to restart again.
    Hope that helps anyone who recently upgraded.

    Comment

    Working...