LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-28-2003, 04:53 PM   #1
Coldmiser
Member
 
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 36

Rep: Reputation: 15
/etc/rc.d/boot.d/S11boot.klog causing boot problems


I'm hoping someone can help me. I was having a problem booting my box, it would stop at an error "Creating /var/log/boot.msg" and the only way I could continue with the boot is "Ctrl-C" (thankfully that worked).

I put echo statements in my /etc/rc.d/boot file and tracked the problem down to a file called /etc/rc.d/boot.d/S11boot.klog

I renamed that file to /etc/rc.d/boot.d/.S11boot.klog (therefore hiding it) and now I can boot and no longer get any error messages.

My question is...... What does the S11boot.klog file do and what happens if I don't load it?

So far, everything seems to be working fine, but I can't imagine the machine wanting to load a file that did NOTHING so I have to be missing some sort of functionality now.

Specifics probably help so I'm running an AMD 266/128M SuSE 8.2 But I didn't think it was version (or distribution specific)

Thanks in advance for your help.
 
Old 09-29-2003, 05:25 AM   #2
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
The stuff you mentioned starts the kernel logging. This is not noting, rather quiet useful...

I suggest tracking down your problem again and this time try to get the real problem. Is the dir "/var/log/" existent? Is it writeable? Is the file boot.msg writeable? Is your partition mounted as RW? Look at the file "S11boot.klog" to see what it exactly does, and try again, and again, and again..... :-P

Greetz
 
Old 09-29-2003, 11:14 AM   #3
Coldmiser
Member
 
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks raven,

You were right, I didn't track it down far enough (/me clunks his head on a wall). Turns out that S11boot.klog was just a link to /etc/rc.d/boot.klog.

When I tore boot.klog apart, I tracked my problem down to 1 line: /sbin/klogd -s -o -n -f /var/log/boot.msg

I checked /var/log and it's definately writable. boot.msg is there and I can add to it or overwrite it completely.

I looked at the man page for klogd and I didn't see any problems with how it was being called.

Anything else I can check to see what the problem is?

(the really cool part is I'm amazed I was able to track it down as far as I have been so far - linux doesn't seem all that tough, just a bit confusing still...)
 
Old 09-30-2003, 05:19 AM   #4
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
Erm yes...

Look at the boot.klogd file again. Is there a command to create the /var/log/ dir? Maybe boot even hangs after that step. I dont really see what the problem might be.

Anyway, you can check wether /proc is mounted before klogd starts.

And of cource, you could send the script, or at least the relevant parts of it.

Maybe i can tell you more then.

G

raven
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WGT155T causing slackware to hang at boot dave`2005 Linux - Wireless Networking 9 10-17-2005 02:24 PM
USB causing hang on boot/detection mortoray Linux - Hardware 3 07-25-2005 05:53 PM
iptables causing system to hang @ boot blackdragonblood Linux - General 2 06-23-2005 05:57 PM
Boot loader causing problems booting CDs DownloadTHIS Fedora 1 05-27-2005 02:37 PM
Watchdog during boot-up causing reboot dhodun Linux - Software 0 01-22-2001 11:47 AM


All times are GMT -5. The time now is 09:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration