[syslog-ng] syslg-ng hangs on damnsmalllinux boot
Heiko Blume
Heiko at Blume.AG
Wed Nov 22 12:53:04 CET 2006
Hello,
telling from the process table there are no other logd's (see below).
But i have to admit that i do not know how to check for
the "/proc/kmsg" sources you mention. i haven't been into
logging like this before :-)
however, removing the
file("/proc/kmsg" log_prefix("kernel: "));
from the source has fixed the hanging problem.
but why? i certainly don't want to miss any messages...
thanks & regards, heiko
root 1 0 0 00:22 ? 00:00:04 init [2]
root 2 1 0 00:22 ? 00:00:00 [keventd]
root 3 1 0 00:22 ? 00:00:00 [ksoftirqd_CPU0]
root 4 1 0 00:22 ? 00:00:00 [kswapd]
root 5 1 0 00:22 ? 00:00:00 [bdflush]
root 6 1 0 00:22 ? 00:00:00 [kupdated]
root 12 1 0 00:22 ? 00:00:00 [khubd]
root 688 1 0 00:23 ? 00:00:00 /usr/sbin/sshd
root 1065 1 0 00:23 ? 00:00:00 /opt/fcron/sbin/fcron -b
root 1072 1 0 00:23 tty1 00:00:00 -bash
root 1073 1 0 00:23 tty2 00:00:00 /sbin/getty 115200 tty2
root 1074 1 0 00:23 tty3 00:00:00 /sbin/getty 115200 tty3
root 1075 1 0 00:23 tty4 00:00:00 /sbin/getty 115200 tty4
root 1103 688 0 00:24 ? 00:00:00 sshd: nx [priv]
root 1124 688 0 00:24 ? 00:00:00 sshd: dsl [priv]
root 1279 1276 0 00:24 ttyp0 00:00:00 bash
nobody 1294 1 0 12:46 ? 00:00:00
/opt/syslog-ng/sbin/syslog-ng --cfgfile=/opt/syslog-ng/etc/syslog-ng.conf
--chroot=/data/var/log --user=65534 --group=65534
> On Tue, 2006-11-21 at 23:27 +0100, Heiko Blume wrote:
>> Hello,
>>
>> i try to run syslog-ng 2.0.0 compiled with eventlog-0.25
>> and glib-2.12.4 on damnsmalllinux 3.0.1 (knoppix variant
>> based on linux 2.4.26).
>>
>> It is started in a script like this which is called from bootlocal.sh
>>
>> sudo /opt/syslog-ng/sbin/syslog-ng \
>> --cfgfile=/opt/syslog-ng/etc/syslog-ng.conf \
>> --chroot=/data/var/log \
>> --user=65534 \
>> --group=65534
>>
>> unfortunately it will hang causing mischief, like
>> programs blocking on it, so the boot script does not complete
>> and no login is possible at all.
>> it can only be killed with "-9".
>
> You don't have two /proc/kmsg sources or klogd and syslog-ng running in
> parallel, do you?
>
> --
> Bazsi
>
> _______________________________________________
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
--
Heiko at Blume.AG
Cisco Certified Network Professional
Cisco Certified Design Professional
Juniper Certified Internet Specialist
SUN Certified System Administrator
Office: +49.30/4426309
FAX: +49.30/48494354
Mobile: +49.178/6662342
www: http://www.blume.ag/IT/
PHY: Knaackstrasse 6, 10405 Berlin, DE
More information about the syslog-ng
mailing list