Re: How to read log files

2010-04-04 Thread Wayne

Dotan Cohen wrote:

Mar 28 09:14:19 sfd kernel: [ Â  Â 0.00] Linux version
2.6.31-20-generic (bui...@palmer) (gcc version 4.4.1 (Ubuntu
4.4.1-4ubuntu8) ) #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 (Ubuntu
2.6.31-20.58-generic)

Doesn't look like Debian to me...



Ubuntu is a Debian derivative, Jordan. I think that the name is an
ancient African word for Debian for noobies.



Dotan

I just came across a page that might help you with the subject.

http://wiki.debian.org/TroubleShooting

I was looking for something else and stumbled across this.

HTH

Wayne


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bb91a27.5020...@gmail.com



Re: How to read log files

2010-04-04 Thread Dotan Cohen
 I just came across a page that might help you with the subject.

 http://wiki.debian.org/TroubleShooting

 I was looking for something else and stumbled across this.


Thanks, Wayne! That page has already been read and bookmarked long ago!


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/q2x880dece01004041615g42714739vea27d126a3757...@mail.gmail.com



Re: How to read log files

2010-04-02 Thread Jari Fredriksson
On 2.4.2010 1:45, Dotan Cohen wrote:
 etcgrep () { grep -ir $1 /etc/* ; }
 sgrep () { grep -ir $1 /usr/src/linux ; }
 xgrep () { grep -i $1 $(echo $PATH | tr :  ) ; }

 
 Nice. I'm having a hard time understanding that last one, but I will
 figure it out. Thanks!
 
 

It looks like it takes the PATH environment variable and splits it into
multiple tokens (directories), and grep will search in *every* directory
included in PATH.

-- 
http://www.iki.fi/jarif/

You will have a long and boring life.



signature.asc
Description: OpenPGP digital signature


Re: How to read log files

2010-04-02 Thread Dotan Cohen
 xgrep () { grep -i $1 $(echo $PATH | tr :  ) ; }

 Nice. I'm having a hard time understanding that last one, but I will
 figure it out. Thanks!

 It looks like it takes the PATH environment variable and splits it into
 multiple tokens (directories), and grep will search in *every* directory
 included in PATH.


Without understanding the bash, that is exactly what I had suspected.
The $PATH variable and the : character is what gave it away.

Thanks!


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/t2r880dece01004021159gc7fb0336n16daceff61559...@mail.gmail.com



Re: How to read log files

2010-04-01 Thread Mike McClain
On Wed, Mar 31, 2010 at 08:00:18PM +0300, Dotan Cohen wrote:
 
 That was quite what I asked: where could I read more on the subject?
 Dead trees are fine!
 
Hi Dotan,
These are trivial but handy for chasing down where messages come from:

etcgrep () { grep -ir $1 /etc/* ; }
sgrep () { grep -ir $1 /usr/src/linux ; }
xgrep () { grep -i $1 $(echo $PATH | tr :  ) ; }

HTH,
Mike
-- 
Satisfied user of Linux since 1997.
O ascii ribbon campaign - stop html mail - www.asciiribbon.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100401180553.ga12...@playground.mcclains.net



Re: How to read log files

2010-04-01 Thread Dotan Cohen
 etcgrep () { grep -ir $1 /etc/* ; }
 sgrep () { grep -ir $1 /usr/src/linux ; }
 xgrep () { grep -i $1 $(echo $PATH | tr :  ) ; }


Nice. I'm having a hard time understanding that last one, but I will
figure it out. Thanks!


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/k2y880dece01004011545ib070cf4etea171ad499da1...@mail.gmail.com



Re: How to read log files

2010-03-31 Thread Dotan Cohen
 As a last resort buy a book on linux that covers the subject you want
 answered.


That was quite what I asked: where could I read more on the subject?
Dead trees are fine!

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/x2q880dece01003311000r3f94fd73s513c19b01f191...@mail.gmail.com



Re: How to read log files

2010-03-31 Thread Stephen Powell
On Wed, 31 Mar 2010 13:00:18 -0400 (EDT), Dotan Cohen wrote
 Wayne wrote:
 As a last resort buy a book on linux that covers the subject you want
 answered.

 
 That was quite what I asked: where could I read more on the subject?
 Dead trees are fine!

I think I understand Dotan's point.  I cut my teeth in the IBM mainframe
environment.  (And indeed, I still work in that environment.)  In the
historical IBM mainframe environment, there were messages manuals.
*Every message* produced by the operating system, as well as IBM
program products, was listed in a messages manual somewhere.  It gave
an explanation of the message, its fields, what it meant, and in the
case of error messages, what to do about it.  (Sometimes the what to
do about it part was not too helpful, such as correct the error and
resubmit the job.  But anyway ...)  By contrast, most Linux messages
are not documented anywhere, unless you call C source code documentation.

Someone who comes from the mainframe environment experiences culture shock
when he tries to look up a message.  There's usually no place to look
it up.  Yes, you can search the internet, but often you find it in
a post about an unrelated topic and the message is not explained.

I don't think we're in Kansas anymore, Toto.

-- 
  .''`. Stephen Powellzlinux...@wowway.com
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/640907089.363281270058423013.javamail.r...@md01.wow.synacor.com



Re: How to read log files

2010-03-31 Thread Wayne

Dotan Cohen wrote:

As a last resort buy a book on linux that covers the subject you want
answered.



That was quite what I asked: where could I read more on the subject?
Dead trees are fine!



Based on your previous posts, I take that to mean

Tell me what book I should get to teach me how to fix errors I may 
encounter on my linux system.


My answer is  Google is your friend.  I am not about to do your research
for you.  This is a Help List but it is expected that the person asking 
for help has already tried other sources before asking for help here.


Microsoft help costs $, unless you search the net for answers.  Linux 
answers, be they good or bad, abound on the net.  Ask the right question 
and you will get answers.  You should have learned some of the questions 
to ask, Google, by all of the answers you have received in this thread.


Happy researching

Wayne


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bb3a7e1.3010...@gmail.com



Re: How to read log files

2010-03-31 Thread Sjoerd Hardeman
Wayne schreef:
 Dotan Cohen wrote:
 As a last resort buy a book on linux that covers the subject you want
 answered.


 That was quite what I asked: where could I read more on the subject?
 Dead trees are fine!

 
 Based on your previous posts, I take that to mean
 
 Tell me what book I should get to teach me how to fix errors I may
 encounter on my linux system.
 
 My answer is  Google is your friend.  I am not about to do your research
 for you.  This is a Help List but it is expected that the person asking
 for help has already tried other sources before asking for help here.
 
 Microsoft help costs $, unless you search the net for answers.  Linux
 answers, be they good or bad, abound on the net.  Ask the right question
 and you will get answers.  You should have learned some of the questions
 to ask, Google, by all of the answers you have received in this thread.
Sure, a very efficient way to do some bug hunting is just to copy-paste
the error in google's search, after removing some locale file names that
are probably not unique. Usually that gives you a this is wrong, and
this is what you can do about is. When it doesn't is when the fun begins...

Sjoerd



signature.asc
Description: OpenPGP digital signature


Re: How to read log files

2010-03-31 Thread Sjoerd Hardeman
Jochen Schulz schreef:
 Camaleón:
 Then he could use a serial port and instruct kernel (at boot time) to log 
 out there. I've done that one time, with a VM machine and another linux 
 (openSUSE).

 What are the recommended steps to achieve this in Debian?
 
 /etc/inittab contains examples. (Legacy) Grub can be configured to work
 over a serial line, too. Don't know about grub-pc.
Probably slightly easier: are you doing a specific job/connecting a
specific piece of hardware/... when your kernel panics? That can give
you a clue where to look.

Sjoerd



signature.asc
Description: OpenPGP digital signature


Re: How to read log files

2010-03-31 Thread Dotan Cohen
 Based on your previous posts, I take that to mean

 Tell me what book I should get to teach me how to fix errors I may encounter
 on my linux system.


No, a better paraphrase might be: Please suggest resources (both
online and off) from where I could learn more about Debian-based
systems, specifically how to parse log files for errors.


 My answer is  Google is your friend.  I am not about to do your research
 for you.  This is a Help List but it is expected that the person asking for
 help has already tried other sources before asking for help here.


Actually I ask so that I could research the problems myself. My
ultimate goal is to learn, not to fix any particular problem.


 Microsoft help costs $, unless you search the net for answers.  Linux
 answers, be they good or bad, abound on the net.  Ask the right question and
 you will get answers.  You should have learned some of the questions to ask,
 Google, by all of the answers you have received in this thread.


If I were having a specific problem, then yes I would google it. But
googling for how to parse linux log files is not getting me any good
learning material. I had hoped that the gurus here might have come
across such a resource in their travels.


 Happy researching


Thanks, Wayne, it often is!


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/y2z880dece01003311327oc0e68601qde834a929b10a...@mail.gmail.com



Re: How to read log files

2010-03-31 Thread Dotan Cohen
 Sure, a very efficient way to do some bug hunting is just to copy-paste
 the error in google's search, after removing some locale file names that
 are probably not unique. Usually that gives you a this is wrong, and
 this is what you can do about is. When it doesn't is when the fun begins...


For very liberal values of fun!


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/l2u880dece01003311328of52f3012we781101cafc1c...@mail.gmail.com



Re: How to read log files

2010-03-31 Thread Jari Fredriksson
On 28.3.2010 19:33, Jari Fredriksson wrote:
 On 28.3.2010 19:11, Dotan Cohen wrote:
 Is there a good resource for learning to read log files such as the
 kernel log, messages, dmesg, and such? I have been googling but found
 nothing really comprehensive yet understandable for a newbie. Where
 should I start?

 
 Install logwatch, it will email you the essentials of daily logs.
 

Another one is logcheck. It will mail hourly much more log messages, but
tries to eliminate noise. It has a plugin mechanism to include filters
for the exclusion. Still posts plenty.

-- 
http://www.iki.fi/jarif/

You possess a mind not merely twisted, but actually sprained.



signature.asc
Description: OpenPGP digital signature


Re: How to read log files

2010-03-30 Thread Dotan Cohen
 Mar 28 09:14:19 sfd kernel: [    0.00] Linux version
 2.6.31-20-generic (bui...@palmer) (gcc version 4.4.1 (Ubuntu
 4.4.1-4ubuntu8) ) #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 (Ubuntu
 2.6.31-20.58-generic)

 Doesn't look like Debian to me...


Ubuntu is a Debian derivative, Jordan. I think that the name is an
ancient African word for Debian for noobies.

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/880dece01003301317n6f8ce942rae1850aff7e32...@mail.gmail.com



Re: How to read log files

2010-03-30 Thread Dotan Cohen
 My 2 cents: read and understand log messages when you are in trouble,
 if system is working well, you don't need understand these logs.


But in that case I would not be able to identify the faulty lines in
the log. I need to know what a healthy log looks like, to diagnose a
sick one.


 google and source code are your friend if you want to understand a
 message which you don't understand


At this point I would be googling all the messages, so if there is a
fine manual which documents the messages in /var/log/messages then
that would be great.

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/880dece01003301319p2b776abao907b975093335...@mail.gmail.com



Re: How to read log files

2010-03-30 Thread Dotan Cohen
 I cannot see any panic or kernel oops in that log.

 What is the exact behaviour are you seeing?


The machine is locking up and the keyboard leds flash.


 I think you should be a little more verbose so people can understand the
 big picture and make any suggestion.


I was asking in the general sense because my intention is to learn,
not to have someone do the legwork for me!

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/880dece01003301320r298e6e3awc5a547f4304a8...@mail.gmail.com



Re: How to read log files

2010-03-30 Thread Camaleón
On Tue, 30 Mar 2010 23:20:59 +0300, Dotan Cohen wrote:

 I cannot see any panic or kernel oops in that log.

 What is the exact behaviour are you seeing?


 The machine is locking up and the keyboard leds flash.

When the machine locks, try to access it via ssh.
 
 I think you should be a little more verbose so people can understand
 the big picture and make any suggestion.


 I was asking in the general sense because my intention is to learn, not
 to have someone do the legwork for me!

Yours was a very broad question, nothing that can be answered with yes 
or no or go here, read and you're done ;-)

Understanding the bottoms of a kernel oops or panic is something only 
kernel devels or people with high knowledge of C can achieve.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.03.30.20.28...@gmail.com



Re: How to read log files

2010-03-30 Thread Wayne

Dotan Cohen wrote:

My 2 cents: read and understand log messages when you are in trouble,
if system is working well, you don't need understand these logs.



But in that case I would not be able to identify the faulty lines in
the log. I need to know what a healthy log looks like, to diagnose a
sick one.



If you are not having a problem right now, look at the logs now.  If you 
are having a problem, look at the logs.  It does not take a Rocket 
Scientist to spot a problem.



google and source code are your friend if you want to understand a
message which you don't understand



At this point I would be googling all the messages, so if there is a
fine manual which documents the messages in /var/log/messages then
that would be great.



You spend more time giving excuses then necessary.  Look in the log of 
interest until you see something that looks like it might be different 
then the other entries, then Google it.  If, and only if, google doesn't 
give you an answer you can't understand, use this list.


As a last resort buy a book on linux that covers the subject you want 
answered.


Ok, ready for more excuses..

Wayne


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bb26294.3050...@gmail.com



Re: How to read log files

2010-03-30 Thread Jochen Schulz
Camaleón:
 On Tue, 30 Mar 2010 23:20:59 +0300, Dotan Cohen wrote:
 
 I cannot see any panic or kernel oops in that log.
 
 What is the exact behaviour are you seeing?
 
 The machine is locking up and the keyboard leds flash.
 
 When the machine locks, try to access it via ssh.

That won't work when the keyboard LEDs are flashing. That's a clear sign
for a kernel panic. We just haven't seen the corresponding log messages,
though. Maybe they don't make it to the syslog befor the kernel locks
up.

J.
-- 
If I could travel in time I would show my minidisc to the Romans and
become Caesar until the batteries ran out.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: How to read log files

2010-03-30 Thread Camaleón
On Tue, 30 Mar 2010 23:19:29 +0200, Jochen Schulz wrote:

 Camaleón:

 The machine is locking up and the keyboard leds flash.
 
 When the machine locks, try to access it via ssh.
 
 That won't work when the keyboard LEDs are flashing. That's a clear sign
 for a kernel panic. We just haven't seen the corresponding log messages,
 though. Maybe they don't make it to the syslog befor the kernel locks
 up.

Then he could use a serial port and instruct kernel (at boot time) to log 
out there. I've done that one time, with a VM machine and another linux 
(openSUSE).

What are the recommended steps to achieve this in Debian?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.03.30.21.37...@gmail.com



Re: How to read log files

2010-03-30 Thread Jochen Schulz
Camaleón:
 
 Then he could use a serial port and instruct kernel (at boot time) to log 
 out there. I've done that one time, with a VM machine and another linux 
 (openSUSE).
 
 What are the recommended steps to achieve this in Debian?

/etc/inittab contains examples. (Legacy) Grub can be configured to work
over a serial line, too. Don't know about grub-pc.

J.
-- 
I hate myself but have no clear idea why.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: How to read log files

2010-03-29 Thread Dotan Cohen
 Why don't you just post what you've got? You will most probably find
 someone who can explain not only where the problem is but how to read
 it, too.


In the general sense my intention was to learn and not lazy-web the
list. But you are right, attached is /var/log/messages.

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


messages
Description: Binary data


Re: How to read log files

2010-03-29 Thread Jordan Metzmeier
On Mon, Mar 29, 2010 at 3:06 AM, Dotan Cohen dotanco...@gmail.com wrote:
 Why don't you just post what you've got? You will most probably find
 someone who can explain not only where the problem is but how to read
 it, too.


 In the general sense my intention was to learn and not lazy-web the
 list. But you are right, attached is /var/log/messages.


Mar 28 09:14:19 sfd kernel: [0.00] Linux version
2.6.31-20-generic (bui...@palmer) (gcc version 4.4.1 (Ubuntu
4.4.1-4ubuntu8) ) #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 (Ubuntu
2.6.31-20.58-generic)

Doesn't look like Debian to me...


-- 
Jordan Metzmeier


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/50e5edd51003290416g2e5f4d30o1a44bf8d508a4...@mail.gmail.com



Re: How to read log files

2010-03-29 Thread Javier Barroso
On Mon, Mar 29, 2010 at 9:06 AM, Dotan Cohen dotanco...@gmail.com wrote:
 Why don't you just post what you've got? You will most probably find
 someone who can explain not only where the problem is but how to read
 it, too.


 In the general sense my intention was to learn and not lazy-web the
 list. But you are right, attached is /var/log/messages.

My 2 cents: read and understand log messages when you are in trouble,
if system is working well, you don't need understand these logs.

google and source code are your friend if you want to understand a
message which you don't understand

Regards,


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/81c921f31003290438u5c365d39w4a5a0d8cd2bf2...@mail.gmail.com



Re: How to read log files

2010-03-29 Thread Camaleón
On Mon, 29 Mar 2010 10:06:46 +0300, Dotan Cohen wrote:

 Why don't you just post what you've got? You will most probably find
 someone who can explain not only where the problem is but how to read
 it, too.


 In the general sense my intention was to learn and not lazy-web the
 list. But you are right, attached is /var/log/messages.

I cannot see any panic or kernel oops in that log.

What is the exact behaviour are you seeing? 

I think you should be a little more verbose so people can understand the 
big picture and make any suggestion.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.03.29.11.47...@gmail.com



Re: How to read log files

2010-03-29 Thread ceduardo
2010/3/28 Dotan Cohen dotanco...@gmail.com:
 Is there a good resource for learning to read log files such as the
 kernel log, messages, dmesg, and such? I have been googling but found
 nothing really comprehensive yet understandable for a newbie. Where
 should I start?

 Thanks!

You can use tail console-command, you can do this:
tail -f /var/log/messages
And this one show you step by step the log line.
 --
 Dotan Cohen

 http://bido.com
 http://what-is-what.com


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/880dece01003280911p5718199fna6c24b90071ad...@mail.gmail.com





-- 
ceduardo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/c068e3701003290650x7aey5ae15e7688fc4...@mail.gmail.com



Re: How to read log files

2010-03-29 Thread Jordan Metzmeier
On Mon, Mar 29, 2010 at 9:50 AM, ceduardo
carlos.eduardo.vir...@gmail.com wrote:
 2010/3/28 Dotan Cohen dotanco...@gmail.com:
 Is there a good resource for learning to read log files such as the
 kernel log, messages, dmesg, and such? I have been googling but found
 nothing really comprehensive yet understandable for a newbie. Where
 should I start?

 Thanks!

 You can use tail console-command, you can do this:
 tail -f /var/log/messages
 And this one show you step by step the log line.
 --
 Dotan Cohen


We are still supporting this guy, even though it appears he is not
running Debian?

-- 
Jordan Metzmeier


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/50e5edd51003290654q7f580276n965123b93b38d...@mail.gmail.com



Re: How to read log files

2010-03-29 Thread Jari Fredriksson
On 28.3.2010 19:11, Dotan Cohen wrote:
 Is there a good resource for learning to read log files such as the
 kernel log, messages, dmesg, and such? I have been googling but found
 nothing really comprehensive yet understandable for a newbie. Where
 should I start?
 

As has been said, Google is maybe the best answer here. I doubt there is
any comprehensive tutorial, because (while the log file has some -
logger dependent - format), the messages themselves are not standardized.

Each and every application (including Linux kernel) has it's own
messages, and if Googling the message (with the app name added to the
query) does not help; there is always the source code *horror*.

Indeed, while I try to use Debian packaged applications, I remember
having downloaded the source code and tried to understand what the code
is trying to do. While this may sound horrendous, it is IMHO still miles
better than what we have in Windows. Windows log messages are usually
totally bizarre, and there is in most cases not anything in Google, nor
source code available.

Understanding log files is - while not art - sometimes hard labor.
Google, mailing lists, Usenet, those are good to have. Often some one
else has seen the same message, and internet remembers. It has quite
good memory, and it does not pay much to ask.

If you still insist, and want to be the über authority and master of all
log messages, feel free to begin your journey. Such a master most
certainly will get paid as a system admin, and enjoy great salary!

-- 
http://www.iki.fi/jarif/

If you laid all of our laws end to end, there would be no end.
-- Mark Twain



signature.asc
Description: OpenPGP digital signature


Re: How to read log files

2010-03-29 Thread Camaleón
On Mon, 29 Mar 2010 09:54:40 -0400, Jordan Metzmeier wrote:

 We are still supporting this guy, even though it appears he is not
 running Debian?

I support the person and his question, he seems to be an active (and 
productive) Debian user.

Anyway, Debian and Ubuntu share almost the same source.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.03.29.14.39...@gmail.com



Re: How to read log files

2010-03-29 Thread Jordan Metzmeier
On Mon, Mar 29, 2010 at 10:39 AM, Camaleón noela...@gmail.com wrote:
 On Mon, 29 Mar 2010 09:54:40 -0400, Jordan Metzmeier wrote:

 We are still supporting this guy, even though it appears he is not
 running Debian?

 I support the person and his question, he seems to be an active (and
 productive) Debian user.

 Anyway, Debian and Ubuntu share almost the same source.

 Greetings,


You don't think that the ubuntu-users mailing list would be more
appropriate? debian.org lists the following as based on Debian:

Collax
Damn Small Linux
Debian JP
Embedded Debian, http://www.emdebian.org/
Euronode, http://euronode.org/
Floppix, http://floppix.ccai.com/
Gibraltar
GNUstep LIVE CD, http://io.debian.net/~tar/gnustep/
grml
Kanotix, http://www.kanotix.com/
KNOPPIX, http://www.knopper.net/knoppix/
Linspire, http://www.linspire.com/
Linex
MEPIS, http://www.mepis.org/
M.N.I.S. OCERA, http://www.mnis.fr/en/products/
Morphix
PureOS
RAYS LX
Stonegate
Ubuntu
Univention Corporate Server
Xandros


Do we support all of them here on debian-users list?

-- 
Jordan Metzmeier


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/50e5edd51003290810r3c34213fif1848fe073efe...@mail.gmail.com



Re: How to read log files

2010-03-29 Thread Camaleón
On Mon, 29 Mar 2010 11:10:34 -0400, Jordan Metzmeier wrote:

 On Mon, Mar 29, 2010 at 10:39 AM, Camaleón wrote:

 I support the person and his question, he seems to be an active (and
 productive) Debian user.

 Anyway, Debian and Ubuntu share almost the same source.



 You don't think that the ubuntu-users mailing list would be more
 appropriate? debian.org lists the following as based on Debian:
 
 Collax
 Damn Small Linux
 Debian JP

(...)
 
 Do we support all of them here on debian-users list?

The question the user posted fits with Debian (and many other 
distributions) and can be of interest for many of us, so, yes, I think 
there is no problem to support (or offering advice) these kind of 
questions.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.03.29.15.18...@gmail.com



Re: How to read log files

2010-03-29 Thread Celejar
On Mon, 29 Mar 2010 13:38:14 +0200
Javier Barroso javibarr...@gmail.com wrote:

 On Mon, Mar 29, 2010 at 9:06 AM, Dotan Cohen dotanco...@gmail.com wrote:
  Why don't you just post what you've got? You will most probably find
  someone who can explain not only where the problem is but how to read
  it, too.
 
 
  In the general sense my intention was to learn and not lazy-web the
  list. But you are right, attached is /var/log/messages.
 
 My 2 cents: read and understand log messages when you are in trouble,
 if system is working well, you don't need understand these logs.

I think that, on the contrary, it's very important to get familiar with
the system's logs under normal conditions.  This way, when you do have
a problem, you'll know what's normal and what are the important lines.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100329112922.54fac8f3.cele...@gmail.com



Re: How to read log files

2010-03-29 Thread Lisi
On Monday 29 March 2010 16:18:12 Camaleón wrote:
 On Mon, 29 Mar 2010 11:10:34 -0400, Jordan Metzmeier wrote:
  On Mon, Mar 29, 2010 at 10:39 AM, Camaleón wrote:
  I support the person and his question, he seems to be an active (and
  productive) Debian user.
 
  Anyway, Debian and Ubuntu share almost the same source.
 
  You don't think that the ubuntu-users mailing list would be more
  appropriate? debian.org lists the following as based on Debian:
 
  Collax
  Damn Small Linux
  Debian JP

 (...)

  Do we support all of them here on debian-users list?

 The question the user posted fits with Debian (and many other
 distributions) and can be of interest for many of us, so, yes, I think
 there is no problem to support (or offering advice) these kind of
 questions.

I have certainly benefitted from the question and its answers.  And Debian is 
my distro of choice.

I would take semantic exception to the questions about we supporting him; 
since Jordan is most certainly not supporting Dotan, and the first person is 
therefore inaccurate and inappropriate.

Lisi


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201003291710.03053.lisi.re...@gmail.com



Re: How to read log files

2010-03-29 Thread Javier Barroso
On Mon, Mar 29, 2010 at 5:29 PM, Celejar cele...@gmail.com wrote:
 On Mon, 29 Mar 2010 13:38:14 +0200
 Javier Barroso javibarr...@gmail.com wrote:

 On Mon, Mar 29, 2010 at 9:06 AM, Dotan Cohen dotanco...@gmail.com wrote:
  Why don't you just post what you've got? You will most probably find
  someone who can explain not only where the problem is but how to read
  it, too.
 
 
  In the general sense my intention was to learn and not lazy-web the
  list. But you are right, attached is /var/log/messages.

 My 2 cents: read and understand log messages when you are in trouble,
 if system is working well, you don't need understand these logs.

 I think that, on the contrary, it's very important to get familiar with
 the system's logs under normal conditions.  This way, when you do have
 a problem, you'll know what's normal and what are the important lines.
That is correct too, logs he sent was kernel logs. kernel logs are
generally difficult to understand (they are hardware related) and in
normal conditions they won't tell you nothing important until you want
play with the system deeper

However, application logs are easier to understand (I think) and it is
good reading it like you said

Regards,


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/81c921f31003291204mba09425r13402b2830814...@mail.gmail.com



Re: How to read log files

2010-03-28 Thread Jari Fredriksson
On 28.3.2010 19:11, Dotan Cohen wrote:
 Is there a good resource for learning to read log files such as the
 kernel log, messages, dmesg, and such? I have been googling but found
 nothing really comprehensive yet understandable for a newbie. Where
 should I start?
 

Install logwatch, it will email you the essentials of daily logs.

-- 
http://www.iki.fi/jarif/

You may be recognized soon.  Hide.



signature.asc
Description: OpenPGP digital signature


Re: How to read log files

2010-03-28 Thread T o n g
On Sun, 28 Mar 2010 19:11:03 +0300, Dotan Cohen wrote:

 Is there a good resource for learning to read log files such as the
 kernel log, messages, dmesg, and such? I have been googling but found
 nothing really comprehensive yet understandable for a newbie. Where
 should I start?

When I used RedHat, it has a nice logfile GUI viewer so as for you to 
view all system logs in a central place. I am yet to find such tools 
under Debian.

So far, multitail is the closest that I can find:

Description: view multiple logfiles windowed on console
 multitail lets you view one or multiple files like the original tail
 program.
 .
 The difference is that this program creates multiple windows on
 your console (with ncurses). It can also use colors while displaying the
 logfiles for faster recognizing which lines are important and which are
 not.
 .
 It is optimized for terminal-sessions through slow links.
Tag: interface::text-mode, role::program, scope::utility, 
uitoolkit::ncurses, use::viewing, works-with::logfile

Comments?

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/hoo66t$7d...@dough.gmane.org



Re: How to read log files

2010-03-28 Thread Dotan Cohen
 Install logwatch, it will email you the essentials of daily logs.


Thanks. Actually, my goal is to understand what I am reading in the
logs, not just to have the error pointed out. But I will install
logwatch for sure.

Right now, I am fighting with a kernel panicking machine. Instead of
googling each and every line of the messages log, I would love a
reference that would explain what common lines mean, with an emphasis
on error lines. But I can find no such resource!


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com

Please CC me if you want to be sure that I read your message. I do not
read all list mail.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/880dece01003281116n5c96d758g3653e0955fcdf...@mail.gmail.com



Re: How to read log files

2010-03-28 Thread Jari Fredriksson
On 28.3.2010 21:16, Dotan Cohen wrote:
 Install logwatch, it will email you the essentials of daily logs.

 
 Thanks. Actually, my goal is to understand what I am reading in the
 logs, not just to have the error pointed out. But I will install
 logwatch for sure.
 
 Right now, I am fighting with a kernel panicking machine. Instead of
 googling each and every line of the messages log, I would love a
 reference that would explain what common lines mean, with an emphasis
 on error lines. But I can find no such resource!
 

I have no problem reading log files. But I have 25 years behind of
reading those.

Maybe you are not entitled to use a computer in the first place?

-- 
http://www.iki.fi/jarif/

You're definitely on their list.  The question to ask next is what list
it is.



signature.asc
Description: OpenPGP digital signature


Re: How to read log files

2010-03-28 Thread Odd

Jari Fredriksson wrote:

On 28.3.2010 21:16, Dotan Cohen wrote:

Install logwatch, it will email you the essentials of daily logs.


Thanks. Actually, my goal is to understand what I am reading in the
logs, not just to have the error pointed out. But I will install
logwatch for sure.

Right now, I am fighting with a kernel panicking machine. Instead of
googling each and every line of the messages log, I would love a
reference that would explain what common lines mean, with an emphasis
on error lines. But I can find no such resource!



I have no problem reading log files. But I have 25 years behind of
reading those.


Thank you for pointing that out to us. We're soo impressed. Not.


Maybe you are not entitled to use a computer in the first place?


Maybe you're not entitled to be on this list, since you're such a dick?

--
Odd


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bafa3ee.2070...@runbox.no



Re: How to read log files

2010-03-28 Thread Dotan Cohen
On 28 March 2010 21:26, Jari Fredriksson ja...@iki.fi wrote:
 I have no problem reading log files. But I have 25 years behind of
 reading those.


Excellent. I hope to have a similar thing to say in the year 2035.


 Maybe you are not entitled to use a computer in the first place?


Maybe I am not. Maybe I should just keep my self blissfully ignorant
and not learn how diagnose problems with the computer. Maybe I should
just go dig a hole in the ground and lay down right there.

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/880dece01003281224y1214c90cn1a5aaa83f10f4...@mail.gmail.com



Re: How to read log files

2010-03-28 Thread Dotan Cohen
 I have no problem reading log files. But I have 25 years behind of
 reading those.

 Thank you for pointing that out to us. We're soo impressed. Not.


Actually, at this point I still though that Jari was trying to help.
He did make a very helpful suggestion at the beginning of the thread.
I must be naive.


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/880dece01003281226n4104e4f3vffe37265567d3...@mail.gmail.com



Re: How to read log files

2010-03-28 Thread Eduardo M KALINOWSKI

On 03/28/2010 01:11 PM, Dotan Cohen wrote:

Is there a good resource for learning to read log files such as the
kernel log, messages, dmesg, and such? I have been googling but found
nothing really comprehensive yet understandable for a newbie. Where
should I start?
   


I doubt you'll find a single resource explaining log messages of 
different programs/subsystems. You might find in a program's 
documentation some information about its logs, but you'll have to search 
for each software.


Is there anything in particular that you are looking for, or anything in 
particular you are having trouble with?



--
Pray:  To ask that the laws of the universe be annulled in behalf of a single
petitioner confessedly unworthy.
-- Ambrose Bierce

Eduardo M KALINOWSKI
edua...@kalinowski.com.br


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bafada2.2000...@kalinowski.com.br



Re: How to read log files

2010-03-28 Thread Dotan Cohen
 I doubt you'll find a single resource explaining log messages of different
 programs/subsystems. You might find in a program's documentation some
 information about its logs, but you'll have to search for each software.

 Is there anything in particular that you are looking for, or anything in
 particular you are having trouble with?


Actually, I am interested in Kernel logs and messages at the moment.
For individual software such as Apache, TFM is usually rather
adequate. But where is TFM for the kernel?

Thanks!

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/880dece01003281239k223afc23wd25ff15b469d3...@mail.gmail.com



Re: How to read log files

2010-03-28 Thread Thierry Chatelet
On Sunday 28 March 2010 20:26:19 Jari Fredriksson wrote:
Out of space man!!!
Here is an extract from wikipedia:
In 1991 while attending the University of Helsinki, Torvalds began to work on 
a non-commercial replacement for MINIX,[19] which eventually became the Linux 
kernel.
So even if linux was born the very same year; 1991 + 25 =  2016

Anyway, that was just for fun; we are better not to answer the dumb question 
this guy will post.
Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201003282151.07196.tchate...@free.fr



Re: How to read log files

2010-03-28 Thread Jochen Schulz
Dotan Cohen:
 
 Actually, I am interested in Kernel logs and messages at the moment.
 For individual software such as Apache, TFM is usually rather
 adequate. But where is TFM for the kernel?

Why don't you just post what you've got? You will most probably find
someone who can explain not only where the problem is but how to read
it, too.

J.
-- 
I frequently find myself at the top of the stairs with absolutely
nothing happening in my brain.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: How to read log files

2010-03-28 Thread John Hasler
Thierry Chatelet writes:
 So even if linux was born the very same year; 1991 + 25 =  2016

Log files have been around for just a _little_ bit longer than Linux
has.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87eij4qj9b@thumper.dhh.gt.org



Re: How to read log files

2010-03-28 Thread Ron Johnson

On 2010-03-28 14:24, Dotan Cohen wrote:

On 28 March 2010 21:26, Jari Fredriksson ja...@iki.fi wrote:

I have no problem reading log files. But I have 25 years behind of
reading those.



Excellent. I hope to have a similar thing to say in the year 2035.



Maybe you are not entitled to use a computer in the first place?



Maybe I am not. Maybe I should just keep my self blissfully ignorant
and not learn how diagnose problems with the computer. Maybe I should
just go dig a hole in the ground and lay down right there.



Pencil and paper have none of the problems of the computer.

Anyway, slogging through the mud and muck with Google in one hand 
and a rifle in the other is how I've made the most progress...


--
History does not long entrust the care of freedom to the weak
or the timid.  Dwight Eisenhower


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bafc38a.2090...@cox.net



Re: How to read log files

2010-03-28 Thread Lisi
On Sunday 28 March 2010 19:26:19 Jari Fredriksson wrote:
 Maybe you are not entitled to use a computer in the first place?

I hope that this was a semantic/language error, and not an unpleasant comment.  
But it reads more like a very unpleasant comment.
Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201003282313.00126.lisi.re...@gmail.com