Re: [exim] 'sudden' appearance of "failed socket bind()"

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Sander Smeenk
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] 'sudden' appearance of "failed socket bind()"
Quoting OpenMacNews (OpenMacNews@???):

> daemon starts, stops & ... and until today ... HUPs just fine.
> however, now when HUP the daemon, the log complains:
>    2005-09-12 17:48:32 socket bind() to port 25 for address 10.0.0.6 failed:
>    Permission denied: waiting 30s before trying again (7 more tries)
> any add'l wison/pointers to share?


I'm not completely sure, but my guess would be that your exim is now
dropping its privileges after it started. You start it as root, but it
runs as another user.

Binding to a port <1024 requires root privileges, so HUP'ing the daemon
will close the socket and try to reopen it, but it is then running as
the non-privileged user (which is actually a good thing(TM)). Binding to
'privileged ports' is then prohibited.

My $0.25c.

Regards,
Sander.
--
| From the FidoNet tagline collection:
| I'm not confused. I'm just well mixed.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D