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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-28-2003, 03:53 PM
|
#1
|
Member
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 36
Rep:
|
/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.
|
|
|
09-29-2003, 04:25 AM
|
#2
|
Member
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297
Rep:
|
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
|
|
|
09-29-2003, 10:14 AM
|
#3
|
Member
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 36
Original Poster
Rep:
|
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...)
|
|
|
09-30-2003, 04:19 AM
|
#4
|
Member
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|