PDA

View Full Version : createprlistensockets - PR_Bind() on All Interfaces port 636 failed: Netscape Portabl



van12
11th March 2013, 08:58 PM
If you one day get this error when restarting LDAP (389-console; RDS) or some other app which takes your port.

createprlistensockets - PR_Bind() on All Interfaces port 636 failed: Netscape Portable Runtime error -5982 (Local Network address is in use.)

I don't know why it happens suddently, but some how the port 636 was put to reserve by "portreser"

Solution: remove the reserver from portreser process.
# netstat -an |grep 636 ; it shows udp:636 is there
[root@mars slapd-NNIT]# lsof -i UDP:636
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
portreser 1316 root 7u IPv4 9352 0t0 UDP *:ldaps

ok it is portreser which uses the port.

# rm /etc/portreserve/slapd
# service portreserve restart

DONE

ps: you can also disable "636" by set "nsslapd-security: on" at /etc/dirsrv/slapd-xx/dse.ldif if you don't use 636