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

Re: Problem starting slapd



You are attempting to use 2.0 schema files with 2.1.
Note, 'make install' will not overwrite schema files
(or other configuration files).  You need to replace
them manually.

Kurt

At 12:55 AM 2002-09-20, Jeremy Huddleston wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>I've followed the quickstart guide, but I can't get openldap 2.1.5 to start.
>Here's the output when I run slapd:
>
>/usr/local/libexec/slapd -d 65535
>@(#) $OpenLDAP: slapd 2.1.5 (Fri Sep 20 00:02:48 PDT 2002) $
>
>root@eradicator:/usr/local/download/system/libs/openldap-2.1.5/servers/slapd
>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.
>bdb_open: initialize BDB backend
>bdb_open: Sleepycat Software: Berkeley DB 4.1.24: (September 13, 2002)
>reading config file /usr/local/etc/openldap/slapd.conf
>line 6 (include         /usr/local/etc/openldap/schema/core.schema)
>reading config file /usr/local/etc/openldap/schema/core.schema
>line 29 (attributetype ( 2.5.18.1 NAME 'createTimestamp' EQUALITY
>generalizedTimeMatch ORDERING generalizedTimeOrderingMatch SYNTAX
>1.3.6.1.4.1.1466.115.121.1.24 SINGLE-VALUE NO-USER-MODIFICATION USAGE
>directoryOperation ))
>/usr/local/etc/openldap/schema/core.schema: line 29: attribute type "2.5.18.1"
>is operational
>slapd shutdown: freeing system resources.
>slapd stopped.
>connections_destroy: nothing to destroy.
>
>Here's my slapd.conf:
># $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6 2001/04/20 23:32:43
>kurt Exp $
>#
># See slapd.conf(5) for details on configuration options.
># This file should NOT be world readable.
>#
>include         /usr/local/etc/openldap/schema/core.schema
>#include                /usr/local/etc/openldap/schema/rolodap.schema
>
># Define global ACLs to disable default read access.
>
># Do not enable referrals until AFTER you have a working directory
># service AND an understanding of referrals.
>#referral       ldap://root.openldap.org
>
>pidfile         /usr/local/var/slapd.pid
>argsfile        /usr/local/var/slapd.args
>
># Load dynamic backend modules:
># modulepath    /usr/local/libexec/openldap
># moduleload    back_ldap.la
># moduleload    back_ldbm.la
># moduleload    back_passwd.la
># moduleload    back_shell.la
>
>#######################################################################
># ldbm database definitions
>#######################################################################
>
>#database       ldbm
>database        bdb
>suffix          "dc=outersquare,dc=org"
>#suffix         "o=My Organization Name,c=US"
>rootdn          "cn=Manager,dc=outersquare,dc=org"
>#rootdn         "cn=Manager,o=My Organization Name,c=US"
># Cleartext passwords, especially for the rootdn, should
># be avoid.  See slappasswd(8) and slapd.conf(5) for details.
># Use of strong authentication encouraged.
>rootpw          secret
># The database directory MUST exist prior to running slapd AND
># should only be accessible by the slapd/tools. Mode 700 recommended.
>directory       /var/lib/ldap
># Indices to maintain
>#index  objectClass     eq
>index default pres,eq
>index memberof,objectClass,uid pres,eq
>index cn,sn,givenname eq,sub
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.7 (GNU/Linux)
>
>iD8DBQE9itRigKpk8srJOlIRAoi7AKCruszXLu6sw8xZp+MFZtzvxgwANgCfRx1y
>PIJJ6mPbZ6XLAk042CXqywY=
>=wN7u
>-----END PGP SIGNATURE-----