On Wednesday, 11 August 2010 01:17:11 -0300, Daniel Bareiro wrote: > > > It looks like you are running a 64-bit bacula-sd, so the libraries > > > should be in /usr/lib64. > > > > > > The files you found are in /usr/lib, which are normally 32-bit. > > > Either you have the 32-bit libraries installed by accident or the > > > 64-bit libraries are installed in the wrong place (broken rpm?).
> > Indeed, I'm using CentOS 5.5 amd64. I was not doing the installation > > with RPM packages, but compile the source code obtained at the > > official site of Bacula. On sunday, doing tests comparing with the > > installation done with packages RPM, I realized that the difference > > was in which the libraries were in /usr/lib64. > > > > Doing again the configuration using this time the > > --libdir=/usr/lib64 parameter, the problem was not reproduced. What > > it is strange to me is that in an installation of Debian Lenny > > amd64, I didn't do the configuration using --libdir=/usr/lib64 and > > in spite of putting the libraries in /usr/lib, I did not have the > > problem occurred in CentOS. > I already found the cause: > > # ll /usr/lib > lib/ lib32/ lib64/ > # ll -d /usr/lib > drwxr-xr-x 41 root root 20480 ago 8 01:56 /usr/lib > # ll -d /usr/lib32 > lrwxrwxrwx 1 root root 24 abr 11 2009 /usr/lib32 -> /emul/ia32-linux/usr/lib > # ll -d /usr/lib64 > lrwxrwxrwx 1 root root 3 abr 11 2009 /usr/lib64 -> lib Just now I can return to this thread after several days in which I was busy with other things. Well, after having found and determined the cause of the problem with the libraries, to try to make a backup of the catalog I get the following error: ----------------------------------------------------------------------- 29-ago 17:03 bacula-dir JobId 51: shell command: run BeforeJob "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" 29-ago 17:03 bacula-dir JobId 51: BeforeJob: Can't get catalog information at /etc/bacula/scripts/make_catalog_backup.pl line 129. 29-ago 17:03 bacula-dir JobId 51: Error: Runscript: BeforeJob returned non-zero status=13. ERR=Child exited with code 13 29-ago 17:03 bacula-dir JobId 51: Error: Bacula bacula-dir 5.0.2 (28Apr10): 29-ago-2010 17:03:52 ----------------------------------------------------------------------- Assuming it was a permissions problem accessing the database, locate the line in question (108): exec("HOME='$wd' mysqldump -f --opt $args{db_name} > '$wd/$args{db_name}.sql'"); and I tried to pass a configuration file so that from this the data are taken: exec("HOME='$wd' mysqldump --defaults-file=/etc/bacula/.my_bacula.cnf -f \ --opt $args{db_name} > '$wd/$args{db_name}.sql'"); but I continue getting the same error. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users