From: Denis Bondar <bondario@gmail.com>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] openldap init script vs slapd daemon
Date: Tue, 12 Oct 2010 10:59:41 +0400 [thread overview]
Message-ID: <AANLkTimEjCa35wh88DmAMe1MnwL4iXXxLxS7BwMQVpq7@mail.gmail.com> (raw)
In-Reply-To: <201010120118.17100.tangonights@yahoo.it>
[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]
May be in ${OPTS}?
Try to look /etc/conf.d/slapd
What's the logs says?
2010/10/12 <tangonights@yahoo.it>
> Hi everybody!
>
> I just installed a ldap server, but no way to get the init script working,
> while the daemon works perfectly:
>
> # /usr/lib/openldap/slapd -u ldap -g ldap
>
> runs ok, but the script don't:
>
> #!/sbin/runscript
> # Copyright 1999-2004 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> # $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd-initd2,v
> 1.1
> 2010/04/11 15:14:48 jokey Exp $
>
> depend() {
> need net
> before dbus hald avahi-daemon
> provide ldap
> }
>
> start() {
> ebegin "Starting ldap-server"
> eval start-stop-daemon --start --pidfile /var/run/openldap/slapd.pid
> --
> exec /usr/lib/openldap/slapd -- -u ldap -g ldap "${OPTS}"
> eend $?
> }
>
> stop() {
> ebegin "Stopping ldap-server"
> start-stop-daemon --stop --signal 2 --quiet --pidfile
> /var/run/openldap/slapd.pid
> eend $?
> }
>
> could anybody tell me where the (fatal) differences lie?
>
> thanks,
> Stefano
>
>
--
Kind regards,
Denis Bondar
[-- Attachment #2: Type: text/html, Size: 1645 bytes --]
next prev parent reply other threads:[~2010-10-12 7:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 23:18 [gentoo-server] openldap init script vs slapd daemon tangonights
2010-10-12 6:59 ` Denis Bondar [this message]
2010-10-12 8:25 ` tangonights
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimEjCa35wh88DmAMe1MnwL4iXXxLxS7BwMQVpq7@mail.gmail.com \
--to=bondario@gmail.com \
--cc=gentoo-server@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox