klogd on VE ubuntu 8.10 gets stuck on launch [message #34105] |
Tue, 02 December 2008 09:49  |
skliarie
Messages: 1 Registered: December 2008
|
Junior Member |

|
|
Hi,
I upgraded an existing VE based on ubuntu 8.04 to ubuntu 8.10 (x86_64) and now the klogd startup script gets stuck on launch. I can disable it using update-rc.d, but then other services (that require presence of logger) get stuck.
strace of klogd (when invoked as "/sbin/klogd -- -P /var/run/klogd/kmsg -d") shows following:
...
open("/var/run/klogd/klogd.pid", O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGTERM, {0x401d20, [TERM], SA_RESTORER|SA_RESTART, 0x7f6bfe329060}, {SIG_DFL}, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f6bfe87e770) = 2282
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({300, 0},
Note the SIGCHLD line above, this does not happen on real machine.
No failcnt's get increased and nothing is reported on the host node (2.6.24-19-openvz x86_64).
--
Arie
|
|
|
Re: klogd on VE ubuntu 8.10 gets stuck on launch [message #34335 is a reply to message #34105] |
Wed, 24 December 2008 07:28  |
MeneM
Messages: 2 Registered: November 2008 Location: Amsterdam
|
Junior Member |
|
|
Agreed and seeing the same thing happening on Ubuntu 8.04 - 64 bit.
Is does not happen with the 8.04 - 32 bit.
I was doing an "safe-upgrade" of both types, and only the 64bit version received a new klogd version.
I was able to circumvent the issue by removing klogd (syslogd is automaticly also removed) and installing syslog-ng instead.
Not the best solution, but for some perhaps it is.
|
|
|