- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail (daemon MTA: cannot bind: Address alr...
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
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