Sendmail Fails and Server got Hanged during Startup
Hi All,
I am facing a problem that sendmail gets failed during startup and the server could not get forward after that server gets hanged.I tried for several times and finally i have to resetup the os.A few days back i also faced same problem with Squid gets failed after rebooting the server and the server cant get to login screens.How to get rid of this problem?Anyone please help. Raskin |
Hi,
Welcome to LQ Could you please give us the error messages you receive? Which distribution are you using? |
I am using Red Hat Enterprise Linux 5 and As it is happening during startup service checking and We can go further to login screen.So i couldn't able to see the error message.That moment i have to restart the server and Each time it stop responding after Sendmail service fail.What is the solution???can anyone tell??
|
In a word server goes hanged after sendmail checking during startup.
|
Some versions of sendmail take a long time to start up.
What happens if you just wait 10 minutes or so? |
It remains hanged after 10 or more minutes so each time i restart the server from that position it gets hanged on the same position....
|
You could disable sendmail at boot.
Then start sendmail, and see for error messages. |
If you are not able to boot you should disable sendmail in single user mode
boot into single user mode (at the grub splash screen, type "a" then " single") at the prompt in single user mode type "chkconfig --level 5 sendmail off". This will disable starting sendmail at boot. go into normal mode with "init 5" once booted: 1) check /var/log/boot.log 2) check /var/log/dmesg 3) check /var/log/lastlog also check the older versions. enable sendmail (should be done as root: "chkconfig --level 5 sendmail on") start sendmail (should be done as root: "service restart sendmail") check your logfiles again |
All times are GMT -5. The time now is 12:07 AM. |