Can't /.../rc.d/slapd.sh start

Aaron aaron at justaaron.com
Sun Nov 9 18:15:24 PST 2003


Hmmm, I just noticed this in the debug output from slapd.sh

+ /usr/local/libexec/slapd -u ldap -g ldap
+ _return=1
+ [ 1 -ne 0 ]
+ [ -z  ]

I tried running slapd as above from the command line and failed.

I ran slapd just as straight root, and it worked as expected.  Then to 
shut down slapd I ran this:

/usr/local/etc/rc.d/slapd.sh stop

and that worked.

So, the problem is related to slapd.sh running libexec/slapd with -u 
ldap -g ldap, together with whatever configuration problems I have. 
Looking into it.

-- 
Aaron
aaron at justaaron.com



More information about the freebsd-questions mailing list