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

RE: newbie installation fails

Please list your schema entries in slapd.conf. Thats where the cullpit is.
The entries are something like this:
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/redhat/rfc822-MailMember.schema
include         /etc/openldap/schema/redhat/autofs.schema
include         /etc/openldap/schema/redhat/kerberosobject.schema
include /etc/openldap/schema/samba.schema
include         /etc/openldap/schema/abookperson.schema

These entries are in a way the "database defenitions" for ldap. The
objectclass top is used in very many ldap entries including the top entry so
you must have it.

I suggest you just copy the entries "include ...someting...schema" entries
from redhat's conf file. That will save you a lot of time.


> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of
> Peter Peltonen
> Sent: 8. mai 2001 19:08
> To: openldap-software@OpenLDAP.org
> Subject: newbie installation fails
> I have just installed RedHat 7.1 with the following RPMs:
> openldap-2.0.7-14
> openldap-servers-2.0.7-14
> openldap-clients-2.0.7-14
> openldap-devel-2.0.7-14
> openldap12-1.2.11-4
> I am trying to get it working with the instructions from
> Quick Start Guide but
> with little success.
> I thre away the Redhat's default /etc/openldap/slapd.conf and
> replaced it with
> the one from the Guide:
> --snip--
> database        ldbm
> suffix          "dc=test,dc=dom"
> rootdn          "cn=admin,dc=test,dc=dom"
> rootpw          secret
> directory       /var/lib/ldap
> --snip--
> After that I tried to start the ldap server with
> `/etc/rc.d/init.d/ldap start`
> but that did not succeed:
> [root@jolo /root]# /etc/rc.d/init.d/ldap start
> Starting slapd: No objectClass "top" defined in schema
> What's wrong? Is there somekind of default setup with the
> RedHat RPM's that I
> should be  aware about?
> Regards,
> Peter