----------

In reply to Dan Langille who wrote:
 
> On 1 May 2005 at 21:52, dave wrote:
> 
> >     I've got a working bacula install running on a FreeBSD 5.3 system
> >     with a
> > mysql database. My problem is on boot bacula starts before mysql,
> > generating an error, the director tries to access mysql, which doesn't
> > happen. Once the system is booted i manually start bacula and all is
> > good. Has anyone else seen this? Thanks. Dave.
> 
> Yes.  Solve the problem with this:
> 
>    cd /usr/local/etc/rc.d
>    mv bacula.sh z-bacula.sh
> 
> Actually, I think we should put this into the port.
> 
> Any files in that directly, which are +x and end with .sh will be 
> run, in alphabetically ar startup.
> 
> Lars:  I don't know of any other way to achieve this.  Do you?

That's the weekness of the "old" BSD startup concept. At home I always 
move the scripts to something like:

  400.mysql.sh
  600.bacula.sh
  700.httpd.sh
  800.imapd.sh

Or something similar. So I have to look into /usr/local/etc/rc.d/ after 
each new install or portupgrade .... :-(

The problem for the port ist not that I have to implement and test an 
upgrade procedure for renaming bacula.sh to z-bacule.sh ....

I will have a look at it, but it's really an ugly workaround!

Best regards

Lars

-- 
 Dr. Lars Köller \   E-Mail : [EMAIL PROTECTED]
  Leitung Systeme \  Tel: +49 521/106-4964, FAX: +49 521/106-154964
  u. Serverdienste \ PGP-Key: http://www.uk.pgp.net/pgpnet/wwwkeys.html
--------- FreeBSD, what else? ----- http://www.de.freebsd.org ---------



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to