Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-20-2005, 04:05 PM   #1
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, 04:09 PM   #2
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,890

Rep: Reputation: 90
Usually /var/log/messages
Old 11-20-2005, 06:10 PM   #3
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:


#dmesg > myfile.txt

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

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.


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

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

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