PDA

View Full Version : Problem starting 1.1beta5 server


Siegfried
17-01-2006, 20:37
Hi,

I have just recompiled a new version of zabbix to upgrade a 1.1b2 installation. I ran the MySQL upgrade scripts, but when I then try to start the server, it dies during the startup process.

Here's the output from the logs:

002873:20060117:111959 Starting zabbix_server. ZABBIX 1.1beta5.
002875:20060117:111959 server #1 started [Alerter]
002876:20060117:111959 server #2 started [Timer]
002878:20060117:111959 server #3 started [ICMP pinger]
002880:20060117:111959 server #4 started [Escalator]
002887:20060117:111959 server #6 started [Trapper]
002889:20060117:111959 server #7 started [Trapper]
002891:20060117:111959 server #8 started [Trapper]
002893:20060117:111959 server #9 started [Trapper]
002895:20060117:111959 server #10 started [Trapper]
002873:20060117:111959 server #0 started [Housekeeper]
002882:20060117:111959 server #5 started [Poller. SNMP:ON]
002873:20060117:111959 One child process died. Exiting ...
002873:20060117:111959 Got QUIT or INT or TERM or PIPE signal. Exiting...
002878:20060117:111959 Got QUIT or INT or TERM or PIPE signal. Exiting...
002876:20060117:111959 Got QUIT or INT or TERM or PIPE signal. Exiting...
002880:20060117:111959 Got QUIT or INT or TERM or PIPE signal. Exiting...
002887:20060117:111959 Got QUIT or INT or TERM or PIPE signal. Exiting...
002895:20060117:111959 Got QUIT or INT or TERM or PIPE signal. Exiting...
002887:20060117:111959 Cannot kill process. PID=[2876] [No such process]
002887:20060117:111959 Cannot kill process. PID=[2878] [No such process]
002887:20060117:111959 Cannot kill process. PID=[2882] [No such process]
002895:20060117:111959 Cannot kill process. PID=[2876] [No such process]
002887:20060117:111959 Cannot remove PID file [/var/lib/zabbix/zabbix_server.pid] [No such file or directory]
002895:20060117:111959 Cannot kill process. PID=[2878] [No such process]
002895:20060117:111959 Cannot kill process. PID=[2882] [No such process]
002895:20060117:111959 Cannot remove PID file [/var/lib/zabbix/zabbix_server.pid] [No such file or directory]
002889:20060117:111959 Got QUIT or INT or TERM or PIPE signal. Exiting...
002889:20060117:111959 Cannot kill process. PID=[2876] [No such process]
002889:20060117:111959 Cannot kill process. PID=[2878] [No such process]
002889:20060117:111959 Cannot kill process. PID=[2880] [No such process]
002889:20060117:111959 Cannot kill process. PID=[2882] [No such process]
002891:20060117:111959 Got QUIT or INT or TERM or PIPE signal. Exiting...
002889:20060117:111959 Cannot kill process. PID=[2887] [No such process]
002889:20060117:111959 Cannot remove PID file [/var/lib/zabbix/zabbix_server.pid] [No such file or directory]
002891:20060117:111959 Cannot kill process. PID=[2876] [No such process]
002891:20060117:111959 Cannot kill process. PID=[2878] [No such process]
002891:20060117:111959 Cannot kill process. PID=[2880] [No such process]
002893:20060117:111959 Got QUIT or INT or TERM or PIPE signal. Exiting...
002891:20060117:111959 Cannot kill process. PID=[2882] [No such process]
002891:20060117:111959 Cannot kill process. PID=[2887] [No such process]
002893:20060117:111959 Cannot kill process. PID=[2876] [No such process]
002893:20060117:111959 Cannot kill process. PID=[2878] [No such process]
002875:20060117:111959 Got QUIT or INT or TERM or PIPE signal. Exiting...
002893:20060117:111959 Cannot kill process. PID=[2880] [No such process]
002891:20060117:111959 Cannot remove PID file [/var/lib/zabbix/zabbix_server.pid] [No such file or directory]
002893:20060117:111959 Cannot kill process. PID=[2882] [No such process]
002893:20060117:111959 Cannot kill process. PID=[2887] [No such process]
002893:20060117:111959 Cannot kill process. PID=[2889] [No such process]
002893:20060117:111959 Cannot remove PID file [/var/lib/zabbix/zabbix_server.pid] [No such file or directory]


This installation is on a RHEL3 box. Any idea as to what could be causing this or how to resolve?

Thanks!

Siegfried
17-01-2006, 20:38
Here is the strace on it (sorry for 3 posts, character limitation):
old trace removed

Siegfried
19-01-2006, 17:48
Any clues?

At first I thought it might be related to the socket, since it seems to get an error there, but I try just replacing my 1.1b5 directory with the 1.1b2 and everything works fine. Switching back to 1.1b5 does the same thing.

I've also tried recompiling and I get the same problem again.

Thanks again

Alexei
20-01-2006, 09:52
The strace does not show any problems. ZABBIX forks himself, so you should run strace with an option to follow childs (forks).

Siegfried
20-01-2006, 16:14
Hi,

Thanks for the tip Alexei. I have attached a new strace file, which included the childs. I'll try to find some help on my side to look into it, but if anyone notices something in this, I'll appreciate the help :)

Thanks again!