Re: [Bacula-users] bacula-dir won't start from a script

2007-02-28 Thread Beren
Hi Arno, I'm using bacula-mysql-2.0.2-1.el3.i386.rpmon RedHat Advanced Server v3. Bacula v1.38.1 worked fine. I tried with #!/bin/bash in the start of my script. On 27/02/07, Arno Lehman

Re: [Bacula-users] bacula-dir won't start from a script

2007-02-27 Thread Jason King
First of all, we need to know what OS you are trying this on. Secondly, when you create a script you need to tell the script which shell you will be using in the first line of the script: #!/bin/bash or something like that. Take a look at some of your other shell scripts. Also if you are using

Re: [Bacula-users] bacula-dir won't start from a script

2007-02-27 Thread Arno Lehmann
Hi, On 2/27/2007 6:07 PM, Beren Gamble wrote: > Hi Bill, > > I tried the command... no help really :) Which OS do you use, and where does the Bacula installation come from? Packages, compiled yourself, whatever... also, has the start script been modified by you? Arno -- IT-Service Lehman

Re: [Bacula-users] bacula-dir won't start from a script

2007-02-27 Thread Beren Gamble
Hi Bill, I tried the command... no help really :) [EMAIL PROTECTED] bacula]# cat bacrestart /etc/bacula/bacula restart /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf [EMAIL PROTECTED] bacula]# sh -x bacrestart + /etc/bacula/bacula restart Stopping the Bacula File daemon Stopping the Bacula

Re: [Bacula-users] bacula-dir won't start from a script

2007-02-27 Thread Bill Moran
In response to Beren <[EMAIL PROTECTED]>: > Hi Guys, > > The bacula startup script won't start the director, however typing > "bacula-dir -c /etc/bacula/bacula-dir.conf" works fine. > > I tried putting this line into a script and running it: > > /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.co

[Bacula-users] bacula-dir won't start from a script

2007-02-27 Thread Beren
Hi Guys, The bacula startup script won't start the director, however typing "bacula-dir -c /etc/bacula/bacula-dir.conf" works fine. I tried putting this line into a script and running it: /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf It also didn't work...however, if I type it in the com