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 /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
