Page 1 of 1

Unable to bind listening socket.

Posted: Wed Jul 18, 2007 1:14 pm
by Gnafu
I'm having this error at startup:

Code: Select all

POL097-2006-10-25 Coregina (VS.NET 2003)
compiled on Oct 25 2006 07:50:00
   [CUT]
Server Shutdown: opening listen socket
Leftover objects in objecthash: 39630
Leaking a copy of the objecthash in order to avoid a crash.
Execution aborted due to: Unable to bind listening socket. Port(5003) Res=-1
Never happend before...

This evening the pol started to give me the exception:

"Thread exception: Unable to open listen port 5003"

But then, clients could connect without problems..
Now the pol does not start at all.. :(

Any suggestion?
Thanks

Posted: Wed Jul 18, 2007 1:21 pm
by RazorTongue
killall pol

?
:D

Posted: Thu Jul 19, 2007 1:43 am
by Gnafu
I solved disabling the package "accounts"

# $Id: pkg.cfg 373 2006-06-17 18:27:33Z austinheilman $

probably there was something wrong with it, before theese errors a new account was auto-created.

Posted: Fri Jul 20, 2007 10:03 pm
by CWO
possibly a port conflict? 2 things using the same port?

Posted: Sat Jul 21, 2007 12:38 am
by Gnafu
I was using the same pc-configuration as ever, can the pol block it's self?

Posted: Sat Jul 21, 2007 12:58 am
by RazorTongue
Are Linux or Windows user ? My 1st advice was for Linux system, but if you are using Windows, you can try typing in shell(cmd.exe)

netstat -ab

You will see all opened ports and the processes associated with them. Then you should know what to kill using Task Manager.

Also check your firewall settings(maybe fw is blocking pol.exe from opening ports or blocks ports higher than 1023) - you can even try to disable it for a while and check the difference.
can the pol block it's self?
I am using pol for a few years and it happened one or two times, so it shouldn't. Except bad aux service configuration or listening ports, that is always your system issue.

Posted: Sat Jul 21, 2007 9:31 pm
by Yukiko
Only time I had that happen to me was once when I launched POL while it was already running but only I could do something like that :P