LinuxQuestions.org
Help answer threads with 0 replies.
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-21-2005, 08:06 PM   #1
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

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

Last edited by 1veedo; 11-21-2005 at 08:08 PM.
 
Old 11-21-2005, 11:19 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,225

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
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...
 
Old 11-22-2005, 12:24 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,739

Rep: Reputation: 298Reputation: 298Reputation: 298
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].
 
Old 11-22-2005, 12:27 AM   #4
danimalz
Member
 
Registered: Jul 2005
Location: West Coast South, USA
Distribution: debian 3.1
Posts: 255

Rep: Reputation: 30
easier just to

dmesg | less

then u can simply scroll.

why bother typing all that other stuff.
 
  


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
making a minimalist window manager start up with a particular user logs on JackSmith Linux - Newbie 2 05-22-2005 10:53 AM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
Start Up Logs HELP PLEASE rjneeley Linux - Software 8 06-14-2004 12:15 PM
Gui wont start cant read logs what to do shaneblyth Linux - Newbie 1 12-03-2003 01:08 AM
Getting a program to start with root privileges when a user logs in. joeking Linux - Security 4 10-24-2003 11:47 AM


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

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