> Date: Wed, 30 Jul 2014 19:35:13 +0000 (UTC) > From: "Michael F. Trombley jr." <[email protected]> > To: LFS Support List <[email protected]> > Subject: Re: [lfs-support] LFS 7.5 klogd issue > > > > This happens when I first turn the computer on. > Klogd hangs after syslogd is started. > When I try to start klogd from the command-line and do a ps aux | grep klogd > it shows the process is defunct. > /var/log/kern.log do exists. > Directory permissions are 755 for /var/log. > Permissions for kern.log are 664. > The klogd process is not currently running. > The contents of /etc/syslog.conf are: > > > # Begin /etc/syslog.conf > > auth,authpriv.* -/var/log/auth.log > *.*;auth,authpriv.none -/var/log/sys.log > daemon.* -/var/log/daemon.log > kern.* -/var/log/kern.log > mail.* -/var/log/mail.log > user.* -/var/log/user.log > *.emerg * > > # End /etc/syslog.conf > This is right out of the LFS book. > > Thank yiu for you quick reply. > Mike > ----- Original Message ----- > > From: "Bruce Djjjjjjjubbs" <[email protected]>
(( ?? )) > To: "LFS Support List" <[email protected]> > Sent: Wednesday, July 30, 2014 1:24:41 PM > Subject: Re: [lfs-support] LFS 7.5 klogd issue > > Michael F. Trombley jr. wrote: > > Hello everyone. > > My system is based on LFS 7.5. > > I am having an issue with klogd version 1.5.0. > > When I start my system, sysklogd starts fine. > > but When klogd starts, it hangs. > > I have tried reinstalling sysklogd and klogd. > > I have also tried to reinstall the lfs bootscripts and tried to change the > > file permissions of the bootscripts, klogd, and the /var/log/kern.log file. > > When I try to run klogd from the command-line, it also hangs > > I have tried it with the following from the command-line: > > klogd -x > > klogd -x -f /var/log/kern.log > > klogd -s > > and finally, > > klogd -s -x -f /var/log/kern.log > > I also tried to recompile the sysklogd package with the delay for klogd > > enabled in the Makefile. > > I don't think I've heard of that before. What is the contents of Hmmm, wasn't/isn't there potential race condition issues between klgod & sysklogd on smp kernels ... sometimes needed/needs s'thing like: ---- . . echo -n "/usr/sbin/syslogd " /usr/sbin/syslogd # prevent syslogd/klogd race condition on SMP kernels if ps acx | grep -q udevd ; then while [ ! -e /dev/log ] ; do sleep 0 done else sleep 1 fi echo "/usr/sbin/klogd -c 3 -x" # '-c 3' = display level 'error' or higher messages on console # '-x' = turn off broken EIP translation /usr/sbin/klogd -c 3 -x . . ---- rgds, akh > /etc/syslog.conf? > > I assume you are trying to start klogd as root. > > Does /var/log exist? > > Is klogd already running? The boot script starts both syslogd and klogd. > > -- Bruce > -- > http://lists.linuxfromscratch.org/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > -- -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
