Re: one problem with upgrade from 1.0.2 to 1.0.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sergey Ivanov wrote:
Here is a workaround:
%s/listenhost: <hostname-for-lan>/listenhost: ::ffff:10.0.0.<ip>/
in dse.ldif, and now can start directory server.
-- 
	Sergey.

> I'm trying to upgrade from fedora-ds-1.0.2 to fedora-ds-1.0.3 at fc-3
> x86_64.
> The machine has different network interfaces pointing one to local
> network and another to global, with real IP.
> The slapd-<name>/config/dse.ldif file contains lines bindind ns-slapd to
> local IP in dn: cn=config section, like:
> ---
> nsslapd-listenhost: <hostname-for-lan>
>      nsslapd-securelistenhost: <hostname-for-lan>
> 
> ---
> It was working with fedora-ds-1.0.2
> But at upgrade to 1.0.3 server can not be started, I'm getting message:
> ---
> [01/Nov/2006:23:09:53 +0300] createprlistensocket - PR_Bind() on
> 10.0.0.<ip> port 389 failed: Netscape Portable Runtime error -5967 (TCP
> file descriptor is already bound.)
> ---
> It happens even if there is no binding to 389 port at any interface of
> this host.
> In strace I see the lines:
> ---
> 26036 socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 6
> 26036 fcntl(6, F_GETFL)                 = 0x2 (flags O_RDWR)
> 26036 fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
> 26036 setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> 26036 bind(6, {sa_family=AF_INET, sin_port=htons(389),
> sin_addr=inet_addr("10.0.0.<ip>")}, 16) = -1 EINVAL (Invalid argument)
> ---

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux