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

From: Carlos Lorenzo Matés (clmates_at_mundo-r.com)
Date: Mon Feb 26 2007 - 21:55:47 CET


From: Carlos Lorenzo Matés <clmates@mundo-r.com>
Date: Mon, 26 Feb 2007 21:55:47 +0100
Message-Id: <200702262155.47620.clmates@mundo-r.com>
Subject: Re: [suse-sles-e] Changing startup sequence of a service


Hi

El Lunes, 26 de Febrero de 2007, shashi escribió:
> 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.

edit the /etc/init.d/snortd file (or the like), and in the begining of this
file you can relate the required services

HTH

-- 
Un Saludo.
Carlos Lorenzo Matés




This archive was generated by hypermail 2.1.7 : Tue Feb 27 2007 - 00:00:36 CET