LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Starting system log daemon problem (https://www.linuxquestions.org/questions/linux-from-scratch-13/starting-system-log-daemon-problem-14407/)

trub 02-16-2002 08:53 PM

Starting system log daemon problem
 
sorry to use this as a trouble-shooting forum but.... I finished the LFS book and now i am trying to restart into my new LFS distro. Everything seems to look okay while the kernel is loading until it gets to "Starting system log daemon". It just sits there until i am forced to restart. I double checked my sysklogd.conf and everything looks okay.. is there anything im missing?

:newbie:

lfslinux 02-19-2002 12:11 PM

Re: Starting system log daemon problem
 
Quote:

Originally posted by trub
sorry to use this as a trouble-shooting forum but.... I finished the LFS book and now i am trying to restart into my new LFS distro. Everything seems to look okay while the kernel is loading until it gets to "Starting system log daemon". It just sits there until i am forced to restart. I double checked my sysklogd.conf and everything looks okay.. is there anything im missing?

:newbie:

check if there is a file /var/run/syslogd.pid and/or /var/run/klogd.pid

if syslogd doesn't eventually time out when it's stuck like that, you'll have to boot like this

LILO: lfskernel init=/bin/bash rw

this will start a shell rather than going through the usual bootscripts and it will mount the root filesystem read-write.

PS: the bootscripts that are used in the 3.2-rc1 version of the LFS-Book fix this problem by cleaning up stale files in certain dirs like /var/run /var/lock and so on. You may want to consult www.linuxfromscratch.org/view/3.2-rc1/


All times are GMT -5. The time now is 07:28 PM.