-
Incident report
-
Resolution: Fixed
-
Critical
-
1.8.1
-
None
-
Solaris 10, Generic_118833-33 sun4u sparc SUNW,UltraAX-i2
Zabbix 1.8.1 (revision 9702)
zabbix_server die after start and all zabbix_server process marks as <defunct>.
It happens when in DB exists host with enabled for monitoring.
If all hosts not monitoring - zabbix_server start and function until any host have monitoring enabled.
As I understand one zabbix process (DBCache) recieve SIGBUS singnal...
I found this bug with mysql database, but recompiling with postgresql doesn't help - the same bug.
Below are logs with prostgresql DB.
LOG info:
---------------------------------------
$ grep 14474 /var/log/zabbix/zabbix_server.log
14474:20100312:112825.254 server #1 started [DB Cache]
14474:20100312:112825.256 In main_dbconfig_loop()
14474:20100312:112825.258 Connect to the database
14474:20100312:112825.284 Query [txnlev:0] [select oid from pg_type where typname = 'bytea']
14474:20100312:112825.296 PostgreSQL Server version: 80402
14474:20100312:112825.297 Query [txnlev:0] [set escape_string_warning to off]
14474:20100312:112825.299 Syncing ...
14474:20100312:112825.301 In DCsync_confguration()
14474:20100312:112825.302 In DCsync_hosts()
14474:20100312:112825.303 Query [txnlev:0] [select hostid,proxy_hostid,host,useip,ip,dns,port,status,useipmi,ipmi_ip,ipmi_port,ipmi_authtype,ipmi_privilege,ipmi_username,ipmi_password,maintenance_status,maintenance_type,maintenance_from,errors_from,available,disable_until,snmp_errors_from,snmp_available,snmp_disable_until,ipmi_errors_from,ipmi_available,ipmi_disable_until from hosts where status in (0) and hostid between 000000000000000 and 099999999999999 order by hostid]
14471:20100312:112829.311 One child process died (PID:14474). Exiting ...
-----------------------------------
truss info:
------------
14474/1: open("/var/log/zabbix/zabbix_server.log", O_RDWR|O_APPEND|O_CREAT, 0666) = 7
14474/1: getpid() = 14474 [14471]
14474/1: fstat64(7, 0xFFBED6F8) = 0
14474/1: fstat64(7, 0xFFBED5A0) = 0
14474/1: ioctl(7, TCGETA, 0xFFBED684) Err#25 ENOTTY
14474/1: write(7, " 1 4 4 7 4 : 2 0 1 0 0".., 479) = 479
14474/1: close(7) = 0
14474/1: stat("/var/log/zabbix/zabbix_server.log", 0xFFBEECF8) = 0
14474/1: sigaction(SIGPIPE, 0xFFBFE9E0, 0xFFBFEA80) = 0
14474/1: send(6, " Q\0\001B5 s e l e c t ".., 438, 0) = 438
14474/1: sigaction(SIGPIPE, 0xFFBFE9E0, 0xFFBFEA80) = 0
14474/1: pollsys(0xFFBFEC20, 1, 0x00000000, 0x00000000) = 1
14474/1: recv(6, " T\0\003 0\01B h o s t i".., 16384, 0) = 1003
14474/1: semop(16777225, 0xFFBFEE58, 1) = 0
14474/1: Incurred fault #5, FLTACCESS %pc = 0x0003F9E4
14474/1: siginfo: SIGBUS BUS_ADRALN addr=0xF74000C4
14474/1: Received signal #10, SIGBUS [default]
14474/1: siginfo: SIGBUS BUS_ADRALN addr=0xF74000C4
14471/1: siginfo: SIGCLD CLD_KILLED pid=14474 status=0x000A
14471/1: kill(14474, SIGTERM) = 0
------------------------------------------------------------------