Issue 668 - Unhelpful error message
Summary: Unhelpful error message
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-08-17 19:31 UTC by eric@ypass.net
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kurt Zeilenga 2000-08-17 16:03:21 UTC
changed notes
changed state Open to Closed
moved from Incoming to Development
Comment 1 eric@ypass.net 2000-08-17 19:31:33 UTC
Full_Name: Eric Kilfoil
Version: 1.2.11
OS: Solaris 7
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (216.87.82.225)


There's an ambigous error message in slurpd's sanity() function.  The problem
arises when slapd.conf does not contain a "replogfile" directive.  The error
message you get is:

Error: : directory does not exist

Perhaps in the sanity() check, you can see if the replogfile slapd.conf
directive exists, and if not, error out with an error message similar to:

Error: replogfile directive not defined in slapd.conf

Another small thing i've noticed that even after you define the replogfile
directive in slapd.conf, the server does not actually open (ie create) that file
until a modification is made.  You may want to have the slapd server at least
touch that file on startup.

Thanks for the great software!

Eric
Comment 2 Kurt Zeilenga 2000-08-17 22:59:50 UTC
I've clarified a number of error messages in 2.0-devel...
        Kurt

At 07:31 PM 8/17/00 +0000, you wrote:
>Full_Name: Eric Kilfoil
>Version: 1.2.11
>OS: Solaris 7
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (216.87.82.225)
>
>
>There's an ambigous error message in slurpd's sanity() function.  The problem
>arises when slapd.conf does not contain a "replogfile" directive.  The error
>message you get is:
>
>Error: : directory does not exist
>
>Perhaps in the sanity() check, you can see if the replogfile slapd.conf
>directive exists, and if not, error out with an error message similar to:
>
>Error: replogfile directive not defined in slapd.conf
>
>Another small thing i've noticed that even after you define the replogfile
>directive in slapd.conf, the server does not actually open (ie create) that file
>until a modification is made.  You may want to have the slapd server at least
>touch that file on startup.
>
>Thanks for the great software!
>
>Eric

Comment 3 OpenLDAP project 2014-08-01 21:05:27 UTC
fixed in 2.0