On 10/31/11 08:00, Phil Stracchino wrote: > This is unfortunately a 32-bit Bacula build because I can't seem to > figure out how to get a clean 64-bit build of Bacula on Solaris 10.
Update: Thanks to Marco van Wieringen, I now have a working 64-bit Solaris build using native Sun cc. The working configure invocation: CC=/usr/bin/cc CXX=/usr/bin/CC CFLAGS='-fast -xarch=generic -xtarget=generic -xcache=generic -m64' CPPFLAGS='-fast -xarch=generic -xtarget=generic -xcache=generic -m64' LDFLAGS='-m64' ./configure --prefix=/opt/bacula --with-dump-email=r...@caerllewys.net --with-job-email=r...@caerllewys.net --with-smtp-host=smtp.caerllewys.net --with-subsys-dir=/opt/bacula/var --with-working-dir=/opt/bacula/var --with-mysql=/opt/mysql/mysql This build is running MUCH faster. It's gotten further in the last 20 minutes since I restarted it than it got in the eighteen hours before I killed the original run. I just had it report a failed UPDATE, but I think it's because I didn't clear the DB before restarting it, so I've just dropped the DB and restarted it again, and will continue to monitor for any issues. =CUT For those interested: bscan: bscan.c:1191 Could not update JobId=5660 record. ERR=sql_update.c:196 Update failed: affected_rows=0 for UPDATE Job SET JobStatus='T',EndTime='2011-09-05 06:45:24',ClientId=2,JobBytes=1320961776,ReadBytes=0,JobFiles=160611,JobErrors=0,VolSessionId=141,VolSessionTime=1312550682,PoolId=1,FileSetId=1,JobTDate=1315219524,RealEndTime='2011-09-05 06:45:24',PriorJobId=0,HasBase=0,PurgedFiles=0 WHERE JobId=5660 mysql> select * from Job; +-------+----------------------------------------------+-----------------------+------+-------+----------+-----------+---------------------+---------------------+---------------------+---------------------+------------+--------------+----------------+----------+----------+-----------+-----------+-----------------+--------+-----------+------------+-------------+---------+----------+----------+---------+ | JobId | Job | Name | Type | Level | ClientId | JobStatus | SchedTime | StartTime | EndTime | RealEndTime | JobTDate | VolSessionId | VolSessionTime | JobFiles | JobBytes | ReadBytes | JobErrors | JobMissingFiles | PoolId | FileSetId | PriorJobId | PurgedFiles | HasBase | HasCache | Reviewed | Comment | +-------+----------------------------------------------+-----------------------+------+-------+----------+-----------+---------------------+---------------------+---------------------+---------------------+------------+--------------+----------------+----------+----------+-----------+-----------+-----------------+--------+-----------+------------+-------------+---------+----------+----------+---------+ | 1 | Babylon5_Backup.2011-09-05_04.30.01_41 | Babylon5 Backup | B | F | 1 | R | 2011-09-05 04:30:24 | 2011-09-05 04:30:24 | 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | 1315211424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | | 2 | Spikyfishthing_Backup.2011-09-05_04.30.02_42 | Spikyfishthing Backup | B | F | 2 | R | 2011-09-05 04:30:27 | 2011-09-05 04:30:27 | 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | 1315211427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | | 3 | Babylon4_Backup.2011-09-05_04.30.00_40 | Babylon4 Backup | B | F | 3 | R | 2011-09-05 04:30:23 | 2011-09-05 04:30:23 | 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | 1315211423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | +-------+----------------------------------------------+-----------------------+------+-------+----------+-----------+---------------------+---------------------+---------------------+---------------------+------------+--------------+----------------+----------+----------+-----------+-----------+-----------------+--------+-----------+------------+-------------+---------+----------+----------+---------+ 3 rows in set (0.00 sec) As is pretty apparent, the UPDATE filed becuase there is no JobID 5660. I *assume* there should not have been one, and this UPDATE should have referenced JobID 2. -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater It's not the years, it's the mileage. ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel