<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
yes I did<br>
#update-rc.d slapd defaults<br>
<br>
Basically, the problem seems to be that <br>
service slapd start DOESN'T WORK, while<br>
/etc/init.d/slapd start WORKS FINE<br>
<br>
I know exactly WHERE the problem comes from, but I have no idea how
to fix it<br>
<br>
The problem comes from my configuration options when I installed
OpenLDAP<br>
#./configure --with-sql<br>
<br>
When I install OpenLDAP without that "--with-sql" flag, everything
works fine and #service slapd start works fine<br>
<br>
Le 26/01/2013 02:53, chris a écrit :
<blockquote
cite="mid:CAKnNFz8AAZZOwHsjRdAxgHV4h70O=MyT5o0vN+o1-B5CzJgJ3A@mail.gmail.com"
type="cite">
<p dir="ltr">Did you run update-rc.d to update the symlinks in
each run level </p>
<div class="gmail_quote">On Jan 25, 2013 8:11 PM, "Benin
Technologies" <<a moz-do-not-send="true"
href="mailto:benintechnologies@yahoo.fr">benintechnologies@yahoo.fr</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
hi,<br>
<br>
thanks for your reply<br>
<br>
That's what I thought too, but I don't think it has something
to do with dependencies. Below some commands I run once Debian
is up and running, and once I'm already logged in :<br>
<br>
# /etc/init.d/slapd start<br>
Starting OpenLDAP: slapd (just to check
that my init.d/slapd script works)<br>
<br>
# /etc/init.d/slapd stop<br>
Stopping OpenLDAP: slapd<br>
<br>
# service slapd start<br>
Starting OpenLDAP: failed ==> so I'm
unable to run slapd with service<br>
<br>
# /etc/init.d/slapd<br>
Starting OpenLDAP: slapd<br>
<br>
# service slapd stop<br>
Stopping OpenLDAP: slapd ==> but it can be
stopped with service<br>
<br>
<br>
I can start slapd with my init.d script, but I'm unable to
start it with the service command<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Le 26/01/2013 01:19, <a moz-do-not-send="true"
href="mailto:berenger.morel@neutralite.org" target="_blank">berenger.morel@neutralite.org</a>
a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 25.01.2013 23:16, Benin Technologies a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Running Debian 6.0.4<br>
<br>
Does anybody have an idea why a program wouldn't start at
boot, while<br>
it's init.d script works fine ?<br>
<br>
I experience the problem with OpenLDAP 2.4.33, when
compiled with back-sql :<br>
<br>
/etc/init.d/slapd start WORKS FINE<br>
# update rc.d slapd defaults<br>
<br>
At boot, I got "Starting OpenLDAP: slapd failed!"<br>
</blockquote>
<br>
Maybe init try to start slapd when one of it's dependencies
is not started yet? I think you can check that by looking
into /etc/rc.X, where X is your current runlevel. IIRC,
having a "file" (a symlink in fact) named with K means
disabled, and S means enable. The file name represent the
priority.<br>
<br>
I might be totally wrong, so please wait for confirmation or
do some researches about init before playing with that stuff
;)<br>
<br>
<br>
</blockquote>
<br>
<br>
-- <br>
To UNSUBSCRIBE, email to <a moz-do-not-send="true"
href="mailto:debian-user-REQUEST@lists.debian.org"
target="_blank">debian-user-REQUEST@lists.debian.org</a>
with a subject of "unsubscribe". Trouble? Contact <a
moz-do-not-send="true"
href="mailto:listmaster@lists.debian.org" target="_blank">listmaster@lists.debian.org</a><br>
Archive: <a moz-do-not-send="true"
href="http://lists.debian.org/51032D20.3030401@yahoo.fr"
target="_blank">http://lists.debian.org/51032D20.3030401@yahoo.fr</a><br>
<br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>