الجمعة، 28 مايو 2010

Waiting to bind to port 995

Pop3s listens to the port 995.

If POP fails while restarting and gives the error
Waiting to bind to port 995 (IO::Socket::INET configuration failederror:00000000:lib(0):func(0):reason(0))....
Waiting to bind to port 995 (IO::Socket::INET configuration failederror:00000000:lib(0):func(0):reason(0))....


Then do lsof -i :995
Eg. root@spiffy [~]# lsof -i :995
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
xinetd 1160 root 6u IPv4 2237 TCP *:pop3s (LISTEN)


Kill the process and restart the service
root@spiffy [~]# kill -9 1160
root@spiffy [~]# kill -9 1160
bash: kill: (1160) - No such pid


root@spiffy [~]# /scripts/restartsrv_xinetd
Starting xinetd: [ OK ]


Now POP will be up.

ليست هناك تعليقات:

إرسال تعليق