<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sendmail (daemon MTA: cannot bind: Address already in use) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927169#M603124</link>
    <description>you might already have more than one sendmail process running. Stop and restart sendmail.&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/sendmail stop&lt;BR /&gt;# ps -ef | grep sendmail | awk '{print $2}' | xargs kill -5 &lt;BR /&gt;# /sbin/init.d/sendmail start</description>
    <pubDate>Fri, 14 Mar 2003 04:28:31 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2003-03-14T04:28:31Z</dc:date>
    <item>
      <title>Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927167#M603122</link>
      <description>&lt;P&gt;I am getting these errors when booting the system, can anyone help&lt;BR /&gt;-----------------&lt;BR /&gt;Mar 14 12:02:26 tghcito1 sendmail[13093]: starting daemon (8.12.8): SMTP+queuein&lt;BR /&gt;g@00:30:00&lt;BR /&gt;Mar 14 12:02:26 tghcito1 sendmail[13093]: NOQUEUE: SYSERR(root): opendaemonsocke&lt;BR /&gt;t: daemon MTA: cannot bind: Address already in use&lt;BR /&gt;Mar 14 12:02:26 tghcito1 sendmail[13093]: daemon MTA: problem creating SMTP sock&lt;BR /&gt;et&lt;BR /&gt;Mar 14 12:03:16 tghcito1 sendmail[13093]: NOQUEUE: SYSERR(root): opendaemonsocke&lt;BR /&gt;t: daemon MTA: server SMTP socket wedged: exiting&lt;BR /&gt;Mar 14 12:03:16 tghcito1 sendmail[13093]: NOQUEUE: SYSERR(root): opendaemonsocke&lt;BR /&gt;t: daemon MTA: cannot bind: Address already in use&lt;BR /&gt;Mar 14 12:04:09 tghcito1 above message repeats 10 times&lt;BR /&gt;Mar 14 12:03:16 tghcito1 sendmail[13093]: daemon MTA: problem creating SMTP sock&lt;BR /&gt;et&lt;BR /&gt;&lt;BR /&gt;I just update sendmail to the newest version,&lt;BR /&gt;and I have no problem with old version.&lt;BR /&gt;I tried to change options in sendmail.cf&lt;BR /&gt;O DaemonPortOptions=Port=578, &lt;BR /&gt;--&amp;gt;&lt;BR /&gt;O DaemonPortOptions=Port=smtp, &lt;BR /&gt;but it's no help.&lt;BR /&gt;Can someone give me a sample of sendmail.cf for HP-UX 11.0,&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. This thread has been moved from&amp;nbsp;&lt;SPAN style="font-size: 14px; line-height: 1.2;"&gt;HP-UX&amp;gt;System Administration to HP-UX &amp;gt; messaging&lt;/SPAN&gt;&lt;SPAN style="font-size: 14px; line-height: 1.2;"&gt;. -HP Forum Moderator&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2014 01:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927167#M603122</guid>
      <dc:creator>frank_14</dc:creator>
      <dc:date>2014-05-15T01:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927168#M603123</link>
      <description>the port is already in use.&lt;BR /&gt;&lt;BR /&gt;check the port 25.&lt;BR /&gt;&lt;BR /&gt;Use lsof to check the process using 25.&lt;BR /&gt;Stop it and check it out.&lt;BR /&gt;Do check whether the sendmail is already running</description>
      <pubDate>Fri, 14 Mar 2003 03:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927168#M603123</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-14T03:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927169#M603124</link>
      <description>you might already have more than one sendmail process running. Stop and restart sendmail.&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/sendmail stop&lt;BR /&gt;# ps -ef | grep sendmail | awk '{print $2}' | xargs kill -5 &lt;BR /&gt;# /sbin/init.d/sendmail start</description>
      <pubDate>Fri, 14 Mar 2003 04:28:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927169#M603124</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-03-14T04:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927170#M603125</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check whether any sendmail instance is already running.&lt;BR /&gt;&lt;BR /&gt;#ps -ef | grep sendmail&lt;BR /&gt;&lt;BR /&gt;Check whether the port 25 ( SMTP ) is already listening. &lt;BR /&gt;&lt;BR /&gt;#netstat -an | grep LISTEN | grep 25&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2003 04:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927170#M603125</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-03-14T04:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927171#M603126</link>
      <description>I'm sure sendmail is not already running.&lt;BR /&gt;and I did as you wrote again,but no change.&lt;BR /&gt;there is no port 25 used,I run netstat -a | grep smtp,I got the output,&lt;BR /&gt;# netstat -a | grep smtp&lt;BR /&gt;tcp        0      0  *.smtp                 *.*                     LISTEN&lt;BR /&gt;I found the same result on other server like this,but the sendmail can restart normally.&lt;BR /&gt;Are there some reasons with lan setting,I used two lan card with different ip in this server.&lt;BR /&gt;anything else for me,thanks</description>
      <pubDate>Fri, 14 Mar 2003 04:50:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927171#M603126</guid>
      <dc:creator>frank_14</dc:creator>
      <dc:date>2003-03-14T04:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927172#M603127</link>
      <description>I did this first,&lt;BR /&gt;# /sbin/init.d/sendmail stop&lt;BR /&gt;No sendmail server running&lt;BR /&gt;&lt;BR /&gt;It's strange,I don't start sendmail,&lt;BR /&gt;but I found the message like below,&lt;BR /&gt;netstat -an | grep LISTEN | grep 25&lt;BR /&gt;tcp        0      0  *.25                   *.*                     LISTEN&lt;BR /&gt;How can find PID and kill it.&lt;BR /&gt;&lt;BR /&gt;thanks,</description>
      <pubDate>Fri, 14 Mar 2003 05:09:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927172#M603127</guid>
      <dc:creator>frank_14</dc:creator>
      <dc:date>2003-03-14T05:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927173#M603128</link>
      <description>Clearly indicates some service is listening at port 25. get lsof tool and run find the service running at that port&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Fri, 14 Mar 2003 05:26:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927173#M603128</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-03-14T05:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927174#M603129</link>
      <description>I think you are running both IPv4 and IPv6 and this is conflicting in using the same port.&lt;BR /&gt;&lt;BR /&gt;Just enabling IPv6 should be okay.&lt;BR /&gt;&lt;BR /&gt;Just modify your sendmail.mc file to have some thing like&lt;BR /&gt;&lt;BR /&gt;DAEMON_OPTIONS(`Port=smtp, Name=MTA, Family=inet6')&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2003 05:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927174#M603129</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-14T05:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927175#M603130</link>
      <description>Donwload pro. lsof ( list open file ).&lt;BR /&gt;&lt;BR /&gt;#lsof | grep TCP &lt;BR /&gt;&lt;BR /&gt;Result will be, what daemon bound port 25. &lt;BR /&gt;&lt;BR /&gt;Example: &lt;BR /&gt;&lt;DAEMON name=""&gt;  &lt;PID&gt; &lt;PPID&gt; ... &lt;IP&gt;:smtp &lt;BR /&gt;&lt;/IP&gt;&lt;/PPID&gt;&lt;/PID&gt;&lt;/DAEMON&gt;</description>
      <pubDate>Mon, 17 Mar 2003 11:35:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927175#M603130</guid>
      <dc:creator>Dusan Krasa</dc:creator>
      <dc:date>2003-03-17T11:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927176#M603131</link>
      <description>am I reading it wrong ??&lt;BR /&gt;&lt;BR /&gt;# SMTP daemon options&lt;BR /&gt;# The options are "option=value" pairs. The supported options are:&lt;BR /&gt;&lt;BR /&gt;So shouldn't it be : &lt;BR /&gt;O DaemonPortOptions=578&lt;BR /&gt;&lt;BR /&gt;At least the "," is not supposed as I can see throught the explanation.&lt;BR /&gt;&lt;BR /&gt;Might be stuppid answers, but sometimes stuppid suggestions can help a lot :)&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Mon, 17 Mar 2003 12:01:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927176#M603131</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-03-17T12:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927177#M603132</link>
      <description>I am sorry I seldom came here in two days.&lt;BR /&gt;and thanks for any responses,good or bad.&lt;BR /&gt;I am tring now as your suggestions,I will report the result as fast as I can.&lt;BR /&gt;and I just check the sendmail.cf,there are &lt;BR /&gt;some options:&lt;BR /&gt;&lt;BR /&gt;# SMTP daemon options&lt;BR /&gt;O DaemonPortOptions=Name=MTA&lt;BR /&gt;O DaemonPortOptions=Port=587, Name=MSA, M=E&lt;BR /&gt;&lt;BR /&gt;# SMTP client options&lt;BR /&gt;O ClientPortOptions=Family=inet, Address=0.0.0.0&lt;BR /&gt;&lt;BR /&gt;(I used the newest version)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Mar 2003 08:50:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927177#M603132</guid>
      <dc:creator>frank_14</dc:creator>
      <dc:date>2003-03-18T08:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927178#M603133</link>
      <description>I found the files in my server,&lt;BR /&gt;/var/adm/sw/save/PHNE_17190/INETSVCS-RUN/sbin/init.d/sendmail&lt;BR /&gt;/var/adm/sw/save/PHNE_17190/INETSVCS-RUN/usr/sbin/sendmail&lt;BR /&gt;&lt;BR /&gt;so I noticed smtp was started by inetd.&lt;BR /&gt;/sbin/init.d/inetd stop&lt;BR /&gt;then sendmail can start up.&lt;BR /&gt;&lt;BR /&gt;I studied a lot from your responses.&lt;BR /&gt;thanks again.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Mar 2003 02:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927178#M603133</guid>
      <dc:creator>frank_14</dc:creator>
      <dc:date>2003-03-20T02:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927179#M603134</link>
      <description>Notice to sendmailers.&lt;BR /&gt;&lt;BR /&gt;If you are using sendmail.mc for macros and you change your network setup:&lt;BR /&gt;&lt;BR /&gt;And you have the daemon setup to accept mail as follows:&lt;BR /&gt;&lt;BR /&gt;DAEMON_OPTIONS(`Port=smtp,Addr=66.92.171.212, Name=MTA')&lt;BR /&gt;&lt;BR /&gt;Note that if for some reason you change your network setup and the IP address stated above no longer exists on the local server.&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;&lt;BR /&gt;The situation will not be intuitive and will be hard to diagnose.&lt;BR /&gt;&lt;BR /&gt;The original owner of this call should have assigned points.  If this call comes up in a search the documentation will be more complete.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 25 Aug 2003 22:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927179#M603134</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-25T22:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927180#M603135</link>
      <description>Hi frank,&lt;BR /&gt;&lt;BR /&gt;Check the /etc/mail/sendmail.cf file for just *where* it's defining it's queue directory. &lt;BR /&gt;Default is /var/spool/mqueue - but will be wherever the file defines it.&lt;BR /&gt;&lt;BR /&gt;Look for&lt;BR /&gt;O QueueDirectory=&lt;BR /&gt;&lt;BR /&gt;IF that doesn't exist, that would explain the lead error msg.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 25 Aug 2003 23:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/2927180#M603135</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-08-25T23:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail (daemon MTA: cannot bind: Address already in use)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/6475082#M603136</link>
      <description>&lt;P&gt;I had this error messa, when (for some weird reasons) options in my sendmail.cf file were duplicated (so all of them appeared twice).&lt;/P&gt;&lt;P&gt;Cleaning duplicates and restarting sendmail, helped, no error anymore.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2014 14:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-daemon-mta-cannot-bind-address-already-in-use/m-p/6475082#M603136</guid>
      <dc:creator>Piotr Kierklo</dc:creator>
      <dc:date>2014-05-14T14:50:59Z</dc:date>
    </item>
  </channel>
</rss>

