SIR,
KINDLY help in throwing more light on why a redhat linux server restarts itself and the possible solution to that for re occurence.thak you sir.

Which server is restart automatically apache dns dhcp ldap mail etc.............. first define this on
in linux lots of services are running any service is restarting or all pc is restarting

Take a look at /var/log for messages that occur shortly before the shutdown. That usually gives you a good indicator.

Take a look at /var/log for messages that occur shortly before the shutdown. That usually gives you a good indicator.

I agree that is a great place to start you might find the info your looking for in like /var/log/messages; /var/log/boot.log.

If it is a service like httpd or any other you might want to check out the other logs provided in those log directory.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.