LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-12-2005, 06:04 PM   #1
ministre
LQ Newbie
 
Registered: Jul 2003
Posts: 28

Rep: Reputation: 15
Retrieving boot messages


Hello,
My following question applies in general to any distribution
When a linux system boots up, after the kernel is loaded, the different services are loaded example network services, xinetd, sshd, sendmail etc ... and the status of [OK] or [FAIL] appears beside each service as it is loaded. Are those status messages logged anywhere ?

Usually my system loads pretty quick and I have many services that are loaded and the screen goes by pretty fast that I do not have time to read and make note of any errors that occurs. I tried to look in /var/log/messages and dmesg but those messages are different.

Does anyone know where those "user space" services boot up messages are logged ?

thanks
ministre
 
Old 01-12-2005, 06:26 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Try looking at /var/log/messages or /var/log/syslog. Also you can type dmesg | more and it will print it out for you.
 
Old 01-14-2005, 12:57 AM   #3
ministre
LQ Newbie
 
Registered: Jul 2003
Posts: 28

Original Poster
Rep: Reputation: 15
Actually no dmesg and /var/log/messages do not show the messages that I want.
dmesg and /var/log/messages will display stuff like kernel printks or other logging functions made by other programs

What I am talking about are the set of services that get started when the linux system boots up like example:

Starting sendmail [OK]
Starting sshd [OK]
etc ...

sometimes one of those services fail and it scrolls by so fast that you cannot see.
Example, if your network card is not configured correctly then the bringing up of eth0 will fail and sendmail will take foreever to start. But if you not quick and read quickly that it was eth0 that failed, you'll be left in the dark and not know what went wrong.
 
Old 01-14-2005, 01:09 AM   #4
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
well i have a file /etc/services but that just seems to list them. what about the boot logs in /var/logs ?

actually i just looked at the service file closer and at the end it does said if it succeeded or not

whoops sorry that was actually oneof the boot logs i had on my terminal. lol

Last edited by dr_zayus69; 01-14-2005 at 01:26 AM.
 
  


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
retrieving msgs during boot mathfeel Linux - Software 2 02-19-2005 09:26 PM
fetchmail retrieving old messages sanjiv Linux - Software 3 09-15-2004 04:51 AM
Remotely viewing boot messages during boot? flysideways Linux - Networking 6 05-11-2004 01:35 PM
Boot messages not the same as "dmesg" or "/var/log/messages"? massai Linux - General 5 03-10-2004 12:18 AM
Boot up messages kilobravo Linux - General 6 02-26-2002 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:37 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
Open Source Consulting | Domain Registration