[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap_bind: Can't contact LDAP server (-1)
- To: Kristen Walker <kwalker@sbceo.org>
- Subject: Re: ldap_bind: Can't contact LDAP server (-1)
- From: Michael Ströder <michael@stroeder.com>
- Date: Fri, 15 Aug 2008 01:15:56 +0200
- Cc: openldap-technical@openldap.org
- In-reply-to: <C4CA07B5.4299%kwalker@sbceo.org>
- References: <C4CA07B5.4299%kwalker@sbceo.org>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11
Kristen Walker wrote:
Kristen, please stay on the mailing list you started the thread. Don't
e-mail me solely personally.
Sorry about that.
Again: Please, use your "Reply to all" button!
Kristen Walker wrote:
Thanks for your help. I can't seem to be able to start the server with the
-d flag. Here is what I tried:
su root -c /usr/local/libexec/slapd -d 65535
I also tried:
su root -d 65535 -c /usr/local/libexec/slapd
And it complains in both cases that -d is an invalid option.
Using -d works for me. Which version of OpenLDAP is this?
Can you post any output it produces?
I am using openldap-2.3.39 on Ubuntu.
Here is the output:
su root -d 65535 -c /usr/local/libexec/slapd
su: invalid option -- d
Usage: su [options] [LOGIN]
Obviously this is wrong since you use option -d for the su command.
How about doing "su -" just to get root and then use
/usr/local/libexec/slapd -d 65535 [..other needed args..]
You also have to check your syslog and which user is running slapd normally.
Ciao, Michael.