Ad Widget

Collapse

Zabbix Agent crashes every now and then.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manu_leo
    Junior Member
    • Oct 2015
    • 6

    #1

    Zabbix Agent crashes every now and then.

    Hi Expert, I recently upgrade to zabbix 3.0.4 both for the server and the client. However now I am facing issues where the agent is crashing every now and then. If I check the logs for zabbix_agent, I see the below lines

    zabbix_agentd [3528]: [file:'log.c',line:238] lock failed: [22] Invalid argument
    zabbix_agentd [3522]: [file:'log.c',line:238] lock failed: [22] Invalid argument
    zabbix_agentd [3529]: [file:'log.c',line:238] lock failed: [22] Invalid argument
    zabbix_agentd [3525]: [file:'log.c',line:238] lock failed: [22] Invalid argument
    zabbix_agentd [3526]: [file:'log.c',line:238] lock failed: [22] Invalid argument
    zabbix_agentd [3527]: [file:'log.c',line:238] lock failed: [22] Invalid argument


    After this crash, when I restart zabbix-agent, I see normal logs as below :-

    29159:20160916:124648.642 Starting Zabbix Agent [laxmi.optionfintech.com]. Zabbix 3.0.4 (revision 61185).
    29159:20160916:124648.642 **** Enabled features ****
    29159:20160916:124648.642 IPv6 support: YES
    29159:20160916:124648.642 TLS support: YES
    29159:20160916:124648.642 **************************
    29159:20160916:124648.642 using configuration file: /etc/zabbix/zabbix_agentd.conf
    29159:20160916:124648.643 agent #0 started [main process]
    29167:20160916:124648.643 agent #5 started [active checks #1]
    29165:20160916:124648.643 agent #3 started[listener #2]
    29166:20160916:124648.644 agent #4 started[listener #3]
    29164:20160916:124648.646 agent #2 started[listener #1]
    29163:20160916:124648.649 agent #1 started [collector]


    I tried researching on the net, and not seeing anything specific to this error. Appreciate if you could guide me in the right direction and help me in resolving this.

    Thanks for all your help in advance.
  • manu_leo
    Junior Member
    • Oct 2015
    • 6

    #2
    Hi Experts, can I get some help and if you can point me in the right direction, that would be really appreciated.

    Zabbix-Agent still crashing with the same error.

    Thanks for all the help.

    Comment

    • guzzijason
      Senior Member
      • Dec 2015
      • 106

      #3
      My suspicion is that this may be the result of some interaction with logrotate policy that is clobbering the file? Perhaps this issue is similar:



      __Jason

      Comment

      Working...