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

quesiont about starting slapd

Peter Choe writes:
 > i just got openldap and installed in on FreeBSD system.  i believe
 > everything was installed correctly and i modified the slapd.conf to
 > change
 > the dn, dc, etc.
 > i followed the instruction about starting the slapd witht he command:
 > su root -c '/usr/local/libexec/slapd -f slapd.conf'

I believe that when you use the -f option you need to specify the full 
path to the slapd.conf file. If you've installed everything as default 
then your slapd.conf should be in /usr/local/etc/openldap and it
doesn't need to be specified on the command line. (Note: I don't know
if the FreeBSD install is any different in this regard than Solaris,
which is what I use.)

Bill A
 > when i check the process i don't see any process related to slapd.pid or
 > any
 > slapd related process.
 > i tried to do ldapadd and i get an error saying it can't connect to the
 > ldap.
 > how can i tell if i started the service?  is the command i put in
 > correct?
 > thanks for any help
 > peter choe