Re: Exit status on bind error

2008-12-04 Thread Jan Safranek
Wes Hardaker wrote: >> On Tue, 11 Nov 2008 15:43:24 +0100, Jan Safranek <[EMAIL PROTECTED]> >> said: > > JS> I looked into the sources and I can see that the agent is deamonized > JS> before the listening sockets are created. Is there any specific reason > JS> for this? Wouldn't it be b

Re: Exit status on bind error

2008-12-01 Thread Wes Hardaker
> On Tue, 11 Nov 2008 15:43:24 +0100, Jan Safranek <[EMAIL PROTECTED]> said: JS> I looked into the sources and I can see that the agent is deamonized JS> before the listening sockets are created. Is there any specific reason JS> for this? Wouldn't it be better to bind the listening ports and

Exit status on bind error

2008-11-11 Thread Jan Safranek
Hello, when the snmpd fails to bind listening port, it writes 'Error opening specified endpoint "udp:0.0.0.0:162", Server Exiting with code 1' to syslog and dies, but its exit code it 0. I looked into the sources and I can see that the agent is deamonized before the listening sockets are creat