1834878 Members
2230 Online
110071 Solutions
New Discussion

Sendmail not running

 
SOLVED
Go to solution
sycncs
Advisor

Sendmail not running

Dear Folks

I tried starting sendmail /sbin/init.d/sendmail start, it says "Sendmail has already been started".
But there is nothing running when I grep sendmail.
I stop it and restart again, but still nothing happens.
Can someone enlighten me on this please?
3 REPLIES 3
Michael Tully
Honored Contributor
Solution

Re: Sendmail not running

The system probably thinks it is still running.

Try:
# /sbin/init.d/sendmail stop
# rm /etc/mail/sendmail.pid
# /sbin/init.d/sendmail start

Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: Sendmail not running

Hi,

Add "set -x" to the beginning of the script and run it again and see what debugging information you get.

Probably there is a parse pid file existing. Look at /etc/mail/sendmail.pid, delete it and then start sendmail script again.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
sycncs
Advisor

Re: Sendmail not running

Hey Guys,

Appreciate your help!
It works fine now. Thanks!!