Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2010 23:07:41 +0100
From:      Julian Fagir <gnrp@gnrp.in-berlin.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: version of slapd?
Message-ID:  <20101104230741.0a0ab4ca@adolfputzen>
In-Reply-To: <AANLkTimLmy6Hrzonw4rB3KS5CTzhxGqmWvdbC_U%2BfSq9@mail.gmail.com>
References:  <AANLkTimLmy6Hrzonw4rB3KS5CTzhxGqmWvdbC_U%2BfSq9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_//6Qow+LZeZTU8kKzarKAQdW
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi,

> [root@LBSD2:/usr/home/bluethundr]#/usr/local/etc/rc.d/slapd -V
> /usr/local/etc/rc.d/slapd: unknown directive '-V'.
> Usage: /usr/local/etc/rc.d/slapd
> [fast|force|one](start|stop|restart|rcvar|status|poll)
> [root@LBSD2:/usr/home/bluethundr]#su - root
> Password:
> Last login: Thu Nov  4 18:44:15 on pts/0
> LBSD2# slapd -V
> slapd: Command not found.

slapd is located in libexec of your local directory, i.e.=20
/usr/local/libexec/slapd
which is usually not in your PATH.
The rc.d-script is just the startfile, not the executable itself.

Alternatively, you can look at the version of your installed package, e.g.
pkg_info | grep openldap


Regards, Julian

--Sig_//6Qow+LZeZTU8kKzarKAQdW
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkzTLq0ACgkQc7h7cu1Hpp6VTgCgswd1Gnv810CjTRbxZDYzUQZ1
Bf4AoIUpCNuqVt4foRNEECxZzoXDCHyr
=ep6w
-----END PGP SIGNATURE-----

--Sig_//6Qow+LZeZTU8kKzarKAQdW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101104230741.0a0ab4ca>