![Bind: Cannot Assign Requested Address Bind: Cannot Assign Requested Address](/uploads/1/2/6/3/126389619/263386443.png)
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
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
SOLVED Could not bind to host. Discussion in 'Spigot Help' started by duelninja137933X, Dec 20. I am using that config but when I try to listen on my ip it says could not bind to host, it only works on 127.0.0.1. Cannot assign requested address: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:444). It may be related to a misconfiguration in your /etc/hosts. In my case, it was like this: 192.168.1.11 localhost instead of 127.0.0.1 localhost.