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

Re: ldap_bind: Can't contact LDAP server (-1)

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.