[ZBX-2242] zabbix agent dies when processing logrt items Created: 2010 Mar 30  Updated: 2017 May 30  Resolved: 2010 Mar 31

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 1.8.2
Fix Version/s: 1.8.3

Type: Incident report Priority: Major
Reporter: Aleksandrs Saveljevs Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

HP-UX, probably Solaris as well


Issue Links:
Duplicate
is duplicated by ZBX-2073 zabbix agent crash: munmap_chunk(): i... Closed
is duplicated by ZBX-2549 Zabbix agent (UNIX) dies after proces... Closed
is duplicated by ZBX-2558 Windows agent crashes when rotating l... Closed

 Description   

The following error occurs on HP-UX:

19643:20100330:190107.883 In process_active_checks()
19643:20100330:190107.883 In process_logrt() filename [/var/log//testlog.[0-9]*] lastlogsize [0] mtime [0]
19643:20100330:190107.883 In split_filename()
19643:20100330:190107.883 In split_string()
19643:20100330:190107.883 "part1" [/var/log/]
19643:20100330:190107.883 "part2" [testlog.[0-9]*]
19643:20100330:190107.883 In init_logfiles()
19643:20100330:190107.884 We are in the *nix directory reading cycle.
19643:20100330:190107.884 Cannot process read entry [/var/log//.].
19643:20100330:190107.884 Cannot process read entry [/var/log//..].
19643:20100330:190107.884 Cannot process read entry [/var/log//SOME_DIR].
19643:20100330:190107.884 [/var/log//zabbix_agentd.log] does not match [testlog.[0-9]*].
19643:20100330:190107.884 Adding the file [/var/log//testlog.0] to logfiles.
19643:20100330:190107.884 In add_logfile() filename: [testlog.0] mtime: [1269943210]
19638:20100330:190107.885 One child process died (PID:19643). Exiting ...
19638:20100330:190107.886 zbx_on_exit() called.
19638:20100330:190109.890 Zabbix Agent stopped. Zabbix 1.8.2 (revision 11211).



 Comments   
Comment by Aleksandrs Saveljevs [ 2010 Apr 01 ]

Fixed in pre-1.8.3 in r11276.

Generated at Fri Mar 29 12:31:27 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.