LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2005, 05:05 PM   #1
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
Is there a log for all the bootup messages?


If I have the following text during bootup,

* Initializing modules... [ok]
* Cleaning up ifupdown... [ok]
* Loading modules... [ok]
*Setting the system clock. [ok]..
* Setting up LVM Volume Groups... [ok]
*Starting Enterprise Volume Management System... [ok]
*Checking all file systems... [ok]
.
.
.
* Starting Comon Unix Printing system: cupsd [fail]
Starting OpenLDAP: running BDB recovery, slad - failed
The operation failed but no output was produced.
* Starting Samba daemons... [ok]
* Starging web server (Apache2)... [fail]

Is there a log for all these messages? I check with dmesg, but it does not have the all the output. In fact, correct me if I'm wrong, it does not have a log of the status of all the daemons (ok or fail).

Thanks !

PS. running on Debian Linux if that helps
 
Old 11-20-2005, 05:09 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,870

Rep: Reputation: 87
Usually /var/log/messages
 
Old 11-20-2005, 07:10 PM   #3
gnu2tux
Member
 
Registered: Nov 2005
Location: Scotland, UK
Distribution: Ubuntu
Posts: 32

Rep: Reputation: 15
or /var/log/syslog or for the really initial stuff, you usually have to do dmesg:

eg:

#dmesg > myfile.txt

look in myfile.txt for the output.
 
Old 11-20-2005, 09:43 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
The dmesg output is only messages generated by the kernel. The starting whatever [ok] like messages are generated by init, which is the first user level process started when the system is booted (it had PID 1 and all other user level processes, i.e. not kernel threads, are descendents of init). Offhand, I don't think init logs the failure or success messages anywhere, but it would be a useful thing. You can simply check your /etc/rc.d directory for the list of files to see what is being started on boot and then check what is actually running. To do this you'll need to understand how SysVInit works -- Googling around should help, but basically for most systems look at the symlinks in the /etc/rc.d/rcN.d directory, where N is the runlevel you boot into. The links that start with S are services to start when the system enters the runlevel.
 
  


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
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 07:39 PM
print bootup log messages when loggin in illwi11 Linux - General 1 10-13-2004 06:18 PM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 11:08 AM
bootup messages /var/log and sanity aus9 Slackware 4 01-31-2004 09:06 PM
syslog and firestarter - log messages to another file than messages mule Linux - Newbie 0 08-07-2003 04:35 AM


All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration