Avatar of mu3tasem
mu3tasem
Flag for Saudi Arabia asked on

how to check The event viewer in Redhat Enterprise Linux 6.6 for a specific time

Hi ,

we have a redhat  enterprise server version 6.6 , this server goes down(power off)  at specific time. we want to review the events happened only at that day when server goes down  .. like how we check in windows

what is the commands needed to check and how to specify the day needed

thanks
LinuxRedhat

Avatar of undefined
Last Comment
arnold

8/22/2022 - Mon
arnold

Tail /var/log/messages
You have to search
ls -l /var/log/messages*
It will have   the date the file was last updated, so you need to look within the file dated after the event you are looking for.

Run
Last | more
Look to see whether there was a logged in session when the system powered off.

Is this a physical or virtual system?
If it is virtual, make sure the issue is not a result of host automatic backup that shuts down the VM before the backup, but forgets to turn the VM back on.

What is the interval that this happens?
mu3tasem

ASKER
it is physical system .

We are not sure about the interval as it happened early morning .. once we noted that application and DB are off we powered the server manually and accordingly the app/DB..

we want to know if the power off was by a human mistake or power issue as this the only server had this issue
ASKER CERTIFIED SOLUTION
arnold

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23