Re: [Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-11-02 Thread Eric Bollengier
On Thursday 01 November 2007 22:22:40 Dane Miller wrote: > Eric Bollengier wrote: > > IHMO, i think that the script doesn't close stderr, stdout and stdin > > properly. > > Hey you're right! stderr is the culprit here. The following Client Run > After Job script works around the problem: > > #!/b

Re: [Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-11-01 Thread Dane Miller
Eric Bollengier wrote: > IHMO, i think that the script doesn't close stderr, stdout and stdin > properly. Hey you're right! stderr is the culprit here. The following Client Run After Job script works around the problem: #!/bin/sh # AfterScript.sh /usr/local/etc/rc.d/mysql-server start 2> /dev/n

Re: [Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-11-01 Thread Eric Bollengier
Hi, > I added "Client Run Before/After Job" scripts to two backup jobs in > order to stop/start mysql. But the "After" script seems to hang the > bacula-fd. Using 'status dir', the bacula console shows a terminated > status for these jobs, and the command 'list jobs' shows their status as > 'R'.

Re: [Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-10-30 Thread Dane Miller
Interesting... I've been testing this manually and have more info. When bacula-fd is hung, I can fix it by stopping mysql. As soon as I stop mysql, the bacula job completes successfully. Also, it doesn't matter if my fileset includes mysql's data directory or not. For example, if I set my fil

Re: [Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-10-30 Thread Dane Miller
Michael Lewinger wrote: > Is bacula running as root or "bacula" user ? "bacula" user cannot restart > mysql. Thanks Michael. bacula-fd is running as root. Also note that it *does* stop and start mysql, but hangs after-wards (see the job output from my o.p. below) Dane > On 10/30/07, Dane Mill

Re: [Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-10-30 Thread Michael Lewinger
Hi Dane, Is bacula running as root or "bacula" user ? "bacula" user cannot restart mysql. Michael On 10/30/07, Dane Miller <[EMAIL PROTECTED]> wrote: > Hi, > > I added "Client Run Before/After Job" scripts to two backup jobs in > order to stop/start mysql. But the "After" script seems to hang t

[Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-10-30 Thread Dane Miller
Hi, I added "Client Run Before/After Job" scripts to two backup jobs in order to stop/start mysql. But the "After" script seems to hang the bacula-fd. Using 'status dir', the bacula console shows a terminated status for these jobs, and the command 'list jobs' shows their status as 'R'. The scrip