Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-21-2003, 11:55 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 2
Rep:
|
sendmail quits - cannot bind: Cannot assign requested address
I am (or was) running sendmail 8.11.6 on a 2.4.20 kernel (Red Hat Linux 7.3). The installation has been running without problems for many months. A few days ago, upon reboot, sendmail began failing with the following entries in maillog:
Aug 21 12:12:40 mymachine sendmail[2421]: starting daemon (8.11.6): SMTP+queueing@01:00:00
Aug 21 12:12:40 mymachine sendmail[2421]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Cannot assign requested address
Aug 21 12:12:40 mymachine sendmail[2421]: daemon MTA: problem creating SMTP socket
Aug 21 12:12:45 mymachine sendmail[2421]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Cannot assign requested address
Aug 21 12:12:45 mymachine sendmail[2421]: daemon MTA: problem creating SMTP socket
[The above repeated at 5 second intervals 10 times]
Aug 21 12:13:30 mymachine sendmail[2421]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting
Has anyone seen anything like this? This is sort of "out of the blue"; all other services are working OK, and the only recent change is a NIC replacement (previous NIC damaged during blackout.) I'm willing to send more info if any sendmail experts out there would like. Thanks!
-Scott Wagner, Rochester NY US
|
|
|
08-22-2003, 12:47 PM
|
#2
|
LQ Newbie
Registered: Aug 2003
Posts: 2
Original Poster
Rep:
|
I found the answer to this one - it seems my eth1: interface, which acqures its ip address via DHCP, conflicted with an entry:
O DaemonPortOptions=Port=smtp,Addr=a.b.c.d, Name=MTA
in my /etc/sendmail.cf .
When I manually fixed the DaemonPortOptions entry in sendmail.cf, sendmail worked fine.
I still have to figure out how to keep the DaemonPortOptions entry synchronized with the (DHCP-assigned) ip address.
|
|
|
09-14-2003, 10:02 AM
|
#3
|
LQ Newbie
Registered: Sep 2003
Location: Columbus, OH, USA
Distribution: RH 7.2
Posts: 2
Rep:
|
Scott, do you update a DNS name after you get a new one from DHCP? I.E. do you use DynDNS or similar service? If so, you should be able to use that named address instead of a numbered one. The only problem with that approach is that it may take a few minutes until sendmail will start correctly while the address gets the update and is propogated to your upstream DNS provider(s). In fact, I hourly retart sendmail in a cron.hourly script for that reason and it seems to help. Perhaps there's a better solution?
|
|
|
09-14-2003, 11:12 AM
|
#4
|
Member
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634
Rep:
|
while working in the now defunct telecom market,
It was decided that the best practice was to point customer circuits to the
interface rather than ip address
this may be a solution for your troubles
ehd

|
|
|
09-14-2003, 03:40 PM
|
#5
|
LQ Newbie
Registered: Sep 2003
Location: Columbus, OH, USA
Distribution: RH 7.2
Posts: 2
Rep:
|
Quote:
Originally posted by ehdwuld
while working in the now defunct telecom market,
It was decided that the best practice was to point customer circuits to the
interface rather than ip address
|
Can this be done with sendmail.cf?
|
|
|
09-14-2003, 05:40 PM
|
#6
|
Member
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634
Rep:
|
I don't know
ehd
|
|
|
All times are GMT -5. The time now is 08:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|