Comment 0 for bug 825593

Revision history for this message
Edoardo Tirtarahardja (etirta) wrote :

I have just installed cntlm 0.91rc6 on ubuntu server 10.10.

On every reboot, cntlm does not work properly.

Config 1: I put 3 Listen lines in cntlm.conf to only bind 3 interfaces.
On the boot log, cntlm complaints that 'Cannot bind port ', with the first 2 reason are set to the port is used and the last reason is set to interface not available. Then I got 'No proxy service ports were successfully opened' message, but a few lines later it stated that the cntlm daemon has been started sucessfully.
Later on if I did 'netstat -an | grep LISTEN', I only see the first 2 interface bound to cntlm.
Manually restart the service works every time.

Config 2: Instead I set the 'Gatewayl' parameter to 'yes'.
On the boot log, cntlm is no longer complaint that it can't bind the port, however I still see 'No proxy service ports were successfully opened' message followed by successful daemon start.
On 'netstat -an | grep LISTEN', I got cntlm listening to '0.0.0.0:8081', however if I use the proxy, cntlm *always* return that cntlm can't forward the request. From the IP trace of the interface, I can see cntlm does not even try to open *any* request connection, just immediately return the browser client request with the above error message.
Manually restart the service works every time.

Does the cntlm service started too early on reboot???