1836382 Members
2929 Online
110100 Solutions
New Discussion

sendmail error

 
Isaac_4
Frequent Advisor

sendmail error

Hi :
I having this error in the /var/adm/syslog.log

The problem is about the sendmail service

Oct 12 11:10:59 crrssv02 sendmail[342]: starting daemon (8.9.3 (PHNE_29773)): qu

eueing@00:30:00

Oct 12 11:10:59 crrssv02 sendmail[345]: starting daemon (8.9.3 (PHNE_29773)): SM

TP+queueing@01:00:00

Oct 12 11:11:00 crrssv02 sendmail[348]: starting daemon (8.9.3 (PHNE_29773)): SM

TP+queueing@01:00:00

Oct 12 11:11:00 crrssv02 sendmail[348]: NOQUEUE: SYSERR(root): opendaemonsocket:

cannot bind: Address already in use

Oct 12 11:11:00 crrssv02 sendmail[348]: problem creating SMTP socket

Pls Help me !!!
The time is gold
6 REPLIES 6
RAC_1
Honored Contributor

Re: sendmail error

The error message explains it all. Sendmail uses port 25 (by default)

On your system something is using port 25.
Check which process is using it.

netstat -an|grep 25

If you have lsof tool(list open files) on your machine, you can do
lsof -p tcp:25
lsof -p udp:25

Unless you change the port or stop the process using port 25, you will not be able to start sendmail.

Anil
There is no substitute to HARDWORK
Geoff Wild
Honored Contributor

Re: sendmail error

Is sendmail already running?

ps -ef |grep sendmail

Use lsof to see what is using port 25.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Isaac_4
Frequent Advisor

Re: sendmail error

these are my out from netstat but no see the port 25 in any way

# netstat -an | grep 25

tcp 0 0 *.49259 *.* LISTEN

tcp 0 0 *.49258 *.* LISTEN

# ps -ef | grep sendmail

root 854 795 4 14:33:58 pts/ta 0:00 grep sendmail

root 840 1 0 14:33:37 ? 0:00 /usr/sbin/sendmail -q30m

root 849 827 2 14:33:42 ? 0:04 /etc/iscan/sendmail

root 827 1 0 14:33:35 ? 0:04 /etc/iscan/sendmail

root 850 827 4 14:33:43 ? 0:04 /etc/iscan/sendmail

root 843 1 0 14:33:38 ? 0:00 sendmail: accepting connections

on port 19000

root 846 1 0 14:33:38 ? 0:00 /usr/sbin/sendmail -bd -q1h -C/e

tc/mail/sendmail.cf.delivery

who can test if the port 25 is open a listen

The time is gold
RAC_1
Honored Contributor

Re: sendmail error

You already have sendmail running. There are few of them.

telnet localhost 25

Will tell if sendmail is running on that host or not.

Anil
There is no substitute to HARDWORK
Isaac_4
Frequent Advisor

Re: sendmail error

yes is running
The time is gold
Geoff Wild
Honored Contributor

Re: sendmail error

kill it

/sbin/init.d/sendmail stop

Try that a couple of times...

ps -ef|grep sendmail

If still there - kill it manually by it's pid


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.