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

Re: compile Error & unix streams instead of tcp (ITS#1347)

"Kurt D. Zeilenga" wrote:

> 2.0.11 does support BerkeleyDB 3.3.  Use BerkeleyDB 3.2 or upgrade
> to OpenLDAP 2.0.15.
> As far as the other problem, if you started slapd without
> any options, it should only attempt to listen on TCP *:389.
> IIRC, I've seen that before and believe it's fixed.  You
> might try 2.0.15.  If you don't desire ldapi:// support,
> don't enable it via configure.

Thankyou very much.
I have upgraded to 2.0.15 and
both the problems are fixed in 2.0.15.

FYI, O/P when ran as user (not root)

1. ./slapd  -- unfortunately it just exits without any error message.

2. ./slapd -d -1  -- gives the following error message.
@(#) $OpenLDAP: slapd 2.0.15-Release (Mon Sep 24 14:35:07 PDT 2001) $
daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
daemon: socket() failed errno=22 (Invalid argument)
daemon: bind(6) failed errno=13 (Permission denied)
daemon: bind(6) failed
slapd stopped.
connections_destroy: nothing to destroy.

probably, Invalid argument, is a misleading error message.