Re: [Bacula-users] checksumming problem

2007-07-01 Thread Kern Sibbald
On Monday 02 July 2007 01:21, Jon Wilson wrote: > I don't think I have turned off the output: > > [EMAIL PROTECTED] lib]$ grep OUTPUT_BASE64 md5.* > md5.c:#define OUTPUT_BASE64 1 > md5.c:#ifdef OUTPUT_BASE64 Yes, sorry I realized that after I sent the email. > > The problem is now that this: >

Re: [Bacula-users] checksumming problem

2007-07-01 Thread Jon Wilson
I don't think I have turned off the output: [EMAIL PROTECTED] lib]$ grep OUTPUT_BASE64 md5.* md5.c:#define OUTPUT_BASE64 1 md5.c:#ifdef OUTPUT_BASE64 The problem is now that this: >> So I have the following, which don't match: >> >> 1) System MD5sum from file on disk >> 2) Bacula md5sum, from fi

Re: [Bacula-users] checksumming problem

2007-06-30 Thread Kern Sibbald
Hello, Well, it looks like you turned off the code that prints out the result. Here it works fine for me. The code you want enabled is OUTPUT_BASE64. As you mentioned, it is probable that the calling sequence has changed, and I think you can just remove the last argument to bin_to_base64() o

Re: [Bacula-users] checksumming problem

2007-06-28 Thread Jon Wilson
Kern Sibbald wrote: >> [EMAIL PROTECTED] lib]# ./md5sum /path/to/datfix/2101.1.dat >> c4e8a6c211039eae6e94da1620b35581 >> >> Now compare this to the catalog in Mysql: >> >> mysql> select Filename.FilenameId,Path.Path,Filename.Name,File.MD5 from >> Path,File,Filename where Filename.Name='21

Re: [Bacula-users] checksumming problem

2007-06-28 Thread Kern Sibbald
Hello, On Thursday 28 June 2007 09:37, Jon Wilson wrote: > > Thanks Kern. > > Kern Sibbald wrote: > >> It seems like the checksumming and base64 encoding in the version of > >> Bacula we have is broken. We can't just run "md5sum" on the command line > >> and compare against what's in the Catalog

Re: [Bacula-users] checksumming problem

2007-06-28 Thread Jon Wilson
Thanks Kern. Kern Sibbald wrote: >> It seems like the checksumming and base64 encoding in the version of >> Bacula we have is broken. We can't just run "md5sum" on the command line >> and compare against what's in the Catalog. The bug report for this is >> here (fixed in newer releases): > > Th

[Bacula-users] checksumming problem

2007-06-25 Thread Kern Sibbald
Hello, > Date: Mon, 25 Jun 2007 11:54:35 +1000 > From: Jon Wilson <[EMAIL PROTECTED]> > Subject: [Bacula-users] checksumming problem > To: bacula-users@lists.sourceforge.net > Cc: Glen Davison <[EMAIL PROTECTED]> > Message-ID: <[EMAIL PROTECTED]> > Conte

[Bacula-users] checksumming problem

2007-06-24 Thread Jon Wilson
Hi, I have an "interesting" problem, regarding checksumming a large number of big files prior to a storage migration. We have a fairly old install of Bacula, v1.36, running on Redhat Enterprise Linux v3, with a MySQL 3.23 database. We are shortly going to upgrade our storage system. I want to c