Re: /var/log/messages(dmesg) ?
On Tue, Feb 23, 2010 at 07:10:45AM -0500, Stephen Powell wrote:
> On Mon, 22 Feb 2010 23:58:47 -0500 (EST), Hadi Motamedi wrote:
> > On Mon, 22 Feb 2010 10:00:57 -0500, Stephen Powell wrote:
> >> On Mon, 22 Feb 2010 05:41:04 -0500 (EST), Hadi Motamedi wrote:
> >>> My Debian server got hung and when I tried to power cycle it,
> >>> I checked its /var/log/messages & /var/log/dmesg with respect to the time
> >>> of fault occurance to see what was really happened. But its 'messages'
> >>> log does not show anything recorded for about 30 minutes before its
> >>> recovery after power cycling. Can you please let me know where is I can
> >>> check to find the root cause of failure?
> >> You might try /var/log/syslog.
> > Thank you. It contains a lot of info. Please let me to ask you if
> > I can have it on my Red Hat server as well? Is it just dedicated to
> > Debian, as my Red Hat server does not contain /var/log/syslog?
> Red Hat is not supported on this list. And I don't know the answer.
> There is probably something equivalent in Red Hat, or at least it is
> possible to get the equivalent. But please don't ask Red Hat support
> questions on a Debian forum.
On a Centos 5.4 machine: look at /etc/syslog.conf which will tell you
what's logged where.
By default, Red Hat appears to break up its logs into many more files.
This list is primarily for Debian, though some of us who also use Red Hat
may occasionally offer assistance to people moving across to and unfamiliar
As suggested from time to time, please learn to ask smart questions -
For further and better support for Red Hat machines:
If you have a current Red Hat subscription, contact Red Hat.
If you don't have a current Red Hat subscription for support, pay for
one and they will provide you with paid for support. That's what they're
there for and why they train, pay for and provide staff dedicated to
supporting their product.
If you can't obtain/afford support from Red Hat, convert your
machines to running the equivalent CentOS release and monitor the CentOS
support lists, wikis and other support resources yourself.
[www.centos.org should provide a good start.]
This list and others like it served from debian.org will provide you
with ready support for Debian but we can't, unfortunately, provide
assistance for every Linux query for every Linux flavour, though we may
endeavour to try where the questioner has already exhausted primary
resources. The clue to the majority of our expertise does lie in the
mailing list name :)
Oh, and, in case you didn't already know GIYF - Google is your friend -
Query: "syslog file location in Red Hat Linux"
Answer: 5. Quick HOWTO - Troubleshooting Linux with Syslog - would
probably have given you the answer here.
All the best
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
> Archive: 2104689238.14410681266927045713.JavaMail.email@example.com">http://lists.debian.org/2104689238.14410681266927045713.JavaMail.firstname.lastname@example.org