Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-server
May be in ${OPTS}?<div><br></div><div>Try to look /etc/conf.d/slapd</div><div>What's the logs says?</div><div><br><div class="gmail_quote">2010/10/12 <span dir="ltr"><<a href="mailto:tangonights@...">tangonights@...</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi everybody!<br>
<br>
I just installed a ldap server, but no way to get the init script working,<br>
while the daemon works perfectly:<br>
<br>
# /usr/lib/openldap/slapd -u ldap -g ldap<br>
<br>
runs ok, but the script don't:<br>
<br>
#!/sbin/runscript<br>
# Copyright 1999-2004 Gentoo Foundation<br>
# Distributed under the terms of the GNU General Public License v2<br>
# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd-initd2,v 1.1<br>
2010/04/11 15:14:48 jokey Exp $<br>
<br>
depend() {<br>
need net<br>
before dbus hald avahi-daemon<br>
provide ldap<br>
}<br>
<br>
start() {<br>
ebegin "Starting ldap-server"<br>
eval start-stop-daemon --start --pidfile /var/run/openldap/slapd.pid --<br>
exec /usr/lib/openldap/slapd -- -u ldap -g ldap "${OPTS}"<br>
eend $?<br>
}<br>
<br>
stop() {<br>
ebegin "Stopping ldap-server"<br>
start-stop-daemon --stop --signal 2 --quiet --pidfile<br>
/var/run/openldap/slapd.pid<br>
eend $?<br>
}<br>
<br>
could anybody tell me where the (fatal) differences lie?<br>
<br>
thanks,<br>
Stefano<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Kind regards,<br>Denis Bondar<br>
</div>
|
|