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

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



Lara Adianto <m1r4cle_26@yahoo.com> writes:

> 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) $
[...]
> error loading ucdata (error -127)
> slapd shutdown: freeing system resources.
> slapd stopped.
> connections_destroy: nothing to destroy.
> [root@localhost openldap]# 
[...]
> 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
[...]

add ucdata path to slapd.conf

ucdata-path     /usr/local/share/openldap/ucdata
include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/misc.schema

-Dieter
-- 
Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter(at)dkluenter.de
http://www.avci.de