[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4103) Init script for Linux distributions and UNIX systems



--nextPart11536448.nN2LvCjETi
Content-Type: text/plain;
  charset="iso-8859-6"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thursday 20 October 2005 12:15, coudot@linagora.com wrote:
> Full_Name: Cl=E9ment OUDOT
> Version: 2.2.x, 2.3.x
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (82.225.22.177)
>
>
> Hi,
>
> If you're interested in an init script which works with every Linux
> distributions, and also UNIX systems, have a look on :
> http://www.linagora.org/article123.html
>
> I put a message in the FAQ-O-Matic. I know many people ask for such script
> after installing OpenLDAP, maybe it could be usefull to find it in the
> contrib folder ?

There are some issues/assumptions in this script:

1)That there is only one database, and that it is bdb/hdb

2)configuration testing can be done while slapd is running, and to me it ma=
kes=20
more sense to test the configuration file *before* stopping slapd (in the=20
restart switch), and to not stop slapd if configuration testing fails.=20
Testing it just before it is going to be tested anyway by slapd has no=20
additional benefit IMHO, whereas testing it before=20

(I haven't added config testing to the mandriva init script yet, but I will=
=20
add it that way instead).

BTW, the Mandriva init script may be of use, especially for (1):
http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/SPECS/openldap/ldap.init

I may have missed some other issues (and I preferred to have seperate scrip=
ts=20
for dealing with transaction logs, scripts are also available in the same c=
vs=20
location).

Regards,
Buchan

=2D-=20
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

--nextPart11536448.nN2LvCjETi
Content-Type: application/pgp-signature

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

iD8DBQBDWQ+ZrJK6UGDSBKcRAjr/AKC5dVyLEI52hVTn3tlCaxUBeZTiIQCgr7jI
t6OZ+rroucgn9zrPF5UfECA=
=etJ8
-----END PGP SIGNATURE-----

--nextPart11536448.nN2LvCjETi--