[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: cannot getting slapd to start



I've just noticed the same problem compiling on an E250 running SunOS
5.8.  Tests fail exactly as below, trying to start slapd by hand yields,

# ./slapd -d -1
@(#) $OpenLDAP: slapd 2.0.11-Release (Thu Jun 21 15:02:21 PDT 2001) $
        atristan@ae:/src/openldap-2.0.11/servers/slapd
daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: getaddrinfo failed: invalid value for ai_flags
slapd stopped.
connections_destroy: nothing to destroy.

Not sure what ai_flags is (search of list archives revealed nothing).  I
suspect that it's IPv4 vs. IPv6 related (just a wild guess).  Anyone have
any suggestions?  This machine (unlike my other ldap servers) has a virtual
network interface, might that be related?
Thanks,
A

-- On Jun 22, 11:10am, "Sam Carleton" wrote:
> Subject: cannot getting slapd to start
> I am trying to get openldap v2.0.11 compiled on my UltraSPARC 10.  When I
> run the make test, I get this:
> 
> Initiating LDAP tests for LDBM...
> >>>>> Executing all LDAP tests...
> >>>>> Test Directory: .
> >>>>> Backend: ldbm
> >>>>> Starting test000-rootdse ...
> running defines.sh . ldbm
> Datadir is ./data
> Cleaning up in ./test-db...
> Starting slapd on TCP/IP port 9009...
> Using ldapsearch to retrieve all the entries...
> 18646 Killed
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> ./scripts/test000-rootdse: kill: no such process
> ldap_bind: Can't contact LDAP server
> >>>>> Test failed
> >>>>> ./scripts/test000-rootdse failed (exit 1)
> make[1]: *** [test-ldbm] Error 1
> make[1]: Leaving directory `$HOME/src/openldap-2.0.11/tests'
> make: *** [test] Error 2
> 
> Any thoughts on why this is failing?
> 
> Sam
> 
-- End of excerpt from "Sam Carleton" --



-- 
andrew.tristan@ucr.edu          Unix Systems Group, UC Riverside