List Info

Thread: Slapd command line usage




Slapd command line usage
user name
2007-01-18 16:10:39
Hi all. 

I am looking to run the slapd process in the foreground on a
Unix
system, so I can be notified immediately if it dies...

Looking at the usage of the "start-slapd"
command:
usage: ns-slapd -D instancedir [-d debuglevel] [-i
pidlogfile] [-v] [-V]

There's no real guidance as to how the -d option works (i.e.
what levels
it supports), but experimentally, we've determined that -d 0
will run
the process and not fork/exit into the background.  Is this
behavior
known, and should we count on it?  Is there a better way to
get the
slapd to stay in the foreground?  Finally, what debug levels
are
available, and what do they mean?

Thanks!

-- 
Mike Mueller
mikesubfocal.net

--
Fedora-directory-users mailing list
Fedora-directory-usersredhat.com
https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users

Re: Slapd command line usage
user name
2007-01-18 16:44:26
-- Fedora-directory-users mailing list Fedora-directory-usersredhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Re: Slapd command line usage
user name
2007-01-19 10:21:44
Mike Mueller wrote:
> Hi all. 
> 
> I am looking to run the slapd process in the foreground
on a Unix
> system, so I can be notified immediately if it dies...
> 
> Looking at the usage of the "start-slapd"
command:
> usage: ns-slapd -D instancedir [-d debuglevel] [-i
pidlogfile] [-v] [-V]
> 
> There's no real guidance as to how the -d option works
(i.e. what levels
> it supports), but experimentally, we've determined that
-d 0 will run
> the process and not fork/exit into the background.  Is
this behavior
> known, and should we count on it?  Is there a better
way to get the
> slapd to stay in the foreground?  Finally, what debug
levels are
> available, and what do they mean?
> 
> Thanks!
> 

See this howto I wrote for details about running in the
foreground:

http://directory.fedora.redhat.com/wiki/Howtoaemontoo
ls


And with daemontools, it will be restarted immediately if it
dies.


Mike
-- 
http://www.netauth.com
- LDAP Directory Consulting

--
Fedora-directory-users mailing list
Fedora-directory-usersredhat.com
https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )