Re: [Bacula-users] Problem with accurate backups
Falk Sauer wrote: Hi Robert, On Montag 15 Juni 2009 06:13:21 wrote: Falk Sauer wrote: Hi Bob, On Sonntag 14 Juni 2009 23:35:43 wrote: I have installed both 3.0.0 3.0.1 on a test sever using the same configuration and hardware as my production serer. Everything works as expected until I enable accurate backups. I can run a level full backup which runs with no problem but when I try an incremental i get this error. JobId 2: Start Backup JobId 2, Job=Ws-104.2009-06-14_13.42.24_05 JobId 2: Created new Volume DDS4-Daily_Vol-002 in catalog. JobId 2: Using Device DDS4-1 JobId 2: Fatal error: Cannot find previous jobids. and the email from the job contains this: JobId 2: Start Backup JobId 2, Job=Ws-104.2009-06-14_13.42.24_05 JobId 2: Created new Volume DDS4-Daily_Vol-002 in catalog. JobId 2: Using Device DDS4-1 JobId 2: Fatal error: Cannot find previous jobids. JobId 2: Fatal error: Network error with FD during Backup: ERR=Interrupted system call JobId 2: Job Ws-104.2009-06-14_13.42.24_05 marked to be canceled. JobId 2: Fatal error: No Job status returned from FD. JobId 2: Error: Bacula Ws-104-dir 3.0.1 (30Apr09): 14-Jun-2009 13:45:32 The only thing that is see when running bacula with debug enabled is some connection time out errors. These errors don't occur when I disable accurate backups. OS is Solaris 10-5/09 X86 Any idea what may be causing this? assumed bacula has no error in this new function ... sounds like a performance problem with your database. Can you try this again with a very small job and a new database? Regards Falk Since this is a test server i have tried many different size jobs from 20mb to 20gb all still with the same results :( I'm using MySQL 4.0.31. This error returns almost instantly after the job starts. I have also just noticed that i cannot select individual files when doing a restore the error basically equates to Building directory tree for JobId(s) 1 ... Query failed: -snip- ASC: ERR=You have an error in your SQL syntax. can you find this sql query in your debug output? If yes put it in your mySqlAdmin and try this sql statement alone, then you see if the sql syntax is really broken or what the error can be in your database ... possibly you hit a problem with charactersets or filenames. Regards Falk Ok i can confirm that th query does fail when entered manualy into mysql building directory tree for JobId(s) 1 ... Query failed: SELECT Path.Path, Filename.Name, File.FileIndex, File.JobId, File.LStat FROM ( SELECT max(FileId) as FileId, PathId, FilenameId FROM (SELECT FileId, PathId, FilenameId FROM File WHERE JobId IN (1)) AS F GROUP BY PathId, FilenameId ) AS Temp JOIN Filename ON (Filename.FilenameId = Temp.FilenameId) JOIN Path ON (Path.PathId = Temp.PathId) JOIN File ON (File.FileId = Temp.FileId) WHERE File.FileIndex 0 ORDER BY JobId, FileIndex ASC: ERR=You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT max(FileId) as FileId, PathId, FilenameId FROM (SELECT F There were no files inserted into the tree, so file selection is not possible.Most likely your retention policy pruned the files Do you want to restore all the files? (yes|no): Thanks for looking into this... I know nothing about data querys. Bob -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with accurate backups
Falk Sauer wrote: Hi Robert, On Montag 15 Juni 2009 08:54:33 wrote: Ok i can confirm that th query does fail when entered manualy into mysql building directory tree for JobId(s) 1 ... Query failed: SELECT Path.Path, Filename.Name, File.FileIndex, File.JobId, File.LStat FROM ( SELECT max(FileId) as FileId, PathId, FilenameId FROM (SELECT FileId, PathId, FilenameId FROM File WHERE JobId IN (1)) AS F GROUP BY PathId, FilenameId ) AS Temp JOIN Filename ON (Filename.FilenameId = Temp.FilenameId) JOIN Path ON (Path.PathId = Temp.PathId) JOIN File ON (File.FileId = Temp.FileId) WHERE File.FileIndex 0 ORDER BY JobId, FileIndex ASC: ERR=You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT max(FileId) as FileId, PathId, FilenameId FROM (SELECT F if this statement is correct copied then bacula makes this error, the statement has imho really syntactical failures: SELECT Path.Path, Filename.Name, File.FileIndex, File.JobId, File.LStat FROM here is imho a tablename and the WHERE clause missing. ( SELECT max(FileId)... please make an entry in the bug database. Regards Falk Ok I will file a bug and see if someone can take a look at it. Thanks for your help, Bob -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with accurate backups
Andrea Conti wrote: I'm using MySQL 4.0.31. MySQL 4.0 does not support subqueries, you need at least 4.1. andrea Are these subqueries something that's newly added when accurate backups were implemented? The reason I ask is because I have always used the version of mysql that ships with Solaris and haven't had any problems until now. I run 2.4.4 in production. Bob -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with accurate backups
Fahrer, Julian wrote: Hi, Not what you asked, But you could also use postgres as database i you don't want to install a newer mysql version in your box. It also ships with solaris. Kind regards Mit freundlichem Gruß Julian Fahrer Thanks for the suggestion and i have been looking into doing that. bob -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with accurate backups
Falk Sauer wrote: Hi Bob, On Sonntag 14 Juni 2009 23:35:43 wrote: I have installed both 3.0.0 3.0.1 on a test sever using the same configuration and hardware as my production serer. Everything works as expected until I enable accurate backups. I can run a level full backup which runs with no problem but when I try an incremental i get this error. JobId 2: Start Backup JobId 2, Job=Ws-104.2009-06-14_13.42.24_05 JobId 2: Created new Volume DDS4-Daily_Vol-002 in catalog. JobId 2: Using Device DDS4-1 JobId 2: Fatal error: Cannot find previous jobids. and the email from the job contains this: JobId 2: Start Backup JobId 2, Job=Ws-104.2009-06-14_13.42.24_05 JobId 2: Created new Volume DDS4-Daily_Vol-002 in catalog. JobId 2: Using Device DDS4-1 JobId 2: Fatal error: Cannot find previous jobids. JobId 2: Fatal error: Network error with FD during Backup: ERR=Interrupted system call JobId 2: Job Ws-104.2009-06-14_13.42.24_05 marked to be canceled. JobId 2: Fatal error: No Job status returned from FD. JobId 2: Error: Bacula Ws-104-dir 3.0.1 (30Apr09): 14-Jun-2009 13:45:32 The only thing that is see when running bacula with debug enabled is some connection time out errors. These errors don't occur when I disable accurate backups. OS is Solaris 10-5/09 X86 Any idea what may be causing this? assumed bacula has no error in this new function ... sounds like a performance problem with your database. Can you try this again with a very small job and a new database? Regards Falk Since this is a test server i have tried many different size jobs from 20mb to 20gb all still with the same results :( I'm using MySQL 4.0.31. This error returns almost instantly after the job starts. I have also just noticed that i cannot select individual files when doing a restore the error basically equates to Building directory tree for JobId(s) 1 ... Query failed: -snip- ASC: ERR=You have an error in your SQL syntax. I get this error from selecting item #3 of the restore menu in bconsole and inserting a correct jobid but i can do a full restore without error just cannot select individual files. So it seems there is some kind of issue with the database. Since it happens with a freshly created database i wonder if it's being correctly created or if my install is somehow messed up I'm open to any trouble shooting ideas or test if anyone has any thoughts... Bob -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Filesystem change prohibited. why?
Martin Simmons wrote: On Mon, 21 Aug 2006 19:27:18 -0700, Robert W Hartzell said: I think the simplest and best solution is to suppress these messages as I wrote above if they are in fact backed up somewhere else in the backup. This will ensure that the messages are printed only if there is a danger that the user is missing a partition, but it will also require someone to write some code (well, any solution will). If it bothers you enough and you would like it fixed, you might try coming up with this kind of code. Another workaround is to list the mounted filesystems in an Exclude option. __Martin This doesn't work on 1.38.6 the messages are still printed. That's strange, because (from the source) it looks like it should work from 1.35.6 onwards. Maybe your Exclude syntax is wrong? __Martin I think its correct but I haven't looked at it in about a year. FileSet { Name = ns1-full-set Include { Options { signature = MD5 } File = / File = /export/home } Exclude { File = /export/bacula/* File = /export/storage/* File = /net/* File = /var/run/* File = /etc/svc/volatile/* File = /proc/* File = /system/contract/* File = /system/object/* File = /tmp/* File = /devices/* File = /home/* File = /vol/* } } All of the disk and tmpfs mount points are correctly re-created on restore. -- Robert - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Filesystem change prohibited. why?
Martin Simmons wrote: On Wed, 16 Aug 2006 11:08:28 +0200, Kern Sibbald said: On Wednesday 16 August 2006 00:33, Jo Rhett wrote: On Tuesday 08 August 2006 22:29, Timo Neuvonen wrote: It's worth noting, that the messages above don't necessarily mean that the filesystem mentioned wouln't be backed up at all. The message is generated, when a mounted filesystem is met, but the filesystem may be backed up anyway if it is specifically included in the fileset configuration. The message just means, that the mounted filesystem isn't backed up as a part of the parent directory's backup. Personally, I find this a little bit annoying. On Aug 13, 2006, at 12:52 PM, Kern Sibbald wrote: Well the messages are there to warn the unwarry, but it would be nice if someone would submit the code necessary to do a forward and backward look through the filesets to see if the filesystem has been specified directly somewhere else so that the message could be suppressed. Or how about an option to disable these messages in the Message section? Trust me when I say that we always backup all we care to. I never want to see these messages (and have it fact disabled them for us by editing the source, which isn't all that portable). I am not much in favor of an option to disable these messages -- possibly we could put them into a separate message class, but this is getting to be a bit overkill, and previous user comments on this list were not too favorable to that idea. I have modified the messages to include the directory from which the filesystem change is not permitted, which gives the user a bit more information about what is going on. I think the simplest and best solution is to suppress these messages as I wrote above if they are in fact backed up somewhere else in the backup. This will ensure that the messages are printed only if there is a danger that the user is missing a partition, but it will also require someone to write some code (well, any solution will). If it bothers you enough and you would like it fixed, you might try coming up with this kind of code. Another workaround is to list the mounted filesystems in an Exclude option. __Martin This doesn't work on 1.38.6 the messages are still printed. -- Robert - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Maximum Concurrent Jobs for a device
Kern Sibbald wrote: On Monday 31 July 2006 12:41, Birger Blixt wrote: On 2006-07-28 14:34, Kern Sibbald wrote: Well, If I start bacula without any tapes loaded, then bacula-sd will loop for about one hour / drive before I can connect to it, so I make sure the drive has tapes before starting. What OS are you using? I'm not the OP but this is an issue on Solaris. I believe their is a bug already reported. -- Robert - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula on Solaris 9 errors?
John wrote: Everything works fine on the linux boxes but the solaris boxes are showing these errors: Note: /data is an EMC storage array. ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /net ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /home ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /xfn ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /vol ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /data/oracle ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /data/backup ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /data/oracle_log ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /data/archive ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /data/share ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /global/.devices/[EMAIL PROTECTED] ava-adbu1a-fd: Filesystem change prohibited. Will not descend into /global/.devices/[EMAIL PROTECTED] This is an informational message not an error message. Take a look at the onefs=yes|no directive. -- Robert - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Solaris ZFS filesystem support???
I'm in the process of converting my raid 5 disk subsystems to Solaris's new ZFS file system. So the big question for me is, are there any plans for bacula to support this awesome new 128-bit file system? If your interested in ZFS read about it here: http://www.sun.com/2004-0914/feature/ -- Robert - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] DVD media and Solaris
Does anyone have a working DVD setup for Solaris? I use cdrecord-ProDVD for normal use but I'm having a hard time finding info on how to configure dvd+rw-tools (which Bacula requires) even though it seems to support Solaris since 2.x. I have about 60GB of static data that I would like to archive to DVD media instead of tape. Any pointers? -- Robert Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] is mysql 5 supported
Robin Mordasiewicz wrote: Is mysql 5 supported for use with bacula ? I don't think it's supported as in tested and guaranteed to work by the developers but I have been using 5.0.xx for several months without problems. You should probably check the release notes and documentation to find out which MySql release is officially supported. -- Robert ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with the list???
Russell Howe wrote: Robert W Hartzell wrote, sometime around 23/05/06 22:06: Has anyone else noticed a problem with delivery of the list messages? I seem to be getting messages today that are 4 or 5 days old and 2 messages that I sent never showed up on the list. That'll be me, then... I haven't been going through the held postings daily, as I ought to be. Essentially, if you want your postings to show up on the list in a timely fashion, it's best to subscribe and send from your subscribed address. Otherwise, you'll be relying on me or Kern to let your postings through. If you don't want to be deluged with messages, you can subscribe and set yourself to nomail. As to the two which got lost, I guess it's possible I discarded them by accident, but I try to be careful.. It could be possible that Sourceforge is having problems, although I haven't seen anything to suggest that. Your friendly local list admin, I have been subscribed to the list for a long time and it seems that others are experiencing the same problems. I get e-mails from the list daily the problem is that sometimes they are several days old. I don't know why you would hold my postings since I have been subscribed for more then a year. -- Robert --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] running 1.38.9 on FreeBSD 6.0
Artem Kulakov wrote: I am having a problems starting bacula director version 1.38.9 on a FreeBSD 6.0 machine. I get Could not open state file error. I modified the code to include the path to the state file in the error message and it seems to be correct, at least it points to the correct folder - /var/db/bacula/ Any ideas? Did I miss something in the configuration? Check the permissions on the directory and make sure the user that the bacula-dir runs as can write to the directory. -- Robert --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with the list???
Has anyone else noticed a problem with delivery of the list messages? I seem to be getting messages today that are 4 or 5 days old and 2 messages that I sent never showed up on the list. -- Robert --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with the list???
Ryan Novosielski wrote: I have noticed a problem, yes. I get my own replies considerably later than other messages on the list. Thats the same behavior that i have noticed lately. Thanks for confirming that I'm not the only one. -- Robert --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Solaris static-fd
Ryan Novosielski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there still no way to build a static fd on Solaris? I need this for a rescue disc for Solaris 9. I know Robert Hartzell has done it with 10 -- don't know if something changed between 9 and 10. Any info from anyone? Here's the failure: /usr/local/bin/g++ -static -L../lib -L../findlib -o static-bacula-fd filed.o authenticate.o acl.o backup.o chksum.o estimate.o filed_conf.o heartbeat.o job.o pythonfd.o restore.o status.o verify.o verify_vol.o \ -lsec -lz -lfind -lbac -lm -lpthread -lgen -lresolv -lnsl -lsocket - -lxnet -lintl -lresolv \ ld: fatal: library -lz: not found ld: fatal: library -lpthread: not found ld: fatal: library -lresolv: not found ld: fatal: library -lxnet: not found ld: fatal: library -lresolv: not found ld: fatal: File processing errors. No output written to static-bacula-fd collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `static-bacula-fd' Current working directory /usr/share/src/bacula-1.38.6/src/filed I didn't build the static fd I just copied a couple of libs over to my rescue CD before I built the image. I don't don't know if you caught my e-mail a while back but the rescue CD built on 10 3/05 worked for 10 1/06 as well using grub as the boot loader. It should work for 9 because 3/05 and 9 use the same loader. I did four bare metal restores without error on my test client. Also I'm in the process of scripting the entire building of the CD image so it can be completely automated and possibly added to the bacula rescue source. -- Robert --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Version error for database bacula. Wanted 8, got 9
Maik Derstappen wrote: hello, im upgrading my bacula from 1.36.2 to 1.38.9 on my debian machine. But i have the following error: Version error for database bacula. Wanted 8, got 9 The Database was new created befor. can anyone help me pleas? cu maik You probably need to update your database with update_bacula_tables There is a section in the manual concerning upgrading bacula versions. http://www.bacula.org/rel-manual/index.html -- Robert --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Solaris Bare Metal Recovery: SUCCESS!
I'm very pleased to report that I have just completed a 100% successful bare metal restore on Solaris 10_01/06 x86 using my custom boot CD. I wanted to also point out that the restore CD is based on Solaris 10_03/05 boot code but it restored the GRUB boot code without a hitch. More details to follow including a writeup on how to create the boot CD. Robert --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Solaris rescue cd project
I have a project that I have been working on in my spare time that may be of interest to some on this list. I have successively built a custom Solaris install CD that consists of the boot image, install routine and statically compiled file daemon with about 400MB of free space. During testing I ran into a problem after doing a bear metal restore. The box wouldn't boot (no bootable disk). I believe now that I know what the problem was but I haven't had time to get back to testing. I'm pretty sure that I was using instructions for installboot that were for sparc not x86 which is what I needed so I never successively installed the boot image on the new hard drive. Here is an outline of what I have done. 1. Simulated a hard drive crash replaced drive. 2. Booted custom CD and let the install routine gather all the info for an install (sys id, set up networking, plumed the nic and related) 3. exit the install and mount the new drive on /tmp 4. partition and format the drive as need newfs'ed and fsck'ed the partitions 5. Started the file daemon and initiated a full restore to /mnt 6. rebooted. Which is where the above problem showed it's self. The restore was 100% successful so I think this project has potential. Wish list. 1. boot the custom CD and enter into single user mode bypassing the install routine completely. 2. have a script that would complete all necessary work on the hard drive and mount it to /mnt. 3. have a script that would setup networking and related info. 4. Simply start the file daemon and bconsole 5. initiate a restore. 6. reboot Of course this only works for clients. There is also about 400MB free on the CD for other utility's and programs. The CD could also include info for any number of clients each with config files in their own sub directory. Is this project of interest to any one? Any thoughts or comments? Robert --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Solaris rescue cd project
On Thu, 2006-04-20 at 12:24, Ryan Novosielski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert W Hartzell wrote: Is this project of interest to any one? Any thoughts or comments? Robert, Though the thread might not be one that you've been following, check out the Rescue Advice for Director thread. I was just discussing Solaris bare metal recovery earlier today. I'm very interested in this project. It seems you are using x86, but so are my client machines. My director is Sparc, but I don't see any reason this should be that different. What Solaris version are you working with here? Solaris 10u1 uses GRUB instead of... OpenBoot is it? I don't recall, at least on the x86 platform. I'd love to give it a shot on one of my machines. As I said in the other thread, I have at least 1 Solaris box due to be repurposed. I can do any number of destructive tests on it. Ryan, I found myself in a similar situation while testing restores with a client and the whole restore process was at best a horrible experience and very time consuming. I never got a usable restore and had to start from scratch anyways. What I did then was to install a base install with networking and then installed the file daemon for a full restore. The full restore wouldn't boot so I had to start over. I think there's some files that shouldn't be overwritten during a restore on a live system (/etc/path_to_inst) is one that gave me problems. I'm pretty sure I used Solaris 10-1/06 x86 which does include GRUB but fully patched 10-03/05 also includes GRUB. I really don't know if GRUB was back ported to Solaris 9. I will put together my notes and send them to you tonight. What you will need is a CD burner, the fist CD for Solaris 01/06 (to steal the miniroot) and a static copy of the file daemon with your config files. It's fairly easy to build the CD. On another subject I have created packages for bacula controlled by SMF. Would you mind installing then on one of your x86 boxes and let me know what you think? They do require mysql thats installed in /usr/sfw/ on a full install, but the bacula scripts take care of setting up and starting mysql. Their non destructive and a few key strokes will remove any evidence they were ever installed. Robert --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unable to support Solaris
On Thu, 2006-04-13 at 13:50, Kern Sibbald wrote: Hello, I do not feel that I can adequately support Solaris any longer so will very likely drop it from the officially supported platforms. Why? Because I don't have access to a tape drive for Solaris, and I no longer have the time to devote to testing Solaris prior to each release. For example, the regression script does not complete on version 1.38.8. What does this mean? It means that when Bacula is released it will not be tested on Solaris. It is likely to work, but I cannot guarantee it. It also means that Solaris specific bugs, like the current tape drive bug will be closed unfixed. Possible solutions: The best possible solution is for one or more Solaris users to step forward and to run the regression scripts prior to each release as well as possibly run it in production mode. In addition, we need one or more debuggers to resolve Solaris specific problems. -- Best regards, Kern I would hate to see support for Solaris go away. I don't know what's involved with running the regression scripts but I have a Solaris 10 box with an slr5 tape drive so I could probably run them as long as their not destructive to the system. Do you have any interest in pkgadd installable packages for Solaris? For testing new releases I build against a full install of Solaris 10/1-06 which ships with mysql 4.0.24. For my production use I build packages for both mysql and bacula on 10/3-05 which are controlled by SMF and installed in /opt/local. Although I'm not a programmer, I feel support for Solaris is vital so if I can assist please let me know. Robert --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] MySQL keepalive?
On Fri, 2006-03-31 at 02:10, Heinz Ulrich Stille wrote: Hi! I ran into the MySQL server has gone away Problem. Looks like the culprit is mysqld's inactivity timeout. In the list archives I found a message that the problem went away after upgrading all bacula components to mysql 4.1. Now I'm using 5.0 ... From the MySQL docs I gather there should be no difference. What's up? Is somebody using bacula with version 4 or higher and the default timeout? I'd prefer not to raise the timeout to a couple of days (long weekend, holidays...). Or should I create a feature request for mysql_ping()? MfG, Ulrich I'm using 5.0.15 with the default time out and I haven't noticed any problems. I run 5 jobs every night except for Sunday Monday. The last jobs run Saturday @ 6pm and then no jobs run again until Tuesday @ 6pm. Robert --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File Daemon Script?
On Thu, 2006-03-09 at 18:09, mpapet wrote: Hi, I'd like to run a script on a client. (bacula-fd.conf) In this case, it's a windows client and I'm trying to close outlook before backing up the pst. FYI, bacula complains about the pst being locked by another process if Outlook is open. That's expected behavior. I didn't see anything in the docs and am wondering if anyone has some kind of suggestion. Michael I can't answer your question but this may be of some help. It's a free program from Microsoft that backs up your pst files. It works well I used it for a couple of years before I dropped Windows for Solaris. If the URL is broken search Microsoft for pftbackup.exe http://tinyurl.com/oh4l Robert --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: [Apcupsd-users] Re: Solaris usb packages related to apcupsd
On Wed, 2006-03-08 at 16:14, Adam Kropelin wrote: (Please send apcupsd related mail to the apcupsd-users list rather than, or in addition to, me personally. That way others can benefit from the discussion and offer suggestions of their own.) Rolf wrote: hello I noted on the apcupsd mailing archives that you have a version in cvs that adds beta support for Solaris (and Mac OS X) USB connections to various UPSes. You said that you need SUNWlibusb and SUNWlibusbugen packages for the drivers. Try as I might I cannot find them anywhere. Several places mentions, as you do, the Supplement cd. But I cannot find them on any of of the Supplement cds for solaris 8,9 or 10. Are you able to either supply the packages or give me a specific directory on a specific Solaris cd in which they may be found? They're on cd 4 of Solaris 10. Don't know about the others. --Adam I think theses are installed as part of core solaris on Sol 10 3/5 and newer. I don't know about older releases because usb support was just reworked last year and may not have been put back as far as Sol 8. Try pkginfo to see if their installed. $ pkginfo -l | grep SUNWlibusb PKGINST: SUNWlibusb PKGINST: SUNWlibusbugen $ cat /etc/release Solaris 10 3/05 s10_74L2a X86 Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 22 January 2005 Robert --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-fd exits with status 208
On Fri, 2006-01-27 at 09:10, Ryan Novosielski wrote: As an aside, I would really appreciate you releasing your manifest file to the list when it is finished (or even now -- it may actually help solve the problem). Having written one myself for MySQL I believe it was, I know what a timesaver it is to have someone hand you a good one. :) Thanks. No problem, I'll polish them up a bit and pass them along this weekend. Everything seems to work fine now but I'm still researching my dependency's and some config options. Robert --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-fd exits with status 208
On Fri, 2006-01-27 at 04:33, Martin Simmons wrote: On Thu, 26 Jan 2006 20:06:02 -0700, Robert W Hartzell [EMAIL PROTECTED] said: Here's the tail end of the output of truss -p PID after executing ./bacula-fd stop /2: lwp_park(0xD1979F40, 0) (sleeping...) /2: lwp_park(0xD1979F40, 0) Err#62 ETIME /2: time() = 1138329419 /2: time() = 1138329419 /2: lwp_park(0xD1979F40, 0) (sleeping...) /1: Received signal #15, SIGTERM, in pollsys() [caught] /1: pollsys(0x08045FC0, 1, 0x, 0x) Err#4 EINTR /1: lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0xFFF7) = 0xFFBFFEFF [0x] /1: unlink(/opt/local/var/bacula/working/bacula-fd.9102.state) = 0 /1: open64(/opt/local/var/bacula/working/bacula-fd.9102.state, O_WRONLY|O_CREAT, 0640) = 4 /1: write(4, B a c u l a S t a t e.., 188) = 188 /1: llseek(4, 188, SEEK_SET)= 188 /1: write(4, \0\0\0\0, 4) = 4 /1: llseek(4, 0, SEEK_CUR) = 192 /1: llseek(4, 0, SEEK_SET) = 0 /1: write(4, B a c u l a S t a t e.., 188) = 188 /1: close(4)= 0 /1: unlink(/opt/local/var/run/bacula/bacula-fd.9102.pid) = 0 /1: lwp_unpark(2) = 0 /2: lwp_park(0xD1979F40, 0) = 0 /2: lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0xFFF7) = 0xFFBFFEFF [0x] /2: lwp_exit() /1: lwp_wait(2, 0x08045B98) = 0 /1: _exit(15) I don't know if this is helpful. Thanks, we're getting nearer. This clears up the confusion about which exit status is 208: it is from the bacula-fd svc program, not the bacula-fd daemon. Is /opt/local/svc/support-files/bacula-fd a script? Maybe its contents will reveal why it exits with 208? __Martin First let me apologize for miss-leading you and wasting your time. The script /opt/local/svc/support-files/bacula-fd is the same exact script that would have been installed in the /etc/init.d directory during the make install-autostart-fd. It's just moved to a different location. A quick look at this page http://www.sun.com/bigadmin/content/selfheal/ would explain far better then I could why. Basically sun is moving services from /etc/init.d and the rc*.d directories and putting them under the control of a daemon that is responsible for ensuring that a particular service is running. All of the above output was obtained by starting and then stopping bacula-fd manually from the bacula install directory (/opt/local) independent of svc control. Svc calls this script to start, restart, or stop bacula. When stopping bacula svc gets a return value thats not 0 so the service is put into maintenance mode and not restarted as it should be requiring operator intervention to clear the status of the service. This is the script responsible for starting and stopping bacula: #! /bin/sh # # bacula This shell script takes care of starting and stopping # the bacula File daemon. # # chkconfig: 2345 91 9 # description: It comes by night and sucks the vital essence from your computers. # # For Bacula release 1.38.5 (18 January 2006) -- solaris # case $1 in start) echo Starting the Bacula File daemon: /opt/local/sbin/bacula-fd $2 -c /opt/local/etc/bacula-fd.conf RETVAL=$? echo [ $RETVAL -eq 0 ] touch /opt/local/var/bacula/subsys/bacula-fd ;; stop) echo Stopping the Bacula File daemon: pkill -x bacula-fd RETVAL=$? echo [ $RETVAL -eq 0 ] rm -f /opt/local/var/bacula/subsys/bacula-fd ;; restart) $0 stop sleep 5 $0 start ;; *) echo Usage: $0 {start|stop|restart} exit 1 ;; esac exit 0 I'm no expert but I think that the commands: /opt/local/bin/bacula stop echo $? 208 /opt/local/bin/bacula start echo $? 0 show the exit status of the bacula script which appears to be (208) and (0). I appreciate your time on this issue, and I hope this is a more clear explanation about what's happening. Thanks, Robert. P.S I will not be able to reply if needed until this evening. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-fd exits with status 208
On Wed, 2006-01-25 at 14:47, Martin Simmons wrote: Sorry, I don't know how svc interacts with bacula. What reports 208 and how do you know that it is definitely the exit status from bacula-fd? # ./bacula-fd stop Stopping the Bacula File daemon: # echo $? 208 I would use gdb or truss to find out more. __Martin Here's the tail end of the output of truss -p PID after executing ./bacula-fd stop /2: lwp_park(0xD1979F40, 0) (sleeping...) /2: lwp_park(0xD1979F40, 0) Err#62 ETIME /2: time() = 1138329419 /2: time() = 1138329419 /2: lwp_park(0xD1979F40, 0) (sleeping...) /1: Received signal #15, SIGTERM, in pollsys() [caught] /1: pollsys(0x08045FC0, 1, 0x, 0x) Err#4 EINTR /1: lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0xFFF7) = 0xFFBFFEFF [0x] /1: unlink(/opt/local/var/bacula/working/bacula-fd.9102.state) = 0 /1: open64(/opt/local/var/bacula/working/bacula-fd.9102.state, O_WRONLY|O_CREAT, 0640) = 4 /1: write(4, B a c u l a S t a t e.., 188) = 188 /1: llseek(4, 188, SEEK_SET)= 188 /1: write(4, \0\0\0\0, 4) = 4 /1: llseek(4, 0, SEEK_CUR) = 192 /1: llseek(4, 0, SEEK_SET) = 0 /1: write(4, B a c u l a S t a t e.., 188) = 188 /1: close(4)= 0 /1: unlink(/opt/local/var/run/bacula/bacula-fd.9102.pid) = 0 /1: lwp_unpark(2) = 0 /2: lwp_park(0xD1979F40, 0) = 0 /2: lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0xFFF7) = 0xFFBFFEFF [0x] /2: lwp_exit() /1: lwp_wait(2, 0x08045B98) = 0 /1: _exit(15) I don't know if this is helpful. Thanks, Robert --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-fd exits with status 208
On Wed, 2006-01-25 at 06:14, Martin Simmons wrote: On Tue, 24 Jan 2006 23:07:08 -0700, Robert W Hartzell [EMAIL PROTECTED] said: I've created a service manifest for the bacula file daemon on Solaris 10 3/5 but it won't re-spawn the fd because I'm getting an exit status of 208 when killing or stopping the daemon. Anybody know what conditions could give an exit status of 208? I've run with debugging turned on but I'm not seeing any errors at -d600. Still searching the docs but haven't found anything related to the exit status. How is it being killed? Bacula normally exits with the signal number in response to a kill. You could try attaching gdb to it and putting a breakpoint on exit. __Martin Normal shutdown /opt/local/svc/support-files/bacula-fd stop I'm getting the same exit status for all the daemons on two systems that I have checked. This doesn't seem to effect bacula's operation but svc has to get an exit status of 0 or it puts the service into maintenance mode and it won't re-spawn the service without operator intervention. Thanks, Robert --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: Re: [Bacula-users] Suse 9.3 prof MySQL 5.x
On Wed, 2005-11-23 at 01:17, [EMAIL PROTECTED] wrote: Is there any possiblity to connect to the MySql version 5.x database (bucula-dir is not to be connected ) ? I use mysql-5.0.15 (compiled on Solaris 10 FCS) with no problems so far. Robert. Here are the error-messages : asterix: # bacula-dir -c /etc/bacula/bacula-dir.conf 22-Nov 23:00 bacula-dir: Fatal error: Could not open database bacula. 22-Nov 23:00 bacula-dir: Fatal error: mysql.c:170 Unable to nnect to MySQL server.| Database=bacula User=bacula It is probably not running or your password is incorrect. 22-Nov 23:00 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf asterix: # Here is my bacula-dir.conf (only a part) : # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = ''; } Did you compile yourself or used a rpm-package ? Self compiled, Solaris doesn't use rpm's. If you compiled yourself : Did you use a special distribution from MySql ? Thanks... I have compiled with standard source available from mysql's website. I'm quit sure that your problems are because you have not setup mysql properly as others have pointed out. This is all covered in the mysql Reference manual located at: http://dev.mysql.com/doc/refman/5.0/en/index.html Take a look at the section (2.9 Post-installation Setup and Testing) You cannot proceed with bacula until your mysql setup is working correctly, then all you have to do is run the bacula scripts to create the bacula data base (This is covered in the bacula manual). If there is a root password setup in mysql you need to use the -p option something like: ./create_bacula_database -p and enter the password when asked. Robert --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Suse 9.3 prof MySQL 5.x
On Tue, 2005-11-22 at 11:26, mail wrote: Is there any possiblity to connect to the MySql version 5.x database (bucula-dir is not to be connected ) ? I use mysql-5.0.15 (compiled on Solaris 10 FCS) with no problems so far. Robert. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ld.so.1: bacula-dir: fatal: libmysqlclient_r.so.15: open failed:
On Mon, 2005-11-14 at 23:48, David Logan wrote: Hi Robert, It maybe that you have not set either LD_LIBRARY_PATH or used crle to add the path to the library, to the path where ld ca find it. If you have a look at the man page for crle that explains it all pretty well there Regards I used LD_LIBRARY_PATH in a wrapper script for bacula and everything worked fine and then someone on the solarisx86 list pointed out that the best option was probably to use LDFLAGS -R /path/to/libs during the build which I have done and all works great. Thanks for the info, Robert. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] ld.so.1: bacula-dir: fatal: libmysqlclient_r.so.15: open failed:
It's been about two weeks and I still can't get past this error. ns1{rwhartz}: bin/bacula start Starting the Bacula Storage daemon Starting the Bacula File daemon Starting the Bacula Director daemon ld.so.1: bacula-dir: fatal: libmysqlclient_r.so.15: open failed: No such file or directory Killed Anybody have any idea how I can tell bacula where this file is? There are no errors with configure, make, or make install. The file is there: ns1{rwhartz}: find /opt/local -name libmysqlclient_r.so.15 -print /opt/local/lib/mysql/libmysqlclient_r.so.15 config.out Configuration on Mon Nov 14 21:04:15 MST 2005: Host: i386-pc-solaris2.10 -- solaris 5.10 Bacula version: 1.38.0 (28 October 2005) Source code location: . Install binaries: /home/rwhartz/bacula/sbin Install config files: /home/rwhartz/bacula/etc Scripts directory: /home/rwhartz/bacula/bin Working directory: /home/rwhartz/bacula/var/bacula/working PID directory: /home/rwhartz/bacula/var/bacula-pid Subsys directory: /home/rwhartz/bacula/var/bacula/working Man directory: /home/rwhartz/bacula/share/man Data directory: /home/rwhartz/bacula/share C Compiler: gcc 3.4.3 C++ Compiler: /usr/sfw/bin/g++ 3.4.3 Compiler flags: -g -O2 -Wall Linker flags: Libraries: -lpthread -lgen -lresolv -lnsl -lsocket -lxnet -lintl -lresolv Statically Linked Tools:no Statically Linked FD: no Statically Linked SD: no Statically Linked DIR: no Statically Linked CONS: no Database type: MySQL Database lib: -L/opt/local/lib/mysql -lmysqlclient_r -lz Job Output Email: [EMAIL PROTECTED] Traceback Email:[EMAIL PROTECTED] SMTP Host Address: localhost Director Port: 9101 File daemon Port: 9102 Storage daemon Port:9103 Director User: rwhartz Director Group: staff Storage Daemon User:rwhartz Storage DaemonGroup:staff File Daemon User: rwhartz File Daemon Group: staff SQL binaries Directory /opt/local/bin Large file support: yes Bacula conio support: yes -lcurses readline support: no TCP Wrappers support: yes -lwrap TLS support:yes ZLIB support: yes enable-smartalloc: yes enable-gnome: no enable-wx-console: no enable-tray-monitor: client-only:no build-dird: yes build-stored: yes ACL support:no Python support: no --- Robert --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] fatal: libmysqlclient_r.so.14: open failed: No such file or directory
I have successively compiled 1.36.3 with these configure options: CFLAGS=-g ./configure \ --sbindir=$HOME/bacula/sbin \ --sysconfdir=$HOME/bacula/bin \ --mandir=$HOME/bacula/man \ --with-mysql=/opt/csw/mysql4 \ --enable-smartalloc \ --with-pid-dir=$HOME/bacula/bin/working \ --with-subsys-dir=$HOME/bacula/bin/working \ --with-working-dir=$HOME/bacula/working \ --enable-gnome --enable-tray-monitor \ --enable-gnome --enable-conio There were no errors with configure, gmake, or gmake install but when I start bacula I get the following error. ns1{rwhartz}: ./bacula start Starting the Bacula Storage daemon Starting the Bacula File daemon Starting the Bacula Director daemon ld.so.1: bacula-dir: fatal: libmysqlclient_r.so.14: open failed: No such file or directory Killed ns1{rwhartz}: find /opt/csw/mysql4 -name libmysqlclient_r.so.14 -print /opt/csw/mysql4/lib/mysql/libmysqlclient_r.so.14 /opt/csw/mysql4/lib/mysql/pentium/libmysqlclient_r.so.14 What have I missed? The file it's looking for is there and mysql4 works fine. Any info or pointers would be much appreciated. Thanks, Robert --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] I need advice on permanent setup.
On Mon, 2005-09-26 at 06:05, Phil Stracchino wrote: Robert W Hartzell wrote: I want to retain Full backups 6 months but I'm not sure how long I need to save Differential and Incremental backups. Should I use different pools for each machine or just three pools Full, Diff, and Incr? The latter would seem easiest. This is the approach I'd suggest, yes. It'll make more efficient use of tapes to have a single Pool for each level. I actually combine Differentials and Incrementals into a single pool, but that's because I'm short on tapes. Thanks for your input Phil. This is how I have setup my pools, I think this will do what I want. Once I see how many incremental jobs will fit a single volume I will adjust the values. Hopefully an entire month will fit on one volume so I can minimize tape changes. If anyone sees a problem please let me know because I wish to put this in production on the first of the month. Thanks again for your comments, Robert # Full-Pool Definition Pool { Name = Full Pool Type = Backup Volume Use Duration = 3 days Catalog Files = yes Auto Prune = yes Volume Retention = 6 months Recycle = yes Recycle Oldest Volume = yes Accept Any Volume = no } # Differential-Pool Definition Pool { Name = Diff Pool Type = Backup Use Volume Once = no Volume Use Duration = 3 weeks Catalog Files = yes Auto Prune = yes Volume Retention = 6 months Recycle = yes Recycle Oldest Volume = yes Accept Any Volume = no } # Incremental-Pool Definition Pool { Name = Incr Pool Type = Backup Use Volume Once = no Volume Use Duration = 2 weeks Catalog Files = yes Auto Prune = yes Volume Retention = 15 Days Recycle = yes Recycle Oldest Volume = yes Accept Any Volume = no } --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] I need advice on permanent setup.
I have setup and tested bacula 1.36.3 on my home office network for about two months now and everything works great. Backup and restores are humming along just fine. Now I would like to set up a permanent configuration. I have a few questions for you experts out there if you don't mind. My setup is three computers, a server and two workstations running Solaris 10 FCS. I will spool all jobs to an 80GB disk on the server then despool to an SLR-5 4/8GB tape drive. The schedule will be as follows: Level Full on the 1st of the month Differential on 2nd and 4th Sundays Incremental on mon-sat I want to retain Full backups 6 months but I'm not sure how long I need to save Differential and Incremental backups. Should I use different pools for each machine or just three pools Full, Diff, and Incr? The latter would seem easiest. If the full backup takes 2.5 tapes won't bacula still want to append to the 3rd tape the next month which will be stored off site and not available. I thought to use the MaximumVolumeJobs directive for this problem but then isn't each system full backup a separate job? Any advice or pointers would be much appreciated. Thanks, Robert --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users