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

can't start slapd: error loading ucdata (error -127)



Hi,

I'm trying to install openldap-2.1.25 on my RedHat
Linux 9.0 (kernel 2.4-20)

I have passed through the following procedures:
- ./configure --enable-ldbm
- make depend
- make
- make test
- su root c 'make install'

When I tried to start the server by executing slapd,
the following error occur:
# slapd -d 1
@(#) $OpenLDAP: slapd 2.1.25 (Feb  4 2004 07:10:48) $
     
root@localhost.localdomain:/usr/local/openldap-2.1.25/servers/slapd
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: initialized ldap:///
daemon_init: 1 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB
4.1.25: (December 19, 2002)
>>> dnNormalize: <cn=Subschema>
=> ldap_bv2dn(cn=Subschema,0)
<= ldap_bv2dn(cn=Subschema,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=subschema,272)=0
<<< dnNormalize: <cn=subschema>
error loading ucdata (error -127)
slapd shutdown: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.
[root@localhost openldap]# 

When I ran slapd -t to check my slapd.conf, this is
what I got:
# slapd -t
config check failed

Does anybody know what happen ?

FYI, I use Berkeley DB 4.1.25 and I haven't used
TLS/SSL yet...

Here is the copy of my slapd.conf

*******/usr/local/etc/openldap/slapd.conf********
[root@localhost openldap]# cat slapd.conf
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v
1.23.2.8 2003/05/24 23:19:14 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

loglevel        256
pidfile         /usr/local/var/slapd.pid
argsfile        /usr/local/var/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

database        bdb
suffix          "dc=carlasworld,dc=com"
rootdn          "cn=Manager,dc=carlasworld,dc=com"

# Use of strong authentication encouraged.
rootpw          secret

directory       /usr/local/var/openldap-data

Thanks in advance for the help,
Lara

=====
--------------------------------------------------------------------- 
Believe in miracles, but don't depend upon them 
----------------------------------------------------------------------



__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/