[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Réf. : Re: initialize openldap
Hi
I try to do what you say ( slapd -g ldap -u ldap -d -1)
daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: initialized ldap:///
daemon_init: 2 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (March 25, 2004)
could not open config file "/etc/openldap/slapd.conf": Permission denied
(13)
slapd shutdown: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.
but I delete the ldap directory /var/lib/ldap
so I create a new directory (as root) but I don't know what owner must I specified and rights to this
directory
thank you
Buchan Milne <bgmilne@obsidian.co.za>
Envoyé par : owner-openldap-software@OpenLDAP.org
08/04/2005 11:03
Pour : emmanuelbiennier@virtualvercors.net
cc : openldap-software@OpenLDAP.org
Objet : Re: initialize openldap
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
emmanuelbiennier@virtualvercors.net wrote:
> Hi everybody
> So I'm new in the mailing list.
> I try to configure openldap on Mandrake 10.0 and it doesn't work
> So I read in forums that I can reinitialize openldap if I delete all
file
> who are in /var/lib/openldap
Well, on Mandrakelinux, the default database directory is actually
/var/lib/ldap
> and if I modified configuration files (slap.conf and ldap.conf)
> I do that but I can't start openldap !
> what's wrong and how can I reinitialize (completly) openldap ?
You should try starting slapd as follows, which should make it easier to
find the problem:
# slapd -g ldap -u ldap -d -1
BTW, a common mistake is to do operations on the database directory (and
the files in the database directory) as root, without correcting the
permissions on the files before starting the ldap service.
Regards,
Buchan
- --
Buchan Milne Senior Support Technician
Obsidian Systems http://www.obsidian.co.za
B.Eng RHCE (803004789010797),LPIC-1 (LPI000074592)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCVkjvrJK6UGDSBKcRAr9pAJ43GTtoT62qScHVLrhhBdPHqc2RxwCeJp0I
MLL/bFrQYd9iLXjXPnjt6vI=
=NAhX
-----END PGP SIGNATURE-----