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

Re: Crash at SLAPD startup



----- Original Message -----
From: Gary Williams <sasgwi@wnt.sas.com>
To: 'Louis Simon' <louis@vircom.com>; Ldap devel list
<openldap-devel@OpenLDAP.org>
Sent: Wednesday, August 04, 1999 4:02 PM
Subject: RE: Crash at SLAPD startup


> I just pushed a fix that I think fixes this.  It's in
libraries/liblutil/ntservice.c.  The problem is
> the urls are NULL, and a copy is attempted without testing it first.  If
you want to try to
> get around it without getting new source, try starting slapd with
>
> slapd -h ldap:/// <ldap:///>
>
> That might get you through the problem.
>

Yep, it sure did!

I got 2 more things to ask:

First, I tough that slapd would run has a service. It does not show up in
the services list.
Second, How do you stop it? ( do you have to kill it or is there a more
gentle way? )

Tks

Louis


> -----Original Message-----
> From: Louis Simon [mailto:louis@vircom.com]
> Sent: Wednesday, August 04, 1999 3:37 PM
> To: Ldap devel list
> Subject: Crash at SLAPD startup
>
>
> Hi,
> I got a problem when i execute slapd.exe. I will do a resume of what i
did.
>
> I compiled the slapd project ( Debug ) under Windows NT4 with Visual
Studio 6.0.
>
> Created a folder to put the files i need to run the slapd server.
> D:\jenova
>
> The folder contains:
> hs_regex.dll
> libdb.dll
> slapd.conf
> slapd.exe
> slapd.at.conf
> slapd.oc.conf
>
> And i have created another directory required by the file slapd.conf:
> D:/LDAP_ext/data
>
> The folder contains:
> cn.dbb
> dn.dbb
> dn2id.dbb
> id2children.dbb
> id2entry.dbb
> NEXTID
> objectclass.dbb
> sn.dbb
> uid.dbb
>
> Now, from this folder ( d:\jenova ) i run slapd this way:
>
> slapd -p 389 -f slapd.conf
>
> Everyting seems to work fine, but it crashes at this point:
> ....
> ....
> ....
> ACL: access to dn=.*,o=Telecom Italia
>  attrs=userPassword
>         by self
>         by dn=.*
>
> slapd startup: initiated.
> slapd starting
>
>
> crash.......
>
> The error is "slapd.exe - Application Error" bla bla bla...
>
> Here are a sample of my  .conf  files.
>
> Any ideas?
>
> Tks
>
> Louis
>