[389-users] Bind localhost to 389, external IP to 636, fails with Local Network address is in use

Rich Megginson rmeggins at redhat.com
Thu Jan 3 15:33:13 UTC 2013


On 12/23/2012 02:51 PM, Graham Leggett wrote:
> Hi all,
>
> After updating the directory as follows in order to make 389ds listen to localhost:389 and external.ip.address:636 (with SSL), the server refuses to start complaining as follows:
>
> [22/Dec/2012:09:32:26 +0000] createprlistensockets - PR_Bind() on 172.20.10.6 port 636 failed: Netscape Portable Runtime error -5982 (Local Network address is in use.)
>
> I have checked, nothing is listening to port 636 before the server restart, so the most likely explanation is that 389ds is trying to bind to port 636 twice, and failing on the second go.
>
> # set the IP address for unencrypted access
> dn: cn=config
> changetype: modify
> replace: nsslapd-listenhost
> nsslapd-listenhost: 127.0.0.1
>
> # set the IP address for encrypted access
> dn: cn=config
> changetype: modify
> replace: nsslapd-securelistenhost
> nsslapd-securelistenhost: 172.20.10.6
>
> Can anyone point out what I am doing wrong above?

Sounds like a bug.  What platform?  What version of 389?

>
> Regards,
> Graham
> --
>
>
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20130103/e70c3905/attachment.html>


More information about the 389-users mailing list