Re: [Bacula-users] Heads up -- no Bacula encryption on FreeBSD Release 7
Would the regress scripts on trunk be sufficient? That runs daily. -- Dan Langille http://langille.org/ On Jun 23, 2009, at 1:40 AM, Kern Sibbald k...@sibbald.com wrote: On Tuesday 23 June 2009 00:19:08 Dan Langille wrote: Kern Sibbald wrote: It seems that I mistakenly thought that it had been converted into a struct, which is not the case. Sorry for the false alarm. No worries. If you want me to try out stuff on either 6.x or 7.x, just shout. It would be very useful for you to compile Bacula 3.0.1 on 7.x with full encryption enabled. That would assure me there is no problem. My original concern stems from a recent piece of debug code that was not truely portable -- I removed that code but worry about some other similar problem concerning pthreads. Regards, Kern -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] problem on first tape load.
Hi. i have tested it in gentoo (latest), bacula-2.4.1, bacula-2.4.4, bacula-2.4.4 + patch in bug 1213. i have an HP LTO-2, and the autochanger script to manage tapes. when i start bacula-sd, he is not aware of tape loaded: -- Drive 0 status unknown. -- i have to mount it manually (mount in bconsole), if i do that bacula run without any pain. the problem is that if i start some task *before* mounting it, i have the script that test for present tape locking at a `grep`. The `grep` refer to device status, doing it manually, bconsole hang at: --- status\n2\n2 [...] Device status: Autochanger LTO-2 with devices: LTO-2-Drive (/dev/nst0) Device FileStorage is not open or does not exist. Device LTO-2-Drive (/dev/nst0) is mounted with: Volume: CEM8 Pool:Tapes Media type: LTO-2 Device is being initialized. Slot 8 is loaded in drive 0. Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512 Positioned at File=0 Block=0 Used Volume status: --- This is really annoying, because i have to manually mount a tape any times that i restart SD. bye d. traceback: `kill -SEGV $(pidof bacula-sd)` --- pvsrv01 ~ # cat /var/lib/bacula/bacula.7445.traceback (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb7aef6d0 (LWP 7352)] [New Thread 0xb7abab90 (LWP 7428)] [New Thread 0xb5a9eb90 (LWP 7427)] [New Thread 0xb6ab8b90 (LWP 7408)] [New Thread 0xb72b9b90 (LWP 7356)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0xb7f3f402 in __kernel_vsyscall () /usr/libexec/bacula/btraceback.gdb:1: Error in sourced command file: No symbol table is loaded. Use the file command. pvsrv01 ~ # --- -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] File daemon at .... rejected Hello command
Hi, I'm getting started with bacula. I have a couple of minor backup jobs running for a month or two. We have a windows webserver whose existing backups are a bit rough so I thought I'd test out bacula's windows fd and get a little further into bacula as I'm at it. This is the first FD which is on a different subnet (ie passing through a router/firewall) and the first windows FD. I've run into a problem. I've set up the FD on the windows webserver and I'm pretty sure I have it moreorless right with the password matching that on the server. I've created a firewall rule for port 9102 and can telnet to 9102 on the FD. I've started the director console on the backup server and (just to test) asked it to estimate the time for the job on the windows machine FD. The estimation works for the other backup jobs. I get this error: 23-Jun 13:12 cuimhne-dir JobId 0: Fatal error: File daemon at babble.gcd.ie:9102 rejected Hello command 23-Jun 13:13 cuimhne-dir JobId 0: Fatal error: File daemon at babble.gcd.ie:9102 rejected Hello command I wonder is it immediately obvious to anyone what might cause this? What should I be checking to see what's wrong? I can post a tcpdump trace, etc. if need be. Thanks in advance, Gavin -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Listing messages for a certain job
Hi every: Today, in the morning I check my Bacula status and I see a lot of Jobs terminated but with errors. I'm using Webacula to check this. I'm asking if it's possible trough the console or trough Webacula to see messages for certain Job giving JobId or something else? Regards, -- Ing. Reynier Pérez Mira -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File daemon at .... rejected Hello command
Make sure your director and fd are the same major version, e.g. 3.0.1. I had the same error when a v3 director tried to talk to a v2 fd. Thanks Matthias -Original Message- From: Gavin McCullagh gavin.mccull...@gcd.ie Sent: Tuesday, 23 June 2009 11:31 PM To: bacula-users bacula-users@lists.sourceforge.net Subject: [Bacula-users] File daemon at rejected Hello command Hi, I'm getting started with bacula. I have a couple of minor backup jobs running for a month or two. We have a windows webserver whose existing backups are a bit rough so I thought I'd test out bacula's windows fd and get a little further into bacula as I'm at it. This is the first FD which is on a different subnet (ie passing through a router/firewall) and the first windows FD. I've run into a problem. I've set up the FD on the windows webserver and I'm pretty sure I have it moreorless right with the password matching that on the server. I've created a firewall rule for port 9102 and can telnet to 9102 on the FD. I've started the director console on the backup server and (just to test) asked it to estimate the time for the job on the windows machine FD. The estimation works for the other backup jobs. I get this error: 23-Jun 13:12 cuimhne-dir JobId 0: Fatal error: File daemon at babble.gcd.ie:9102 rejected Hello command 23-Jun 13:13 cuimhne-dir JobId 0: Fatal error: File daemon at babble.gcd.ie:9102 rejected Hello command I wonder is it immediately obvious to anyone what might cause this? What should I be checking to see what's wrong? I can post a tcpdump trace, etc. if need be. Thanks in advance, Gavin -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Firewall fun
Greetings Moved a machine into a dmz behind a pix515e firewall. Created a rule to allow the fd to connect to the sd and it seems to work, except for one little peculiarity on a larger backup job. On a server that backs up about 60GB, it fails at the very tail end of the backup. The firewall log is showing that it is tearing down the tcp connection due to a TCP Reset-I then denying the connection a bit later. I'm not finding much I can do in the firewall to solve the issue. I was contemplating putting a direct connection cable beween the fd and the sd to solve this. (Darn cisco, if this firewall was iptables, a solution would be easy) Anybody have any other ideas?? Thanks in advance for any assistance. Dirk Here is the log from the job: Fatal error: fd_cmds.c:181 FD command not found: ??? +'l8?^B???k???F???N!?^]???m?x??+???f??^?u Job zimbra.2009-06-22_21.31.27_22 marked to be canceled. 2009-06-22 23:31:27 centos2-dir Fatal error: Network error with FD during Backup: ERR=Connection reset by peer 2009-06-22 23:31:32 centos2-dir Error: Bacula centos2-dir 3.0.2 (25May09): 22-Jun-2009 23:31:32 Build OS: x86_64-pc-linux-gnu redhat JobId: 652 Job:zimbra.2009-06-22_21.31.27_22 Backup Level: Full Client: mail2-fd 3.0.2 (25May09) x86_64-unknown-linux-gnu,redhat, FileSet:ZimbraSet 2009-06-20 02:00:00 Pool: LTO_OddWeekend (From User input) Catalog:MyCatalog (From Client resource) Storage:LTO (From Pool resource) Scheduled time: 22-Jun-2009 21:31:19 Start time: 22-Jun-2009 21:31:29 End time: 22-Jun-2009 23:31:32 Elapsed time: 2 hours 3 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Encryption: no Accurate: no Volume name(s): MAIL_ODD_2_ Volume Session Id: 84 Volume Session Time:1245086595 Last Volume Bytes: 58,996,224,000 (58.99 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: Error SD termination status: Error Termination:*** Backup Error *** Fatal error: No Job status returned from FD. And here is a snippet of a log from the pix-515e firewall: Jun 22 21:29:54 Jun 22 2009 21:27:44 pix-kzo-515e : %PIX-6-302013: Built inbound TCP connection 3896095 for dmz:DMZ-SMTP2/52584 (DMZ-SMTP2/52584) to inside:Inside-centos6/9103 (Inside-centos6/9103) Jun 22 23:30:02 Jun 22 2009 23:27:52 pix-kzo-515e : %PIX-6-302014: Teardown TCP connection 3896095 for dmz:DMZ-SMTP2/52584 to inside:Inside-centos6/9103 duration 2:00:12 bytes 3906499625 TCP Reset-I Jun 22 23:30:13 Jun 22 2009 23:28:03 pix-kzo-515e : %PIX-6-106015: Deny TCP (no connection) from DMZ-SMTP2/54396 to Inside-centos6/9103 flags RST ACK on interface dmz -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Performance with MySQL queries since 3.0.0 (Dir inserting attributes hang)
Citando James Harper james.har...@bendigoit.com.au: Does MySQL have a 'profiler' tool like MSSQL does? I spend most of my time in MSSQL and if some operation is running slow I just attach the profiler to it and capture the queries and focus on the ones that are taking most of the time. James What is the impact of use this option in my.cnf: low_priority_updates=1 I ran a lot of concurrent jobs, and this option help me in mysql performance issues. -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified Universidade de Caxias do Sul - NPDU http://jczucco.blogspot.com --- Essa mensagem foi enviada pelo UCS Mail -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] (no subject)
On Tue, Jun 23, 2009 at 8:32 AM, Gavin McCullaghgavin.mccull...@gcd.ie wrote: Hi, I'm getting started with bacula. I have a couple of minor backup jobs running for a month or two. We have a windows webserver whose existing backups are a bit rough so I thought I'd test out bacula's windows fd and get a little further into bacula as I'm at it. This is the first FD which is on a different subnet (ie passing through a router/firewall) and the first windows FD. I've run into a problem. I've set up the FD on the windows webserver and I'm pretty sure I have it moreorless right with the password matching that on the server. I've created a firewall rule for port 9102 and can telnet to 9102 on the FD. I've started the director console on the backup server and (just to test) asked it to estimate the time for the job on the windows machine FD. The estimation works for the other backup jobs. I get this error: 23-Jun 13:12 cuimhne-dir JobId 0: Fatal error: File daemon at babble.gcd.ie:9102 rejected Hello command 23-Jun 13:13 cuimhne-dir JobId 0: Fatal error: File daemon at babble.gcd.ie:9102 rejected Hello command I wonder is it immediately obvious to anyone what might cause this? What should I be checking to see what's wrong? I can post a tcpdump trace, etc. if need be. Thanks in advance, Gavin Is your client a 3.0.X version while the server is 2.X.X? John -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Firewall fun
Sure, iptables allows for connection based rules as well as the old ipchains style rules based rules. So your probably using connection based rules like : iptables -A INPUT -p tcp -m state --state ESTABLISHED -j ACCEPT iptables -A OUTPUT -p tcp -m state --state NEW,ESTABLISHED -j ACCEPT just add something like iptables -A INPUT -p tcp --source fd_dmz_ipaddress --destination sd_internal_address --dport 9103 ACCEPT Or something to that effect. This just accepts without considering whether a connection has been established. At least that's my understanding of it, I've been less than perfect before though. Dirk On Tue, 2009-06-23 at 10:20 -0400, Matthew Komar wrote: I'm having a similar issue with a machine that is behind a pfSense firewall (which is iptables based). Do you have a quick fix for me? Dirk Bartley wrote: Greetings Moved a machine into a dmz behind a pix515e firewall. Created a rule to allow the fd to connect to the sd and it seems to work, except for one little peculiarity on a larger backup job. On a server that backs up about 60GB, it fails at the very tail end of the backup. The firewall log is showing that it is tearing down the tcp connection due to a TCP Reset-I then denying the connection a bit later. I'm not finding much I can do in the firewall to solve the issue. I was contemplating putting a direct connection cable beween the fd and the sd to solve this. (Darn cisco, if this firewall was iptables, a solution would be easy) Anybody have any other ideas?? Thanks in advance for any assistance. Dirk -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File daemon at .... rejected Hello command
Hi, On Tue, 23 Jun 2009, Matthias Reif wrote: Make sure your director and fd are the same major version, e.g. 3.0.1. I had the same error when a v3 director tried to talk to a v2 fd. Yep! Both you and John were spot on. I'm up and running now. Thanks, Gavin -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Specify spool director according to job?
I know that you can specify the spool directory under a device, but is there a way to specify the spool directory according to the job run? e.gI have three disk drive with first drive on channel one and disks 2 3 on channel 2. I would like to use a spool dir on disk three (chanel two) for all jobs (disk1 and clients), but for the jbs that back up disk 2 and disk 3 (both channel tweo), have the spool dir on disk one(channel one). -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restoring large directory does not work
Trying to restore files using bconsole: * restore client=client1-fd fileset=Client1-Fileset select current all done. It does the 'select', 'current', and 'all' but sits there on the 'done' part. I have left it like this overnight with no change in status. My setup is Bacula 2.4.4 DIR and SD on a FreeBSD 7.1. +---+---+-+-+-+--+ | jobid | level | jobfiles | jobbytes| starttime | volumename | +---+---+-+-+-+--+ | 160 | F | 11,600,468 | 371,831,421,845 | 2009-06-17 14:15:37 | Volumes0004 | +---+---++-+-+--+ You have selected the following JobId: 160 Building directory tree for JobId 160 ... + 1 Job, 11,415,174 files inserted into the tree and marked for extraction. and nothing more Anyone have any idea what I am doing wrong? Can I compile a newer bacula and connect to the current catalog database and try the restore again? Is there another way to restore? Yudhvir -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring large directory does not work
2009/6/23 mehma sarja mehmasa...@gmail.com: Trying to restore files using bconsole: * restore client=client1-fd fileset=Client1-Fileset select current all done. It does the 'select', 'current', and 'all' but sits there on the 'done' part. I have left it like this overnight with no change in status. My setup is Bacula 2.4.4 DIR and SD on a FreeBSD 7.1. +---+---+-+-+-+--+ | jobid | level | jobfiles | jobbytes | starttime | volumename | +---+---+-+-+-+--+ | 160 | F | 11,600,468 | 371,831,421,845 | 2009-06-17 14:15:37 | Volumes0004 | +---+---++-+-+--+ You have selected the following JobId: 160 Building directory tree for JobId 160 ... + 1 Job, 11,415,174 files inserted into the tree and marked for extraction. and nothing more Anyone have any idea what I am doing wrong? Can I compile a newer bacula and connect to the current catalog database and try the restore again? Is there another way to restore? Are you running out of memory on the director, database or client machine? John -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] (no subject)
Hello, and welcome here! I hope you find all the advice you need here - and I'm sure you'll be able to halp others, too! 23.06.2009 14:32, Gavin McCullagh wrote: Hi, I'm getting started with bacula. I have a couple of minor backup jobs running for a month or two. We have a windows webserver whose existing backups are a bit rough so I thought I'd test out bacula's windows fd and get a little further into bacula as I'm at it. This is the first FD which is on a different subnet (ie passing through a router/firewall) and the first windows FD. I've run into a problem. I've set up the FD on the windows webserver and I'm pretty sure I have it moreorless right with the password matching that on the server. I've created a firewall rule for port 9102 and can telnet to 9102 on the FD. You also need to allow the FD to connect to the SD - that connection is initiated by the client. I've started the director console on the backup server and (just to test) asked it to estimate the time for the job on the windows machine FD. The estimation works for the other backup jobs. I get this error: 23-Jun 13:12 cuimhne-dir JobId 0: Fatal error: File daemon at babble.gcd.ie:9102 rejected Hello command 23-Jun 13:13 cuimhne-dir JobId 0: Fatal error: File daemon at babble.gcd.ie:9102 rejected Hello command I wonder is it immediately obvious to anyone what might cause this? What should I be checking to see what's wrong? I can post a tcpdump trace, etc. if need be. Wait a bit with that... first, tell us which versions you run. I'm pretty sure that you have a version mismatch there, probably a 2.something DIR and SD and a 3.0 FD. Regards, Arno Thanks in advance, Gavin -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Firewall fun
Hi, 23.06.2009 17:04, Dirk Bartley wrote: Sure, iptables allows for connection based rules as well as the old ipchains style rules based rules. So your probably using connection based rules like : iptables -A INPUT -p tcp -m state --state ESTABLISHED -j ACCEPT iptables -A OUTPUT -p tcp -m state --state NEW,ESTABLISHED -j ACCEPT just add something like iptables -A INPUT -p tcp --source fd_dmz_ipaddress --destination sd_internal_address --dport 9103 ACCEPT Yup. That should work. But back to your problem, Dirk: Have you tried the heartbeat interval setting? That should generate some traffic so that the pix doesn't time-out the seemingly stale connection. Arno Or something to that effect. This just accepts without considering whether a connection has been established. At least that's my understanding of it, I've been less than perfect before though. Dirk On Tue, 2009-06-23 at 10:20 -0400, Matthew Komar wrote: I'm having a similar issue with a machine that is behind a pfSense firewall (which is iptables based). Do you have a quick fix for me? Dirk Bartley wrote: Greetings Moved a machine into a dmz behind a pix515e firewall. Created a rule to allow the fd to connect to the sd and it seems to work, except for one little peculiarity on a larger backup job. On a server that backs up about 60GB, it fails at the very tail end of the backup. The firewall log is showing that it is tearing down the tcp connection due to a TCP Reset-I then denying the connection a bit later. I'm not finding much I can do in the firewall to solve the issue. I was contemplating putting a direct connection cable beween the fd and the sd to solve this. (Darn cisco, if this firewall was iptables, a solution would be easy) Anybody have any other ideas?? Thanks in advance for any assistance. Dirk -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File daemon at .... rejected Hello command
Hi, 23.06.2009 17:18, Gavin McCullagh wrote: Hi, On Tue, 23 Jun 2009, Matthias Reif wrote: Make sure your director and fd are the same major version, e.g. 3.0.1. I had the same error when a v3 director tried to talk to a v2 fd. Yep! Both you and John were spot on. I'm up and running now. Damn, I was too slow :-( But thanks anyway for reposting with a proper subject :-) Arno Thanks, Gavin -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring large directory does not work
John, The dir and database are on the same machine and memory is not a problem. I tried a partial restore - it restores files but not recursively. Meaning no subdirectories. Then I tried restoring the subdirectory. It get that too but no sub-sub directories. Yudhvir -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring large directory does not work
Although the cpu is pinged at 100% Yudhvir The dir and database are on the same machine and memory is not a problem. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Firewall fun
On Tue, 2009-06-23 at 21:52 +0200, Arno Lehmann wrote: Hi, 23.06.2009 17:04, Dirk Bartley wrote: Sure, iptables allows for connection based rules as well as the old ipchains style rules based rules. So your probably using connection based rules like : iptables -A INPUT -p tcp -m state --state ESTABLISHED -j ACCEPT iptables -A OUTPUT -p tcp -m state --state NEW,ESTABLISHED -j ACCEPT just add something like iptables -A INPUT -p tcp --source fd_dmz_ipaddress --destination sd_internal_address --dport 9103 ACCEPT Yup. That should work. But back to your problem, Dirk: Have you tried the heartbeat interval setting? That should generate some traffic so that the pix doesn't time-out the seemingly stale connection. Had not looked at that option. There are a few of them. I'm no TCP expert, but I'm a little skeptical that this will do the trick. The timing from the firewall logs show a connection established and 2 mintes later a teardown. That seems awful fast for a timeout. Which I'm just guessing this is not. I'll try it and see if it helps. It's a job that takes two hours! ackk. Dirk Arno -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fwd: Restoring large directory does not work
Although the cpu is pinged at 100% Did you wait till the cpu went back to low cpu usage? Depending on your configuration and optimization of your database this could take anywhere from a few minutes to a few hours to finish. I assume the disk / array is thrashing during this time? John -- John M. Drescher -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring large directory does not work
Did you wait till the cpu went back to low cpu usage? No, it stays high overnight and my patience runs out before cpu pegging does. Depending on your configuration and optimization of your database this could take anywhere from a few minutes to a few hours to finish. I assume the disk / array is thrashing during this time? John There is no disk activity - zip. I do see load averages: 0.99, 0.97, 0.92 CPU: 24.8% user, 0.0% nice, 0.0% system, 0.1% interrupt, 75.1% idle Mem: 1650M Active, 1544M Inact, 832M Wired, 226M Cache, 214M Buf, 3647M Free Swap: 4096M Total, 252K Used, 4096M Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 27410 bacula 4 1180 1607M 1589M CPU1 1 101:59 100.00% bacula-dir 27484 pgsql 1 40 54668K 37488K sbwait 0 1:20 0.00% postgres Another interesting thing is that it is doing involuntary context switching like so: PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND 27410 bacula0 32 0 0 0 0 0.00% bacula-dir 27484 pgsql 0 0 0 0 0 0 0.00% postgres -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring large directory does not work
I'm pretty sure that a postgresql server running with so low memory 27484 pgsql 1 40 54668K 37488K sbwait 0 1:20 0.00% postgres could give a suffisant throughput. 54MB tend to indicate a default deb/rpm installation value which are very low. During the process you can get the query running, with tools console or pgadmin. And you can copy and retry it directly against the postgres server, and have measure of how much time it would take. I think you need to tweak a bit the postgresql config. Infos are present in list-archive wiki related postgres websites. mehma sarja wrote: Did you wait till the cpu went back to low cpu usage? No, it stays high overnight and my patience runs out before cpu pegging does. Depending on your configuration and optimization of your database this could take anywhere from a few minutes to a few hours to finish. I assume the disk / array is thrashing during this time? John There is no disk activity - zip. I do see load averages: 0.99, 0.97, 0.92 CPU: 24.8% user, 0.0% nice, 0.0% system, 0.1% interrupt, 75.1% idle Mem: 1650M Active, 1544M Inact, 832M Wired, 226M Cache, 214M Buf, 3647M Free Swap: 4096M Total, 252K Used, 4096M Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 27410 bacula 4 1180 1607M 1589M CPU1 1 101:59 100.00% bacula-dir 27484 pgsql 1 40 54668K 37488K sbwait 0 1:20 0.00% postgres Another interesting thing is that it is doing involuntary context switching like so: PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND 27410 bacula0 32 0 0 0 0 0.00% bacula-dir 27484 pgsql 0 0 0 0 0 0 0.00% postgres -- Bruno Friedmann -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users