LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   reading the boot up log (https://www.linuxquestions.org/questions/linux-general-1/reading-the-boot-up-log-559327/)

TuxLives 06-05-2007 09:46 AM

reading the boot up log
 
Due to a mistake, I deleted some log files a while back. I was able to recreate a few critical ones (though I wonder why Linux doesn't just do this). But, when I reboot, there are another dozen or so listed on the screen saying that it has "FAILED, no such file/directory", but it goes so fast I cannot read it.

Where can I view this "boot up log"?

I used Mandriva's control panel to search Messages and Sys log, but neither contain the term "no such" nor "Failed" (in terms of the context I was looking).

Are these somewhere else or would these be listed in a log file I might have deleted??

Xian 06-05-2007 09:55 AM

In openSUSE they are located in /var/log/boot.msg. Maybe Mandriva has similar...

{BBI}Nexus{BBI} 06-05-2007 10:12 AM

Logs are kept in the following location /var/log you may need root access to view/edit them. There's an app called Krusader, it's a very good file manager that has a root mode. Use your package manager to install it.

TuxLives 06-05-2007 04:00 PM

Quote:

Originally Posted by {BBI}Nexus{BBI}
Logs are kept in the following location /var/log you may need root access to view/edit them. There's an app called Krusader, it's a very good file manager that has a root mode. Use your package manager to install it.

Well, that's what I mean, I used both control center and webmin to look and search and the string about failing to find the logs (EG: something about /news/???.log) is NOT recorded in the boot.log

I will look again when I get home to make sure.

{BBI}Nexus{BBI} 06-05-2007 04:10 PM

Quote:

Originally Posted by TuxLives
Well, that's what I mean, I used both control center and webmin to look and search and the string about failing to find the logs (EG: something about /news/???.log) is NOT recorded in the boot.log

I will look again when I get home to make sure.

Control Centre & Webmin does get broken from time to time. It would be better if you looked in the /var/log directory yourself to confirm the files are there or not.

TuxLives 06-08-2007 12:47 PM

Quote:

Originally Posted by {BBI}Nexus{BBI}
Control Centre & Webmin does get broken from time to time. It would be better if you looked in the /var/log directory yourself to confirm the files are there or not.

The files are there, they just do not contain all the lines that I see scroll by during bootup ?!?!?!?

DotHQ 06-08-2007 12:59 PM

What is the name of the file you are looking at in /var/log?

Does the file have other messages that you do see at boot-up?

TuxLives 06-08-2007 01:02 PM

Quote:

Originally Posted by DotHQ
What is the name of the file you are looking at in /var/log?

Does the file have other messages that you do see at boot-up?

I am not in front of that machine. I remember something like syslog and/or messages.

I believe that it did have other information in there. I'll have to look to make sure that the information in there is current and not older entries that just "look right"

jeenam 06-08-2007 06:39 PM

Perhaps /var/log/syslog, /var/log/messages, or output of 'dmesg'.

syg00 06-08-2007 08:10 PM

If the messages are from init scripts, they generally don't log.
See if your distro supports something like bootlog to see these.

TuxLives 06-11-2007 01:05 PM

Quote:

Originally Posted by syg00
If the messages are from init scripts, they generally don't log.
See if your distro supports something like bootlog to see these.

Aha. That could be.

Thanks.


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