LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2010, 01:31 AM   #1
raskin_ece
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Rep: Reputation: 0
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
 
Old 07-18-2010, 01:38 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Hi,

Welcome to LQ
Could you please give us the error messages you receive?
Which distribution are you using?
 
Old 07-19-2010, 12:17 AM   #3
raskin_ece
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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??
 
Old 07-19-2010, 12:18 AM   #4
raskin_ece
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
In a word server goes hanged after sendmail checking during startup.
 
Old 07-19-2010, 01:04 PM   #5
Hidden Windshield
Member
 
Registered: Jul 2010
Distribution: Fedora
Posts: 65

Rep: Reputation: 26
Some versions of sendmail take a long time to start up.

What happens if you just wait 10 minutes or so?
 
Old 07-19-2010, 11:56 PM   #6
raskin_ece
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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....
 
Old 07-20-2010, 12:11 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You could disable sendmail at boot.
Then start sendmail, and see for error messages.
 
Old 07-20-2010, 03:03 AM   #8
zjoske
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Rep: Reputation: 2
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount CD/DVD caused reboot/hanged server. Bedouin Linux - Hardware 5 01-24-2009 05:10 PM
Server not hanged but unable to SSH omega7577 Linux - Newbie 3 09-14-2007 01:21 AM
GPM mouse server fails on boot startup and disables keyboard!! linuxgeek01 Linux - General 1 10-30-2006 09:51 AM
my print server hanged. karmakid Red Hat 0 05-09-2006 04:33 AM


All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration