pedro moreno wrote:
On 4/24/06, DAve <[EMAIL PROTECTED]> wrote:
pedro moreno wrote:
  Hi people.

    I already install bacula 1.38.8 no FreeBSD setup my /etc/rc.conf
file to
start bacula, that method is very good, but i have some problems every
time
i restart my system or try to stop
the bacula-dir.daemon.

1; Every time that my system boots he try to start bacula first and
latter
mysql, bacula depends of mysql, and for this little reason the daemon
fails
to start, just start the fd and sd daemons.
   Solution: start the daemon manually or create a script to start the
daemon.
If I understand you correctly the solution is quite simple. In your
/usr/local/etc/rc.d directory rename your scripts.

I rename my scripts with a number prefix to the order I want them
started. Example,

000.mysql-client.sh.OFF
100.mysql-server.sh
600.darwin_streaming_server.sh
700.proftpd.sh
800.apache.sh
996.streamingadminserver.sh.OFF
998.rsyncd.sh.OFF
999.bacula.sh

FreeBSD ports maintainers *could* do this during the install, provided
they had some way of knowing what order you needed things started in,
which they don't.

man rc.d will explain it quite well.

DAve

  Yes that was the solution + man rc.d.

     The only thing now is to know why sometimes /usr/local/etc/rc.d/bacula-
dr.sh stop sometimes dosent kill the daemon and others success.  80%Fail
20%Success...?


Read the start script and try running the commands manually. This almost always shows the problem to me.

Keep in mind though that your login environment and the scripts environment are almost certainly different. So just because it works for you manually, does not mean it will always work for the script!

DAve

--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

Your monkeys may vary


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to