LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Start up logs? (https://www.linuxquestions.org/questions/linux-newbie-8/start-up-logs-385331/)

1veedo 11-21-2005 08:06 PM

Start up logs?
 
When I started up it had to clean /files and then right under, in red, was [FAILED]. I have no idea if it failed cleaning /files (which seems to be working) or failed doing something else but I cannot find the log. I've tried
Code:

grep -rlni '/files' /var/log
But it didn't find anything.

The startup "screen" is in ctrl + alt + F8 but I only see the last messages. Is there a log? Or is there a way to scroll through the messages or even save the output from the terminal "tty8?"



In other news my websites stoped workign and now displays 403 forbidden. I can assure you the user is azevedo (me) and it's chmoded 777 recursively. It worked like three days ago and stoped. So far none of the threads here have fixed it.

chrism01 11-21-2005 11:19 PM

In the dir /var/log, you should find the files: dmesg & message.
dmesg is startup log, messages contains almost everything else logged, sometimes what you want will be there.
Note that this is true for RH distros and I believe most others. You'll just have to search a bit if Ubuntu decided to put them elsewhere...

bigrigdriver 11-22-2005 12:24 AM

You could try the dmesg command, like this: dmesg | tail -n 20. i.e., pipe the output of dmesg through tail (to see the tail-end of the log file); -n 20 says to look at only the last 20 lines. Increase the number of lines as needed.

You could also look at messages, localmessages, and any file starting with 'mail'. Some of them require root authority to access them.

cd /var log
cat messages | tail -n 30 (do the same for the other log files).

My bet is that dmesg, if you look far enough into it, will show you what [FAILED].

danimalz 11-22-2005 12:27 AM

easier just to

dmesg | less

then u can simply scroll.

why bother typing all that other stuff.


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