Re: [Bacula-users] Authorization error
On Thu, 26 Oct 2006, jpg wrote: However bconsole fails with: /etc/bacula # bconsole Connecting to Director hpcvsjpg:9101 26-Oct 13:50 bconsole: Fatal error: bnet.c:859 Unable to connect to Director daemon on hpcvsjpg:9101. ERR=Connection refused Do you have a firewall in place that is blocking access? The command below should show you the rule sets in place. iptables -L -n | less -- Michael - 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] Restoring files with hard links - Cyrus IMAP
Dear All I am trying to restore one users mailbox to another location since I do not want to damage the current mailbox. Cyrus IMAP is set for singleinstancestore to save disc space it uses hard links. The errors are of the type 27-Oct 15:09 elizabeth-fd: RestoreFiles.2006-10-27_15.03.50 Error: create_file.c:308 Could not hard link /common/bacula/bacula-restores/common/cyrus/user/wwang/30. - /common/bacula/bacula-restores/common/cyrus/user/aarsyad/239.: ERR=No such file or directory 27-Oct 15:09 elizabeth-fd: RestoreFiles.2006-10-27_15.03.50 Error: create_file.c:308 Could not hard link /common/bacula/bacula-restores/common/cyrus/user/wwang/31. - /common/bacula/bacula-restores/common/cyrus/user/aarsyad/241.: ERR=No such file or directory What is a fix to this problem? Should I try to restore all /common/cyrus folder on another server at the same location? Thanks Stephen Carr - 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] Bacula tailored emails and monitoring
On 10/20/06, DAve [EMAIL PROTECTED] wrote: Looking through the manual again and checking some others scripts I think a SQL query posting the required data to a DB is the best way to handle Cacti monitoring. I'll pursue that route. Anyone interested in what I come up with? I would be interested as well. My Cacti is also waiting for more data to process :) -- Maxx - 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] Different timeouts in different subnets
As near as I can tell it has always worked this way. -Original Message- From: Marc Brueckner [mailto:[EMAIL PROTECTED] Sent: Friday, October 27, 2006 12:22 AM To: Robert Nelson Cc: bacula-users@lists.sourceforge.net; 'Knischka'; 'Holger Luedecke' Subject: Re: [Bacula-users] Different timeouts in different subnets Robert Nelson schrieb: This is due to the algorithm used by Bacula to do connect timeouts. It isn't really a timeout, it is really a retry count. If you take the connect timeout in seconds and divide it by 10 you get the number of retries. It doesn't account for the time spent in the connect call. If the connect took zero amount of time to fail, the two would be the same thing. To make matters worse, the connect call takes a different amount of time to fail depending on whether or not a switch is involved. Hi Robert, thank you very much for your help. Your explanation made the things clearer for me. Do you know , if the algorithm you described has been changed in 1.38 ? I think, I first observed this effect on 1.38, but I don't know for sure . It dosen't matter now. I will shorten the timeout value to 30 seconds . That should decrease my timeout to approx. 10 minutes. and I can live with that. Thank you once again and greetings Marc So in your case, 5 minutes is equal to 300 seconds, divided by 10 equals 30. So you will get 30 retries. Now, on the same subnet, it takes 6 minutes and 36 seconds to do 30 retries. So it takes 1 minute and 36 seconds for 30 calls to connect to fail or roughly 3 seconds per try. On different subnets, it takes 1 hour 39 minutes and 31 seconds or 189 seconds or roughly 3 minutes per try. The reason for the differences is probably caching on the switch. I suspect that in the same subnet case the arp is failing (so the IP address can't be converted to an Ethernet address), in the other case the switch is responding to the arp and a higher level (and longer timeout) is coming into play, probably the TCP connect timer. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Brückner Sent: Thursday, October 26, 2006 5:45 AM To: bacula-users@lists.sourceforge.net Cc: Knischka; Holger Luedecke Subject: [Bacula-users] Different timeouts in different subnets Hi @ all Bacula users, I am using Bacula for several year now and I am really satisfied with it. But now I have a strange Problem. I am not sure but I think it first occurred since I updated from version 1.36 to 1.38 . Now I am running 1.38.11 My Bacula has to backup several WinXP clients over night. When the client runs, there is no problem and the backup is done properly. But if the users switch off their clients ( what happen often, unfortunately ) the duration of the timeout depends on the IP-Subnet the client is in . I have the following Timeout settings in the bacula-dir.conf FD Connect Timeout = 5 minutes SD Connect Timeout = 5 minutes If the Client is in the same IP-Subnet as the Bacula-director, the director tells: 24-Oct 08:43 Bacula-dir: Start Backup JobId 3040, Job=StudentA2190_A.2006-10-23_19.40.53 24-Oct 08:44 Bacula-dir: StudentA2190_A.2006-10-23_19.40.53 Warning: bnet.c:853 Could not connect to File daemon on 192.168.10.67:9102. ERR=No route to host Retrying ... 24-Oct 08:50 Bacula-dir: StudentA2190_A.2006-10-23_19.40.53 Fatal error: bnet.c:859 Unable to connect to File daemon on 192.168.10.67:9102. ERR=No route to host 24-Oct 08:50 Bacula-dir: StudentA2190_A.2006-10-23_19.40.53 Error: Bacula 1.38.11 (28Jun06): 24-Oct-2006 08:50:29 ... Scheduled time: 23-Oct-2006 19:40:52 Start time: 24-Oct-2006 08:43:53 End time: 24-Oct-2006 08:50:29 Elapsed time: 6 mins 36 secs Timeout after 6 and a half minutes,ERR=No route to host ; thats OK. But if the Client resides in a different IP-Subnet is says: 25-Oct 02:39 Bacula-dir: Start Backup JobId 3070, Job=StudentA1080_A.2006-10-24_18.00.11 25-Oct 02:45 Bacula-dir: StudentA1080_A.2006-10-24_18.00.11 Warning: bnet.c:853 Could not connect to File daemon on 192.168.30.33:9102. ERR=Connection timed out Retrying ... 25-Oct 04:18 Bacula-dir: StudentA1080_A.2006-10-24_18.00.11 Fatal error: bnet.c:859 Unable to connect to File daemon on 192.168.30.33:9102. ERR=Connection timed out 25-Oct 04:18 Bacula-dir: StudentA1080_A.2006-10-24_18.00.11 Error: Bacula 1.38.11 (28Jun06): 25-Oct-2006 04:18:47 ... Scheduled time: 24-Oct-2006 18:00:10 Start time: 25-Oct-2006 02:39:16 End time: 25-Oct-2006 04:18:47 Elapsed time: 1 hour 39 mins 31 secs Timeout after 1 hour and 40 minutes, ERR=Connection timed out; thats a little bit long. I have observed many log entries and its always the same: same subnet = 6 m different subnet =1:40 h. There is no packet filtering between the subnets. Has anyone experienced an
Re: [Bacula-users] Can't write to the tape
Hi, On 10/26/2006 6:34 PM, Kern Sibbald wrote: BTW: I would not recommend 1.39 for production use yet as I see some issues I find hard to analyze. For example, the DIR seems to have a serious memory leak in certain situations, Can you explain the above as I don't have any credible reports of memory leaks in the Director (but *possibly* in the tray monitor) -- i.e. there are no open bug reports as of the beginning of my vacation. Right, I didn't report anything because I haven't really investigated this. This is what happens: 1.39.26 running. Jobs are waiting for appendable tape. I get mount request mails in the usual way, i.e. when Bacula needs a tape, after one hour, two hours later, four hours and so on. My service monitoring shows me an increasing memory usage on the Bacula server. After a while, services fail - they don't accept connections anymore - and the DIR is among them. Monitoring fails, too, because snmp is always among the failing services ;-( When I later log in, I see that some processes are gone - snmpd, bacula-dir are the most important ones. Memory is available again. The log states that the kernel killed some processes due to memory allocation problems. This is a linux 2.4.something kernel, so there is neither a way to tune the oom-killer actions nor does it log as extensively as does 2.6. This happened twice. I switched back to 1.39.24 to see if that changes things, but did not have an out-of-tape situation and couldn't find time to create one for testing purposes. and the SD sometimes blocks waiting for jobs tapes without any possible way of getting it to continue... I'd also like more information on this, unless you are referring to the bug report open on this which is triggered by Always Open=no. Again, not really investigated. Happended with .24 and .24, though. The situation is this: - A job with retrying setup runs, and uses one pool. - There are no tapes from that pool loaded, so the device is blocked waiting for media. - Other jobs wait for the tape drive it uses. - The first job fails due to the client going away, the DIR reports it as being rescheduled. - The job remains active in the SD but obviously doesn't do any work. This state of things seems to not time out - I had Bacula sitting like this four more than six hours. I can unmount the drive, swap tapes, 'update slots scan', mount, etc., but that doesn't have any effect. I can manually cancel the job that's stuck in the SD, but that cancel doesn't seem to be propagated to the SD. The only solution I found was restarting the SD. Thereby, of course, failing some of the waiting jobs... And I agree with you that 1.39, is not yet ready for critical production. I hope to get some useful debug logs some time... Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - 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] 2 full backups in a row
Hi, On 10/26/2006 3:47 PM, Raphael Perrin wrote: Hi Here is my situation. Once a month I run a full backup on a FULL pool. Then the monday after I run an Incremental backup on an INCREMENTAL pool and of course it first run a FULL backup which take more than one night. This situation is not good. True. Unless you give some more details I can only guess: You've got two jobs set up, one for full backup, one for incremental backups. I use a different pool for the FULL backups to be able to take them away from the company. How can I avoid to run 2 FULL backups in a row ?? Use only one job. If you need a copy of that job, try bcopy or duplicate the media. Or wait for job copying support in Bacula :-) Thanks for your advice Raphael Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - 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] bacula with vxa tapeloader with firewire
Hi, On 10/26/2006 3:58 PM, Raphael Perrin wrote: Hello, Is bacula able to work with a firewire port instead of SCSI ? As long as the devices are operated through the standard device interfaces, i.e. /dev/st? under linux, then yes. AFAIK normal tape drives should work, but I have never used a firewire tape drive myself. Arno Thank you Raphael -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - 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] Special characters on Ms Windows filenames...
Hi, On 10/26/2006 5:03 PM, Jaime Ventura wrote: Hello, On languages such as the Portuguese language there are special characters with accute accent or circumflex accent, such as ÃÁ ç (hope you see them correctly). When backing up windows files with filenames with characters such as those, bacula (?) translate the to different characters. For instance: On windows File System: C:\Documents and Settings\Administrator\My Documents\susana\backups\susana\serviço/susana\documentação\ Bacula(?) Translation: C:/Documents and Settings/Administrator/My Documents/susana/backups/susana/serviço/susana/documentação/ When I restore them, the filenames are correctly restored to their original name. So that means that bacula seems to handle correctly those characters. My problem is that I'm trying to set one directory for backup(on the file set) which have those kind of characters, but bacula (or the system) cant get there File option on file set: File = C:/Documents and Settings/Susana Magalhães What i get when trying to back it up: 26-Oct 15:43 GSI01-fd: Could not stat C:/Documents and Settings/Susana Magalhães/: ERR=O sistema não conseguiu localizar o ficheiro especificado. Which means ERR=The system cannot find the path specified. If I use the translation bacula does, File option on file set would be like this: File = C:/Documents and Settings/Susana Magalhães And it works. So, whenever there's a folder with those special characters, I need to do that translation Is there a easy way to overcome this situations? This seems to be a charset problem. But how can I solve it? Thanks It might help if you used the UTF-8 character set in the DIR configuration. I guess you've got it set to iso8859-something now. I'm never really sure how you do this, but I usually found that setting LC_CTYPE=de_DE.UTF-8 in the shell gets me a utf-8 character set in addition to telling programs I want german language. You have to set up your terminal to use or find the right character sets and fonts, though. If your OS isn't prepared for utf-8 character sets this might become difficult, I guess. Anyway, after you have your working environment set to utf-8 use your favorite text editor to insert the right characters into the configuration file. Start the editor from the shell where you set the language environment. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - 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] Authorization error
Hi, apart from what ohn and Michael wrote: On 10/27/2006 1:00 AM, jpg wrote: ... Also checked: http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors and verfied the Name/Password/MediaType/Device were set the same and corrctly throughout as indicated. This means that you know where the password entries are, right? This is frustrating to say the least. I have a few questions: 1 - How does one get bconsole to actually connect to the director? Verify that your firewalls, routers, whatever allow access to the necessary network addresses and ports. Start DIR. Make sure it actually runs. Start bconsole. When the configuration is correct it works. There's really no magic involved. 2 - Where can the System Admin change the passwords to something other than what was installed by default? In the configuration files. Just where the manual describes it. Seems like a big security hole, to have a password to my data backup system that I don't know the password for nor how to change it. Then you should really read the manual, and have a look at the configuration files. Sorry if I sound rude, but this is something that can be found in the manual, and a look into the pre-installed configuration files shows password entries as well... unless the debian guys got something seriously wrong, of course. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - 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] Different timeouts in different subnets
Hi, just some minor correction (or assumption...): On 10/27/2006 5:54 AM, Robert Nelson wrote: ... The reason for the differences is probably caching on the switch. I suspect that in the same subnet case the arp is failing (so the IP address can't be converted to an Ethernet address), in the other case the switch is responding to the arp and a higher level (and longer timeout) is coming into play, probably the TCP connect timer. I rather suspect that in one case the DNS was already cleared of the host name (message No Route to Host) while in the other case the DNS still had a record for the host and thus the tcp stack had to actually try the connect, and thus rely on the underlying IP timeouts (error message Timeout). Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - 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] prune volumes
Hi, On 10/20/2006 5:05 PM, weyerma wrote: hi all, my goal is to make a backup from all servers with the same volume per day. i have a autochanger with 7 tapes. i use one volume per day and recycle the volume every new week. my problem is now, if the new volume are used a second time it wasn`t pruned and fills. i always need to purge the volume from the console for recycle. i set the retention to 5 days, so it shuld be autopruned the day before. can anyone help me out ? Volume Use Duration might be the thing you miss... retention is only applied after the volume is last written, so you need to make sure it's written only for one day. Then the retention period starts, and the volume can be purged before the week is over. So, try Volume Use Duration=23hours and Volume Retention=5days and don't forget to update your existing volumes to these values! Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - 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] Different timeouts in different subnets
I doubt this has anything to do with DNS. DNS is used to convert a hostname into an IP address. If there was an error at that stage the error would be something like Host not found. Also there would be no retries and the FDCONNECT timeout wouldn't come into play. In addition, it is most likely going to be the same DNS for different subnets in a corporation or at the very least they'll be configured with the same timeouts. To have a routing problem you have to be at the stage of sending packets. Once you have an IP address you need to figure out which interface to send it on. So if it wasn't on the same subnet and there were no default gateway configured you could end up with a no route to host. But that wouldn't be affected by whether the host were up or not. So it must be able to figure out which interface to use. So now you need to figure out to which Ethernet MAC address the packet should be addressed. This process uses the ARP protocol (Address Resolution Protocol). For the same subnet it tries to map the hosts IP address to a MAC address. For different subnets, it tries to map the IP address of the default gateway. So I stand by my original problem analysis. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Lehmann Sent: Friday, October 27, 2006 2:44 AM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Different timeouts in different subnets Hi, just some minor correction (or assumption...): On 10/27/2006 5:54 AM, Robert Nelson wrote: ... The reason for the differences is probably caching on the switch. I suspect that in the same subnet case the arp is failing (so the IP address can't be converted to an Ethernet address), in the other case the switch is responding to the arp and a higher level (and longer timeout) is coming into play, probably the TCP connect timer. I rather suspect that in one case the DNS was already cleared of the host name (message No Route to Host) while in the other case the DNS still had a record for the host and thus the tcp stack had to actually try the connect, and thus rely on the underlying IP timeouts (error message Timeout). Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - 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 - 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] Special characters on Ms Windows filenames...
Thank you Arno, I've changed the system's charset to UTF-8 and after converted the configuration file it works normally. Thank you, again, you have have been most helpfully. Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url:www.isep.ipp.pt http://www.isep.ipp.pt Arno Lehmann wrote: Hi, On 10/26/2006 5:03 PM, Jaime Ventura wrote: Hello, On languages such as the Portuguese language there are special characters with accute accent or circumflex accent, such as ÃÁ ç (hope you see them correctly). When backing up windows files with filenames with characters such as those, bacula (?) translate the to different characters. For instance: On windows File System: C:\Documents and Settings\Administrator\My Documents\susana\backups\susana\serviço/susana\documentação\ Bacula(?) Translation: C:/Documents and Settings/Administrator/My Documents/susana/backups/susana/serviço/susana/documentação/ When I restore them, the filenames are correctly restored to their original name. So that means that bacula seems to handle correctly those characters. My problem is that I'm trying to set one directory for backup(on the file set) which have those kind of characters, but bacula (or the system) cant get there File option on file set: File = C:/Documents and Settings/Susana Magalhães What i get when trying to back it up: 26-Oct 15:43 GSI01-fd: Could not stat C:/Documents and Settings/Susana Magalhães/: ERR=O sistema não conseguiu localizar o ficheiro especificado. Which means ERR=The system cannot find the path specified. If I use the translation bacula does, File option on file set would be like this: File = C:/Documents and Settings/Susana Magalhães And it works. So, whenever there's a folder with those special characters, I need to do that translation Is there a easy way to overcome this situations? This seems to be a charset problem. But how can I solve it? Thanks It might help if you used the UTF-8 character set in the DIR configuration. I guess you've got it set to iso8859-something now. I'm never really sure how you do this, but I usually found that setting LC_CTYPE=de_DE.UTF-8 in the shell gets me a utf-8 character set in addition to telling programs I want german language. You have to set up your terminal to use or find the right character sets and fonts, though. If your OS isn't prepared for utf-8 character sets this might become difficult, I guess. Anyway, after you have your working environment set to utf-8 use your favorite text editor to insert the right characters into the configuration file. Start the editor from the shell where you set the language environment. Arno - 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] Bacula status
Kern Sibbald wrote: In answer to your question about packaging the regression tests: Once we release version 1.40 Kern is planning on moving from CVS to Subversion and changing the build process from configure based to CMake. At that time we will probably also switch to CMake's regression test framework. It has built-in support for tracking the results of builds and tests. All the information is made available through a web interface. I haven't had time to play with it yet but it look really cool and quite useful. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh Fisher Sent: Monday, October 16, 2006 8:27 AM To: Kern Sibbald Cc: bacula-users Subject: Re: [Bacula-users] Bacula status Kern Sibbald wrote: 1. I have requested help setting up more community participation in testing, bug fixing, and builds of more platforms such as Solaris, FreeBSD, ... This is to ensure that all important platforms are supported better than I could do alone. Is it possible to package the regression scripts? Standardized regression scripts (if possible) along with a web based form or mailing list for posting the results of those tests would make it easier for users with various hardware/platforms to participate in the testing. 2. I am working on setting up some official structure or structures for Bacula, possibly a Swiss Association, perhaps a Foundation. This will be so that in the near term (1-6 months) Bacula will have a charter and a governing board, and equally important, I plan to transfer the source and documentation copyrights, which are currently held in my name into such a permanent neutral entity. I believe this will help ensure the health, and long term survival of Bacula as Free Software, as well as to ensure that the project is less (no longer) dependent on one person (me). Rest assured, this does not at all mean that I envision decreasing my participation with the project. When you investigated this previously there was some trouble contacting the FSF Europe. I take it you have now been in contact with them and they can at least help determine which Swiss structure is better for a structure that is going to own copyrights, yes? Yes, I was able to meet with Georg Greve of FSF Europe. I am in total agreement with your reasoning, but the copyright ownership issues frighten me. Being a US citizen, I am conditioned to think of this as a major legal issue requiring legal council. Transferring a copyright is rather trivial, but what are your concerns about the copyright ownership? Nothing specific. Just paranoia due to my ignorance regarding legal issues. In my experience, the companies I've worked for hired lawyers to handle the copyrights. And though it's a different matter altogether, I've observed a group of scientists that I work for spend a great deal of money and time keeping their patent and trademark portfolio in order. Ignorance causes fear. - 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 Best regards, Kern - 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 - 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] Authorization error
Date: Fri, 27 Oct 2006 11:39:06 +0200 From: Arno Lehmann [EMAIL PROTECTED] Subject: Re: [Bacula-users] Authorization error Hi, apart from what ohn and Michael wrote: On 10/27/2006 1:00 AM, jpg wrote: ... Also checked: http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors and verfied the Name/Password/MediaType/Device were set the same and corrctly throughout as indicated. This means that you know where the password entries are, right? This is frustrating to say the least. I have a few questions: 1 - How does one get bconsole to actually connect to the director? Verify that your firewalls, routers, whatever allow access to the necessary network addresses and ports. No firewalls installed, the client and server are on the same machine. Start DIR. Make sure it actually runs. $ ps -A | grep bacula 25386 ?00:00:00 bacula-sd 25426 ?00:00:00 bacula-fd 26369 ?00:00:00 bacula-dir Start bconsole. When the configuration is correct it works. I am certain of this, however if you have no suggestions for help, please don't reply. There's really no magic involved. 2 - Where can the System Admin change the passwords to something other than what was installed by default? In the configuration files. Just where the manual describes it. A pointer would be nice. Seems like a big security hole, to have a password to my data backup system that I don't know the password for nor how to change it. Then you should really read the manual, and have a look at the configuration files. Hmmm, have read it. That's why I posted the question here, just looking for help. I am sorry I have offended you by asking for help. - 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] Fwd: Authorization error
-- Forwarded message --From: John Drescher [EMAIL PROTECTED]Date: Oct 27, 2006 11:54 AM Subject: Re: [Bacula-users] Authorization errorTo: jpg [EMAIL PROTECTED]I think I see your problem. You have DirAddress in your bacula-dir.conf that tells bacula to listen on 127.0.0.1 which is not the address that bconsole is using 15.253.4.126To fix this remove the DirAddress from bacula-dir.conf and (all other addresses that use 127.0.0.1 from the rest of your config files) and restart the services. JohnOn 10/27/06, jpg [EMAIL PROTECTED] wrote: Hey John,Thanks for your time.System Specs:Computer - HP XW8200 dual Intel Xeon 3.2GhzOS - Debian 3.1 (etch)Tape Drive - HP SureStore 12000e (6 tape DDS2 library)Bacula version - 1.38.11Mysql version - 5.0.24a-Debian_9-log On Fri, 27 Oct 2006, John == John Drescher wrote:John Yes do so along with some system specs.John John -- John M. Drescher -- John M. Drescher - 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] Fwd: Authorization error
-- Forwarded message --From: jpg [EMAIL PROTECTED]Date: Oct 27, 2006 12:06 PM Subject: Re: [Bacula-users] Authorization errorTo: John Drescher [EMAIL PROTECTED] On Fri, 27 Oct 2006, John == John Drescher wrote: John I think I see your problem. You have DirAddress in your bacula-John dir.conf that tells bacula to listen on 127.0.0.1 which is not theJohn address that bconsole is using 15.253.4.126John To fix this remove the DirAddress from bacula-dir.conf and (allJohn other addresses that use 127.0.0.1 from the rest of your config John files) and restart the services.Hey John,Yes, that was it. Not consistant using localhost versus host IP.Thanks a million.-jpg-- John M. Drescher - 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] 2 full backups in a row
In the message dated: Fri, 27 Oct 2006 11:18:50 +0200, The pithy ruminations from Arno Lehmann on Re: [Bacula-users] 2 full backups in a row were: = Hi, = = On 10/26/2006 3:47 PM, Raphael Perrin wrote: = = Hi = = Here is my situation. = = Once a month I run a full backup on a FULL pool. = Then the monday after I run an Incremental backup on an INCREMENTAL pool and = of course it first run a FULL backup which take more than one night. This = situation is not good. Yes. = = True. = Unless you give some more details I can only guess: You've got two jobs = set up, one for full backup, one for incremental backups. = = I use a different pool for the FULL backups to be able to take them away from = the company. I'm in the same situation--there's a pool defined for incremental backups, and a pool for full backups (and a scratch pool). I understand why a backup would be promoted from an incremental to a full, if no prior full exists, but I firmly belive that the backup should then use the full pool... = = How can I avoid to run 2 FULL backups in a row ?? = = Use only one job. = If you need a copy of that job, try bcopy or duplicate the media. Or = wait for job copying support in Bacula :-) I was afraid that was the answer. This is particularly a problem when backing up some clients takes 2~3 days. It's really bad to have an incremental promoted to a full backup, and then the scheduled full backup runs simultaneously...this kills the performance of both the backup server and client. Thanks, Mark = = Thanks for your advice = Raphael = = Arno = = -- = IT-Service Lehmann[EMAIL PROTECTED] = Arno Lehmann http://www.its-lehmann.de = Mark Bergman [EMAIL PROTECTED] System Administrator Section of Biomedical Image Analysis 215-662-7310 Department of Radiology, University of Pennsylvania http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. - 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] querying database for filenames by checksum?
I've got a sudden need to determine whether there's a copy of a particular file anywhere on our systems, even if it's been renamed. I really don't want to do terrible things with shell scripts and find and md5sum and so forth across ~9TB of data (on ~15 servers). It was absolutely terrific to be able to query the Bacula database to search for the file by name and get a quick answer. Is there any similar way to query the database for a single filename (a fully qualified host:/path/to/file), and have the query return all entries where the checksum matches the specified file, regardless of their name or location? I'd be very grateful if anyone could contribute a snippet of SQL... Thanks, Mark Mark Bergman [EMAIL PROTECTED] System Administrator Section of Biomedical Image Analysis 215-662-7310 Department of Radiology, University of Pennsylvania http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. - 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] Bacula status
Kern Sibbald wrote: In answer to your question about packaging the regression tests: Once we release version 1.40 Kern is planning on moving from CVS to Subversion and changing the build process from configure based to CMake. At that time we will probably also switch to CMake's regression test framework. It has built-in support for tracking the results of builds and tests. All the information is made available through a web interface. I haven't had time to play with it yet but it look really cool and quite useful. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh Fisher Sent: Monday, October 16, 2006 8:27 AM To: Kern Sibbald Cc: bacula-users Subject: Re: [Bacula-users] Bacula status Kern Sibbald wrote: 1. I have requested help setting up more community participation in testing, bug fixing, and builds of more platforms such as Solaris, FreeBSD, ... This is to ensure that all important platforms are supported better than I could do alone. Is it possible to package the regression scripts? Standardized regression scripts (if possible) along with a web based form or mailing list for posting the results of those tests would make it easier for users with various hardware/platforms to participate in the testing. 2. I am working on setting up some official structure or structures for Bacula, possibly a Swiss Association, perhaps a Foundation. This will be so that in the near term (1-6 months) Bacula will have a charter and a governing board, and equally important, I plan to transfer the source and documentation copyrights, which are currently held in my name into such a permanent neutral entity. I believe this will help ensure the health, and long term survival of Bacula as Free Software, as well as to ensure that the project is less (no longer) dependent on one person (me). Rest assured, this does not at all mean that I envision decreasing my participation with the project. When you investigated this previously there was some trouble contacting the FSF Europe. I take it you have now been in contact with them and they can at least help determine which Swiss structure is better for a structure that is going to own copyrights, yes? Yes, I was able to meet with Georg Greve of FSF Europe. I am in total agreement with your reasoning, but the copyright ownership issues frighten me. Being a US citizen, I am conditioned to think of this as a major legal issue requiring legal council. Transferring a copyright is rather trivial, but what are your concerns about the copyright ownership? Nothing specific. Just paranoia due to my ignorance regarding legal issues. In my experience, the companies I've worked for hired lawyers to handle the copyrights. And though it's a different matter altogether, I've observed a group of scientists that I work for spend a great deal of money and time keeping their patent and trademark portfolio in order. Ignorance causes fear. OK, I understand. As I said, my goal is to set Bacula up so that the copyright, license, and trademark are well looked after and that the copyright is not in just my name. One reason for the change is that Bacula is becoming a big project, and I hope to make it so that big companies have even more confidence in Bacula, its copyright and license. If all goes well -- i.e. if I don't lose my Internet connectivity during my stay in Mexico, I will officially announce the details of the changes around the 1st of November and give Bacula users about 2 weeks to comment on them before anything definitive happens. Best regards, Kern - 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] Restoring files with hard links - Cyrus IMAP
Hello, It seems to me that this problem is similar or identical to one recently reported, and if I am not mistaken, it invoved Cyrus IMAP files. Unfortunately, we never got to the bottom of the problem. It would help if you would do the following: 1. Switch this thread to the bacula-devel list as that is where I see all the emails. 2. Do a stat xxx and stat yyy on the two mailboxes in question that should be hard linked. If I am not mistaken, their names are /common/cyrus/user/wang/30. and .../aarsyad/239. 3. Move the two current files to another location i.e. x30. and x239. then try the restore. You can always move them back. 4. Check during the restore that both files are actually selected for restore. When you mark one for restore, Bacula *should* mark both of them for restore. You can check by cd'ing to each directory while in the Bacula restore tree command in bconsole and doing a dir xxx and dir yyy on the two files. I'd really like to resolve this problem. Best regards, Kern Dear All I am trying to restore one users mailbox to another location since I do not want to damage the current mailbox. Cyrus IMAP is set for singleinstancestore to save disc space it uses hard links. The errors are of the type 27-Oct 15:09 elizabeth-fd: RestoreFiles.2006-10-27_15.03.50 Error: create_file.c:308 Could not hard link /common/bacula/bacula-restores/common/cyrus/user/wwang/30. - /common/bacula/bacula-restores/common/cyrus/user/aarsyad/239.: ERR=No such file or directory 27-Oct 15:09 elizabeth-fd: RestoreFiles.2006-10-27_15.03.50 Error: create_file.c:308 Could not hard link /common/bacula/bacula-restores/common/cyrus/user/wwang/31. - /common/bacula/bacula-restores/common/cyrus/user/aarsyad/241.: ERR=No such file or directory What is a fix to this problem? Should I try to restore all /common/cyrus folder on another server at the same location? Thanks Stephen Carr - 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] Can't write to the tape
Hi, On 10/26/2006 6:34 PM, Kern Sibbald wrote: BTW: I would not recommend 1.39 for production use yet as I see some issues I find hard to analyze. For example, the DIR seems to have a serious memory leak in certain situations, Can you explain the above as I don't have any credible reports of memory leaks in the Director (but *possibly* in the tray monitor) -- i.e. there are no open bug reports as of the beginning of my vacation. Right, I didn't report anything because I haven't really investigated this. This is what happens: 1.39.26 running. Jobs are waiting for appendable tape. I get mount request mails in the usual way, i.e. when Bacula needs a tape, after one hour, two hours later, four hours and so on. My service monitoring shows me an increasing memory usage on the Bacula server. After a while, services fail - they don't accept connections anymore - and the DIR is among them. Monitoring fails, too, because snmp is always among the failing services ;-( When I later log in, I see that some processes are gone - snmpd, bacula-dir are the most important ones. Memory is available again. The log states that the kernel killed some processes due to memory allocation problems. This is a linux 2.4.something kernel, so there is neither a way to tune the oom-killer actions nor does it log as extensively as does 2.6. This happened twice. I switched back to 1.39.24 to see if that changes things, but did not have an out-of-tape situation and couldn't find time to create one for testing purposes. It might be useful to turn on tracing with a very low debug level, then when you see the Director increasing memory usage, idle it down by cancelling all the jobs and then stop it. Hopefully, the trace file would then show the ophan buffer dump and give us an idea what code is eating up memory ... and the SD sometimes blocks waiting for jobs tapes without any possible way of getting it to continue... I'd also like more information on this, unless you are referring to the bug report open on this which is triggered by Always Open=no. Again, not really investigated. Happended with .24 and .24, though. The situation is this: - A job with retrying setup runs, and uses one pool. - There are no tapes from that pool loaded, so the device is blocked waiting for media. - Other jobs wait for the tape drive it uses. - The first job fails due to the client going away, the DIR reports it as being rescheduled. - The job remains active in the SD but obviously doesn't do any work. This state of things seems to not time out - I had Bacula sitting like this four more than six hours. I can unmount the drive, swap tapes, 'update slots scan', mount, etc., but that doesn't have any effect. I can manually cancel the job that's stuck in the SD, but that cancel doesn't seem to be propagated to the SD. The only solution I found was restarting the SD. Thereby, of course, failing some of the waiting jobs... And I agree with you that 1.39, is not yet ready for critical production. I hope to get some useful debug logs some time... Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - 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 Best regards, Kern - 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] Question on boostrap files (bsr files)
I don't quite get the purpose of bootstrap files. If I backup my Postgres database nightly, do I need bootstrap files? I'm under the impression I don't. They seem to only be used on restores and if you have the whole database you don't need them. Right? I'm currently writing out a bootstrap file for each one of my jobs using the Write Bootstrap entry. Is this necessary? Can I just remove the entry to write out the bootstrap file? The manual, on the 5th page of the section entitled The Bootstrap File, shows an example where a single volume is restored and it says that one is a Full backup and the following three are all Incremental backups. Is there any way to tell from the output given. I couldn't tell from the output given. Or do we have to give another command to know this? Thanks for all your help. Scott - 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] Any way to ask the question what filesets on on volume X?
Is there any way to ask that question? I couldn't find a way in bconsole. Do I need to use sqlquery? Thanks. Scott P.S. I'm using Postgres. - 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