Thanks everyone. The permission denied error below started to occur when I followed the instruction and cleaned up the bacula.sql file.
12-Jan 05:39 babar-dir JobId 1639: shell command: run BeforeJob "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
12-Jan 05:39 babar-dir JobId 1639: BeforeJob: sh: cannot create /var/lib/bacula/bacula.sql: Permission denied
12-Jan 05:39 babar-dir JobId 1639: Error: Runscript: BeforeJob returned non-zero status=2. ERR=Child exited with code 2
12-Jan 05:39 babar-dir JobId 1639: Error: Bacula babar-dir 5.0.1 (24Feb10): 12-Jan-2012 05:39:13
These were the commands I ran to cleanup the database:
mysqldump -f --opt bacula > bacula.sql
mysql bacula < bacula.sql
rm -f bacula.sql
How can I test and find out what's wrong here? When I had shut down the backup server, everything was fine. Looks like something is holiding up the servers until 8 AM or so, just can't tell what that is.
I'd appreciate your help,
h
From: bwalton < at > artsci.utoronto.ca
To: bacula-users < at > lists.sourceforge.net
Date: Thu, 12 Jan 2012 10:33:32 -0500
Subject: Re: [Bacula-users] Bacula database is getting too long
Excerpts from Martin Simmons's message of Thu Jan 12 10:25:02 -0500 2012:
The mail server's name is Gauss and although I have it setup babar
(name of the backup server where has bacula installed) to start at
20:05 every night, the mail server will not be accessible until
8:15 AM and by that I mean people at work cannot get their
messages or send messages because the server is not responding.
This is very unlikely to be caused by Bacula.
Agreed, but if there are, say, network issues, bacula could exacerbate
a problem that flies under the radar during normal operation. I'd be
checking the network settings on every device from the NIC to the
backup server and running some performance tools while bacula is not
active to see if you experience the same degradation.
HTH
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
