- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail (daemon MTA: cannot bind: Address already...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 07:36 PM - last edited on тАО05-14-2014 06:40 PM by Lisa198503
тАО03-13-2003 07:36 PM - last edited on тАО05-14-2014 06:40 PM by Lisa198503
Sendmail (daemon MTA: cannot bind: Address already in use)
I am getting these errors when booting the system, can anyone help
-----------------
Mar 14 12:02:26 tghcito1 sendmail[13093]: starting daemon (8.12.8): SMTP+queuein
g@00:30:00
Mar 14 12:02:26 tghcito1 sendmail[13093]: NOQUEUE: SYSERR(root): opendaemonsocke
t: daemon MTA: cannot bind: Address already in use
Mar 14 12:02:26 tghcito1 sendmail[13093]: daemon MTA: problem creating SMTP sock
et
Mar 14 12:03:16 tghcito1 sendmail[13093]: NOQUEUE: SYSERR(root): opendaemonsocke
t: daemon MTA: server SMTP socket wedged: exiting
Mar 14 12:03:16 tghcito1 sendmail[13093]: NOQUEUE: SYSERR(root): opendaemonsocke
t: daemon MTA: cannot bind: Address already in use
Mar 14 12:04:09 tghcito1 above message repeats 10 times
Mar 14 12:03:16 tghcito1 sendmail[13093]: daemon MTA: problem creating SMTP sock
et
I just update sendmail to the newest version,
and I have no problem with old version.
I tried to change options in sendmail.cf
O DaemonPortOptions=Port=578,
-->
O DaemonPortOptions=Port=smtp,
but it's no help.
Can someone give me a sample of sendmail.cf for HP-UX 11.0,
Thanks
P.S. This thread has been moved from HP-UX>System Administration to HP-UX > messaging. -HP Forum Moderator
- Tags:
- sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 07:45 PM
тАО03-13-2003 07:45 PM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
check the port 25.
Use lsof to check the process using 25.
Stop it and check it out.
Do check whether the sendmail is already running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 08:28 PM
тАО03-13-2003 08:28 PM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
# /sbin/init.d/sendmail stop
# ps -ef | grep sendmail | awk '{print $2}' | xargs kill -5
# /sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 08:34 PM
тАО03-13-2003 08:34 PM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
Check whether any sendmail instance is already running.
#ps -ef | grep sendmail
Check whether the port 25 ( SMTP ) is already listening.
#netstat -an | grep LISTEN | grep 25
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 08:50 PM
тАО03-13-2003 08:50 PM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
and I did as you wrote again,but no change.
there is no port 25 used,I run netstat -a | grep smtp,I got the output,
# netstat -a | grep smtp
tcp 0 0 *.smtp *.* LISTEN
I found the same result on other server like this,but the sendmail can restart normally.
Are there some reasons with lan setting,I used two lan card with different ip in this server.
anything else for me,thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 09:09 PM
тАО03-13-2003 09:09 PM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
# /sbin/init.d/sendmail stop
No sendmail server running
It's strange,I don't start sendmail,
but I found the message like below,
netstat -an | grep LISTEN | grep 25
tcp 0 0 *.25 *.* LISTEN
How can find PID and kill it.
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 09:26 PM
тАО03-13-2003 09:26 PM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 09:28 PM
тАО03-13-2003 09:28 PM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
Just enabling IPv6 should be okay.
Just modify your sendmail.mc file to have some thing like
DAEMON_OPTIONS(`Port=smtp, Name=MTA, Family=inet6')
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2003 03:35 AM
тАО03-17-2003 03:35 AM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
#lsof | grep TCP
Result will be, what daemon bound port 25.
Example:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2003 04:01 AM
тАО03-17-2003 04:01 AM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
# SMTP daemon options
# The options are "option=value" pairs. The supported options are:
So shouldn't it be :
O DaemonPortOptions=578
At least the "," is not supposed as I can see throught the explanation.
Might be stuppid answers, but sometimes stuppid suggestions can help a lot :)
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 12:50 AM
тАО03-18-2003 12:50 AM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
and thanks for any responses,good or bad.
I am tring now as your suggestions,I will report the result as fast as I can.
and I just check the sendmail.cf,there are
some options:
# SMTP daemon options
O DaemonPortOptions=Name=MTA
O DaemonPortOptions=Port=587, Name=MSA, M=E
# SMTP client options
O ClientPortOptions=Family=inet, Address=0.0.0.0
(I used the newest version)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 06:04 PM
тАО03-19-2003 06:04 PM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
/var/adm/sw/save/PHNE_17190/INETSVCS-RUN/sbin/init.d/sendmail
/var/adm/sw/save/PHNE_17190/INETSVCS-RUN/usr/sbin/sendmail
so I noticed smtp was started by inetd.
/sbin/init.d/inetd stop
then sendmail can start up.
I studied a lot from your responses.
thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2003 03:36 PM
тАО08-25-2003 03:36 PM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
If you are using sendmail.mc for macros and you change your network setup:
And you have the daemon setup to accept mail as follows:
DAEMON_OPTIONS(`Port=smtp,Addr=66.92.171.212, Name=MTA')
Note that if for some reason you change your network setup and the IP address stated above no longer exists on the local server.
The sendmail daemon will start run for a little while and generate the error message that started this call. This applies to HP-UX and Linux sendmail 8.11 and 8.12
The situation will not be intuitive and will be hard to diagnose.
The original owner of this call should have assigned points. If this call comes up in a search the documentation will be more complete.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2003 04:03 PM
тАО08-25-2003 04:03 PM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
Check the /etc/mail/sendmail.cf file for just *where* it's defining it's queue directory.
Default is /var/spool/mqueue - but will be wherever the file defines it.
Look for
O QueueDirectory=
IF that doesn't exist, that would explain the lead error msg.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2014 07:50 AM - edited тАО05-14-2014 07:50 AM
тАО05-14-2014 07:50 AM - edited тАО05-14-2014 07:50 AM
Re: Sendmail (daemon MTA: cannot bind: Address already in use)
I had this error messa, when (for some weird reasons) options in my sendmail.cf file were duplicated (so all of them appeared twice).
Cleaning duplicates and restarting sendmail, helped, no error anymore.