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

Re: slapd does not start

On Fri, Jan 17, 2003 at 10:05:52AM +0100, Marc Santhoff wrote:

> When i try to start slapd it says:
> zaphod# /usr/local/libexec/slapd '-d 1 -h "ldap://[::] ldap://";;'

> daemon_init: 1 listeners opened
> slapd init: initiated server.
> slapd startup: initiated.
> backend_startup: bi_open 1 failed!
> slapd shutdown: initiated

Make sure that the directory you have configured to store the data in
exists and can be written by the user that is running slapd. (Look for
the 'directory' line in the 'database' section of slapd.conf).

Sometimes permissions errors do not show up until you try to modify an

General Unix process-tracing tools are good for debugging this sort of
problem. The names of the tools vary from one OS provider to another:
Solaris and FreeBSD users might use 'truss', Linux users might use 'strace'.
Run slapd under such a tool and examine the result - look for what
happenned just before the error message got printed.

|                 From Andrew Findlay, Skills 1st Ltd                 |
| Consultant in large-scale systems, networks, and directory services |
|     http://www.skills-1st.co.uk/                +44 1628 782565     |