Re: [suse-sles-e] Changing startup sequence of a service

From: Anton Dischner (Anton.Dischner_at_med.uni-muenchen.de)
Date: Tue Feb 27 2007 - 11:12:49 CET


Message-Id: <10119A51-7D6F-4236-9807-71787811B848@med.uni-muenchen.de>
From: Anton Dischner <Anton.Dischner@med.uni-muenchen.de>
Date: Tue, 27 Feb 2007 11:12:49 +0100
Subject: Re: [suse-sles-e] Changing startup sequence of a service

Hi,

see man insserv and /etc/insserv.conf to configure script dependencies.

Make entries in your start/stop scripts for example:

Required-Start: $xinetd $oracle $lampp

kind regards,

Toni

Am 26.02.2007 um 16:49 schrieb shashi:

> Hi All,
>
> I have configured snort in SLES9, and it logs all information in
> MySQL database. My problem is, whenever the system boots, the snort
> won't starts, and it throws a error message "unable to connect
> MySQL database". The reason is, in the booting sequence, the snort
> starts before MySQL is UP. The snort is starting at S07snort and
> MySQL is starting at S12mysql. So, i have moved S07snort to
> S18snort, after rebooting the box, snort will work fine and it will
> log all information in MySQL database, but, this works for next one
> or two days only. After, the system automatically moves S18snort to
> S07snort, and i will comeback to the same problem. I am not
> understanding about which one is responsible for moving S18snort to
> S07snort. Can anyone help me on this? . Thank you.
>
> -- Shashi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
> For additional commands, e-mail: suse-sles-e-help@suse.com
>

-- 
+-----------------------------------------------------------------+
| Anton Dischner, Unix admin, Oracle-DBA    Phone: +49 89 70953202|
| Institut fuer Klinische Chemie            Fax  : +49 89 70958888|
| Klinikum Grosshadern                      Home : +49 89 69708766|
| Ludwig Maximilians Universitaet Muenchen  Mobil: +49 172 8388880|
| 81366 Muenchen Germany                                          |
| Marchioninistr. 15    Anton.Dischner"at"med.uni-muenchen.de     |
+-----------------------------------------------------------------+
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com


This archive was generated by hypermail 2.1.7 : Tue Feb 27 2007 - 13:17:11 CET