Re: [Bacula-users] Client Run Before Job script failing.

2006-06-09 Thread Will McDonald
> I I said before, I'll try a wrapper and see if that bypasses the > environmental problems my scripts are having running directly by the > File Daemon. Just for the archives, calling a simple wrapper script in Client Run Before Job which in turn called the backup_mysql script (and the backup scri

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-08 Thread Will McDonald
On 07/06/06, Scott Ruckh <[EMAIL PROTECTED]> wrote: > >> I am using, > >> http://worldcommunity.com/opensource/utilities/mysql_backup.html, to > >> backup my databases from Bacula Director (ClientRunBeforeJob). > >> > >> ClientRunBeforeJob= "/usr/local/bin/mysqlbackup/mysqlbackup.pl" > >> > >> This

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-08 Thread Will McDonald
On 07/06/06, Georger Araujo <[EMAIL PROTECTED]> wrote: > Possible solutions below. > > 1. Try sudo. That's a possibility. All hosts have a standardised sudo config, adding in a few entries for backing databases would be do-able. > 2. How do you connect to MySQL locally, TCP/IP or > socket? In tha

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-07 Thread Georger Araujo
Possible solutions below. 1. Try sudo. 2. How do you connect to MySQL locally, TCP/IP or socket? In that case, you might want to log into MySQL as root and SELECT User, Host, Password FROM mysql.user; to see if your passwords are OK. My output is as follows: ++-+

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-07 Thread Scott Ruckh
-- > The Bacula Director and Storage daemons are running as bacula on the > backup server. The Bacula File Daemon running on the clients is > running as use root, group bacula. As the script's running on the > client I'd have thought it'd execute as root, and it is. > >> I am using, >> http://wo

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-07 Thread Will McDonald
On 07/06/06, Scott Ruckh <[EMAIL PROTECTED]> wrote: > This is what you said Will McDonald > > Hi all. Tried to send this mail yesterday and it appeared to bounce. > > Apologies if this is a duplicate. > > > > I have a problem with a Client Run Before Job script to backup MySQL > > databases which i

[Bacula-users] Client Run Before Job script failing.

2006-06-07 Thread Will McDonald
Hi all. I have a problem with a Client Run Before Job script to backup MySQL databases which is only occurring when it's called by Bacula. On the Director I have: [EMAIL PROTECTED] scripts]# cat /etc/redhat-release; rpm -qa | grep bacula; ps aux | grep [b]acula CentOS release 4.3 (Final) bacula-

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-07 Thread Scott Ruckh
-- This is what you said Will McDonald > Hi all. Tried to send this mail yesterday and it appeared to bounce. > Apologies if this is a duplicate. > > I have a problem with a Client Run Before Job script to backup MySQL > databases which is only occurring when it's called by Bacula. > > On the Di

[Bacula-users] Client Run Before Job script failing.

2006-06-07 Thread Will McDonald
Hi all. Tried to send this mail yesterday and it appeared to bounce. Apologies if this is a duplicate. I have a problem with a Client Run Before Job script to backup MySQL databases which is only occurring when it's called by Bacula. On the Director I have: [EMAIL PROTECTED] scripts]# cat /etc/r