Hi,

While I was fighting with netcat,I found that there is no "SO_REUSEADDR"
flag on the socket used by livestatus.

So each time a "shinken restart" is done, we have to wait that the system
free the socket to get the new module up and running.

Adding 'server.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)' before
'server.bind' solves that.

Regards

Olivier
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to