[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Cannot run slapd.
Are you starting slapd as user root ? Only the root account can bind to a port < 1023 and slapd uses port 389.
Kihoon Jeoung wrote:
>
> slapd does not work. When I run "slapd -d -l", I've got the followings:
> .
> .
> .
> line 7 (schemacheck off)
> line 8 (referral ldap://root.openldap.org/)
> line 10 (pidfile /usr/local/var/slapd.pid)
> line 11 (argsfile /usr/local/var/slapd.args)
> line 17 (database ldbm)
> line 19 (suffix "dc=brazil, dc=it, dc=earthlink, dc=net")
> line 22 (rootdn "cn=kihoonj, dc=brazil, dc=it, dc=earthlink,
> dc=net")
> line 28 (rootpw test)
> line 33 (directory /usr/local/var/openldap-ldbm)
> bind() failed errno 13 (Permission denied)
>
> Hmmm...I don't know why I got permission error?
>
> Hugo.van.der.Kooij@caiw.nl wrote:
> >
> > On Tue, 19 Sep 2000, Kihoon Jeoung wrote:
> >
> > > I installed Openldap package successfully.
> > > However, when I tried to run slapd, I could not see anything.
> > > I checked process lists but there was no process about slapd.
> > > Do you know what is problem?
> >
> > You need to debug and see what error is reported. Just start witch slapd
> > -d -1 and redirect the output to a file. At the end of this file you will
> > see the error.
> >
> > Hugo.
> >
> > --
> > Hugo van der Kooij; Oranje Nassaustraat 16; 3155 VJ Maasland
> > hvdkooij@caiw.nl http://home.kabelfoon.nl/~hvdkooij/
> > --------------------------------------------------------------
> > Quoting this tagline is illegal! (http://www.dtcc.edu/cs/rfc1855.html)
--
Patrick Timmons, service informatique