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

Re: slapd exits with no logging (ITS#1666)

This may be a small issue, it might help to consistantly prefix the 
actually error messages with some type of marker eg. "ERROR:" or "WARNING:".


index sn 0x0716
index uid 0x0716
ERROR: /usr/local/etc/openldap/slapd.conf: line 69: duplicate index
definition for attr
"uid" (ignored)
slapd shutdown: freeing system resources.


hyc@highlandsun.com wrote:
> With the log you attached the problem *is* logged - you have specified
> indexing for the "uid" attribute twice. The "(ignored)" part of the message
> is wrong, this error is not ignored but is treated as a fatal error.
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support 
>>-----Original Message-----
>>From: owner-openldap-bugs@OpenLDAP.org
>>[mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
>>Full_Name: Michael D. Risser
>>Version: 2.0.23
>>OS: Red Hat 7.2
>>URL: ftp://ftp.openldap.org/incoming/
>>Submission from: (NULL) (
>>slapd exits without logging or giving a reason for exiting.
>>$: slapd -d 255                                                   
>>                                  @(#) $OpenLDAP: slapd 
>>2.0.23-Release (Fri Mar
>>22 13:33:30 EST 2002) $
>>line 68 (index uid pres,eq)
>>index uid 0x0006
>>line 69 (index cn,sn,uid pres,eq,sub)
>>index cn 0x0716
>>index sn 0x0716
>>index uid 0x0716
>>/usr/local/etc/openldap/slapd.conf: line 69: duplicate index 
>>definition for attr
>>"uid" (ignored)
>>slapd shutdown: freeing system resources.
>>slapd stopped.
>>connections_destroy: nothing to destroy.

http://linuxquestions.org/ - Ask linux questions, give linux help.
http://splint.org/ - Write safe C code. splint source-code analyzer.