Re: [Bacula-users] Rewrite filepath on backup

2009-12-28 Thread Özgür
  My purpose is to be able to separate and search more eficiently in catalogs 
  or there will be similar named files backed up from ~200 servers, where 
  each server is a base for a few products based on same framework and other 
  files such as logs, configuration and stuff. differentiating the files 
  according to path instead of job names will be much easier for searching 
  and 
  restoring.
 
 How is it you are searching the Catalog?  With bconsole or SQL?

I'm searching via SQL queries. 

 With either search tool, you can restrict searches by the backup host.

thanks for the replies, I'll try to extend database tables to better suit my 
needs
if possible :)

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula crashed - Help debug

2009-12-28 Thread Carlo Filippetto
Hi all,
I have a bacula 3.0.3 on CentOS, and it crash in 10 seconds every time I run
it..
I can't see any log neither /var/log/messages nor /var/lib/bacula/log

I tried start bacula as
bacula-dir -d 50
but nothing change

I don't know how to debug it

Con anyone help me?
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 3 for RHEL and Centos 5

2009-12-28 Thread Sven Lankes
Hi,

as I wasn't able to find a current bacula for EL5-Type distros, I built
one myself by tweaking the current Fedora (3.0.3) spec just enough to
build on EL-5 (basically all I had to do was remove bat from the build
as qt4 is not available von EL-5).

The bacula 3.0.3 - packages are available @:

http://slankes.fedorapeople.org/

Create a bacula-current-el5.repo in /etc/yum/repos.d/ 

[bacula-current-el5]
name=Bacula-current packages for EL5
baseurl=http://slankes.fedorapeople.org/bacula-el5/$basearch/RPMS/
enabled=1
gpgcheck=0

This needs the EPEL-Repository. It's only available for i386 and x86_64
as I don't have any PPC hardware to test this on.

I'll try to keep this updated as new bacula versions are released.

-- 
sven === jabber/xmpp: s...@lankes.net

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Ghost Job

2009-12-28 Thread Moabe Ferreira Domingos




Hello,


I'm
having the following problem: when I see the status of the director it
shows the job as if I was running, but there is no transfer of files. Analyzing
the status of the client in question, I see that there are actually two
jobs running, but the first job appears just on client. On director,
the jobid it has been completed.


Below is the output
from "status dir" in bconsole, as shown there is no job running at the
moment.

status dir

Scheduled Jobs:
Level Type Pri Scheduled Name
Volume
===
Full Backup 5 28-Dez-09 19:00 JBL-matriz-File01
JBL-V07


Running Jobs:
No Jobs running.

No Terminated Jobs.

*

After running a any job
the scenario is :


*status dir
Scheduled Jobs:
Level Type Pri Scheduled Name
Volume
===
Full Backup 5 28-Dez-09 19:00 JBL-matriz-File01
JBL-V07


Running Jobs:
JobId Level Name Status
==
 1217 Differe JBL-matriz-File02.2009-12-28_10.33.56.05 is running

No Terminated Jobs.

*

*stautus client=JBL

Running Jobs:
JobId 1046 Job JBL-matriz-File02.2009-12-25_20.00.00.41 is running.
 Backup Job started: 26-Dez-09 06:48
 Files=0 Bytes=0 Bytes/sec=0 Errors=0
 Files Examined=0
 SDReadSeqNo=5 fd=5
JobId 1217 Job JBL-matriz-File02.2009-12-28_10.33.56.05 is running.
 Backup Job started: 28-Dez-09 10:34
 Files=0 Bytes=0 Bytes/sec=0 Errors=0
 Files Examined=0
 SDReadSeqNo=5 fd=7
Director connected at: 28-Dez-09 10:34


As seen above, there
are two jobs running on the client, but only the second, JobId 1217, is
actually running on the director. The first, JobId 1046,
has been completed the director, which does not leave me no choice but
restart the bacula-dir.


Has anyone experienced
this problem? Any idea how to solve
it?


-- 
   #  Moabe F. Domingos
 # #  Suporte - F13 Tecnologia - www.f13.com.br
   # # #  mail: mo...@f13.com.br | fone: +55 85 3252 3836
 # # # #  msn: mo...@f13.com.br




--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Ghost Job

2009-12-28 Thread Carlo Filippetto
Hi,

I had something similar where a device lock my SD, the Dir send me an error,
but something were locked and I find several jobs running but not under the
DIR

have you tried restarting the demons (dir/sd/fd)?
I think that this isn't the best way, but it work fine


CIAO





2009/12/28 Moabe Ferreira Domingos mo...@f13.com.br

  Hello,

 I'm having the following problem: when I see the status of the director it
 shows the job as if I was running, but there is no transfer of files. 
 Analyzing
 the status of the client in question, I see that there are actually two jobs
 running, but the first job appears just on client. On director, the jobid it
 has been completed.

 Below is the output from status dir in bconsole, as shown there is no job
 running at the moment.

 status dir

 Scheduled Jobs:
 Level  Type Pri  Scheduled  Name   Volume

 ===
 Full   Backup 5  28-Dez-09 19:00JBL-matriz-File01  JBL-V07
 

 Running Jobs:
 No Jobs running.
 
 No Terminated Jobs.
 
 *

 After running a any job the scenario is :

 *status dir
 Scheduled Jobs:
 Level  Type Pri  Scheduled  Name   Volume

 ===
 Full   Backup 5  28-Dez-09 19:00JBL-matriz-File01  JBL-V07
 

 Running Jobs:
  JobId Level   Name   Status
 ==
   1217 Differe  JBL-matriz-File02.2009-12-28_10.33.56.05 is running
 
 No Terminated Jobs.
 
 *

 *stautus client=JBL

 Running Jobs:
 JobId 1046 Job JBL-matriz-File02.2009-12-25_20.00.00.41 is running.
 Backup Job started: 26-Dez-09 06:48
 Files=0 Bytes=0 Bytes/sec=0 Errors=0
 Files Examined=0
 SDReadSeqNo=5 fd=5
 JobId 1217 Job JBL-matriz-File02.2009-12-28_10.33.56.05 is running.
 Backup Job started: 28-Dez-09 10:34
 Files=0 Bytes=0 Bytes/sec=0 Errors=0
 Files Examined=0
 SDReadSeqNo=5 fd=7
 Director connected at: 28-Dez-09 10:34
 

 As seen above, there are two jobs running on the client, but only the
 second, JobId 1217, is actually running on the director. The first, JobId
 1046, has been completed the director, which does not leave me no choice but
 restart the bacula-dir.

 Has anyone experienced this problem? Any idea how to solve it?

  --
#  Moabe F. Domingos
  # #  Suporte - F13 Tecnologia - www.f13.com.br
# # #  mail: mo...@f13.com.br | fone: +55 85 3252 3836
  # # # #  msn: mo...@f13.com.br



 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


cleardot.gif--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 3924 Device not in SD Device resources Error on Windows backups only

2009-12-28 Thread M. Sébastien LELIEVRE




Greetings everyone,

I keep receiving the error I paste below. This error only occurs on
Windows client saves ; Linux clients are saved just fine !

I do not understand line 4 below since it points to a tse01 volume
(tse01 is another Windows server) ; configuration seems ok tough. 

What am I missing ?

Note : this behavior occurs on bacula3 (compiled by myself) and bacula2
(lenny debs) and for all Windows machines I try to save. All linux
saves go just fine. 

Below are :
1- log file of a windows backup
2- bacula sd conf (password blanked for paste)
3- windows backup conf (password blanked for paste)

# cat client-trt01.log
28-déc 17:43 abfsav01 JobId 10637: No prior Full backup Job record
found.
28-déc 17:43 abfsav01 JobId 10637: No prior or suitable Full backup
found in catalog. Doing FULL backup.
28-déc 17:43 abfsav01 JobId 10637: Start Backup JobId 10637,
Job=trt01.2009-12-28_17.43.45
28-déc 17:43 abfstor1-sd JobId 10637: Failed command: 1998 Volume
"tse01-diff05" status is Append, not in Pool.

28-déc 17:43 abfstor1-sd JobId 10637: Fatal error:
 Device "trt01-dv" with MediaType "file" requested by DIR not found
in SD Device resources.
28-déc 17:43 abfsav01 JobId 10637: Fatal error:
 Storage daemon didn't accept Device "trt01-dv" because:
 3924 Device "trt01-dv" not in SD Device resources.
28-déc 17:43 abfsav01 JobId 10637: Error: Bacula abfsav01 2.2.8
(26Jan08): 28-déc-2009 17:43:48
  Build OS:   i486-pc-linux-gnu debian lenny/sid
  JobId:  10637
  Job:    trt01.2009-12-28_17.43.45
  Backup Level:   Full (upgraded from Incremental)
  Client: "trt01"
  FileSet:    "trt01-fs" 2009-05-19 23:00:00
  Pool:   "trt01-full" (From Job resource)
  Storage:    "trt01-sd" (From Pool resource)
  Scheduled time: 28-déc-2009 17:43:44
  Start time: 28-déc-2009 17:43:48
  End time:   28-déc-2009 17:43:48
  Elapsed time:   0 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
  Storage Encryption: no
  Volume name(s):
  Volume Session Id:  23
  Volume Session Time:    1261666154
  Last Volume Bytes:  0 (0 B)
  Non-fatal FD errors:    0
  SD Errors:  0
  FD termination status:
  SD termination status:
  Termination:    *** Backup Error ***

~# cat /etc/bacula/bacula-sd.conf
Storage {
    Name = stor1-sd
    WorkingDirectory = "/var/lib/bacula"
    Pid Directory = "/var/run/bacula"
    Maximum Concurrent Jobs = 20
    SDAddresses = {
    ip = { addr = 192.168.254.13; port = 9103; }
    }
}

Director {
    Name = abfsav01
    Password = ""
}

Messages {
    Name = Standard
    Director = abfsav01 = all
}

Device {
    Name = trt01-dv
    Media Type = File
    Archive Device = /media/stor01/windows/trt01
    Random Access = Yes;
    AutomaticMount = Yes;
    Removable Media = No;
    AlwaysOpen = No;
}

Device {
    Name = tse01-dv
    Media Type = File
    Archive Device = /media/stor01/windows/tse01
    Random Access = Yes;
    AutomaticMount = Yes;
    Removable Media = No;
    AlwaysOpen = No;
}

Device {
    Name = catalog-dv
    Media Type = File
    Archive Device = /media/stor01/linux/catalog
    Random Access = Yes;
    AutomaticMount = Yes;
    Removable Media = No;
    AlwaysOpen = No;
}

Device {
    Name = oracle-dv
    Media Type = File
    Archive Device = /media/stor01/linux/oracle
    Random Access = Yes;
    AutomaticMount = Yes;
    Removable Media = No;
    AlwaysOpen = No;
}

:~# cat /etc/bacula/include/windows/trt01-dir.include
Client {
    Name = "trt01"
    Address = 192.168.128.11
    Catalog = ABFSAVCatalog01
    Password = ""
    Heartbeat Interval = 1 minutes
    AutoPrune = No
}

FileSet {
    Name =trt01-fs
    Include {
    File = c:/client
    File = d:/ERP
    File = c:/WINDOWS/erp.ini
    File = d:/backupAD/trt01.bkf
    }
}

Pool {
    Name = "trt01-full"
    Pool Type = backup
    Recycle Oldest Volume = yes
    Volume retention = 1 day
    Maximum Volume Jobs = 1
    Next Pool = tapes
    Storage = trt01-sd
}

Pool {
    Name = "trt01-diff"
    Maximum Volume Jobs = 1
    Volume retention = 1 day
    Recycle Oldest Volume = yes
    Pool Type = Backup
    Next Pool = tapes
    Storage = trt01-sd
}

Storage {
    Name = trt01-sd
    Address = 192.168.254.13
    Device = trt01-dv
    Media Type = file
    password = ""
}

Schedule {
    Name = trt01-sched
    Run = 

Re: [Bacula-users] Bacula 3 for RHEL and Centos 5

2009-12-28 Thread Sven Lankes
On Mon, Dec 28, 2009 at 06:43:12PM +0200, Timo Neuvonen wrote:

 as I wasn't able to find a current bacula for EL5-Type distros, I built
 one myself by tweaking the current Fedora (3.0.3) spec just enough to
 
 It requires no tweaking. 

Building the current Fedora-Specfile on EL5 does require tweaking.

 AFAIK, 3.0.3 binaries are not available for 
 RHEL-etc, but 3.0.3 srpm contains valid spec for RHEL/CentOS.
 It takes only a single rpmbuild command. Been there, done that:

Well. If you take a closer look at the specfile you'll see that it's a
rather big mess with support vor various rpm-based distros. 

The Fedora-Specfile is close to what a RHEL-Spec would look like if
bacula was included in RHEL (which I hope it'll be in the future).

Additionally being able to yum install is much more convenient than
installing a build-environment on some machine to build packages.

 Btw, 3.0.2 binary rpms are available also for RHEL. What's misleading, is 
 that they are not under rpms but under rpms-contrib-fschwarz due to 
 another packager.

According to bacula.org Version 3.0.3 is primarily a important bug fix
update to version 3.0.2.. Which sounds like that is what I want to run
if I want bacula 3 (even without looking at the fixed bugs and crashes).

-- 
sven === jabber/xmpp: s...@lankes.net

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] LTO-3 getting the lead out.

2009-12-28 Thread Brian Debelius
Hi,
I am trying to improve my LTO-3 throughput.  I recently installed a SAS 
Tandberg LTO-3 drive.  I am using Bacula 3.0.3 in Ubuntu.  I backup to 
disk files, and then copy to tape.  The disk files are 4GB in size.  
They are stored on a 4 disk RAID 5 array.  The raid and the tape drive 
are in the same system.

dd'ing a file from the raid to /dev/null yields:
#dd if=vol-0572 of=/dev/null
8388576+1 records in
8388576+1 records out
4294951097 bytes (4.3 GB) copied, 45.0316 s, 95.4 MB/s

disabling compression on the tape drive, and
dd'ing the file from raid to /dev/nst1 yields:
#dd if=vol-0572 of=/dev/nst1 bs=64K
65535+1 records in
65535+1 records out
4294951097 bytes (4.3 GB) copied, 77.9708 s, 55.1 MB/s

enabling compression on the tape drive, and
dd'ing the file from raid to /dev/nst1 yields:
#dd if=vol-0572 of=/dev/nst1 bs=64K
65535+1 records in
65535+1 records out
4294951097 bytes (4.3 GB) copied, 43.1465 s, 99.5 MB/s

These are the copy job throughput rates.  The parent jobs of these three 
run concurrently, so all three jobs are in the same disk files.
Rate: 5GB @ 22282.1 KB/s
Rate: 8GB @ 22787.8 KB/s
Rate: 5GB @ 19648.1 KB/s

With the next two jobs, they do not run concurrent, so each disk file 
only contains the data of one job.
Rate: 290GB @ 25024.7 KB/s
Rate: 58GB  @ 27998.8 KB/s

This seems slower then it should be.

brian-



--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Cannot restore VMmware/ZFS

2009-12-28 Thread Paul Greidanus
I'm trying to restore files I have backed up on the NFS server that I'm using 
to back VMware, but I'm getting similar errors to this every time I try to 
restore:

28-Dec 12:10 krikkit-dir JobId 1433: Start Restore Job 
Restore.2009-12-28_12.10.28_54
28-Dec 12:10 krikkit-dir JobId 1433: Using Device TL2000-1
28-Dec 12:10 krikkit-sd JobId 1433: 3307 Issuing autochanger unload slot 11, 
drive 0 command.
28-Dec 12:11 krikkit-sd JobId 1433: 3304 Issuing autochanger load slot 3, 
drive 0 command.
28-Dec 12:12 krikkit-sd JobId 1433: 3305 Autochanger load slot 3, drive 0, 
status is OK.
28-Dec 12:12 krikkit-sd JobId 1433: Ready to read from volume 09L4 on 
device TL2000-1 (/dev/rmt/0n).
28-Dec 12:12 krikkit-sd JobId 1433: Forward spacing Volume 09L4 to 
file:block 473:0.
28-Dec 12:15 krikkit-sd JobId 1433: Error: block.c:1010 Read error on fd=4 at 
file:blk 475:0 on device TL2000-1 (/dev/rmt/0n). ERR=I/O error.
28-Dec 12:15 krikkit-sd JobId 1433: End of Volume at file 475 on device 
TL2000-1 (/dev/rmt/0n), Volume 09L4
28-Dec 12:15 krikkit-sd JobId 1433: End of all volumes.
28-Dec 12:15 krikkit-fd JobId 1433: Error: attribs.c:423 File size of restored 
file /backupspool/rpool/vm2/.zfs/snapshot/backup/InvidiCA/InvidiCA-flat.vmdk 
not correct. Original 8589934592, restored 445841408.

Files are backed up from a zfs snapshot which is created just before the backup 
starts. Every other file I am attempting to restore works just fine... 

Is anyone out there doing ZFS snapshots for VMware, or backing up NFS servers 
that have .vmdk files on it?

Thanks

Paul--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot restore VMmware/ZFS

2009-12-28 Thread Marc Schiffbauer
* Paul Greidanus schrieb am 28.12.09 um 23:44 Uhr:
 I'm trying to restore files I have backed up on the NFS server that I'm using 
 to back VMware, but I'm getting similar errors to this every time I try to 
 restore:
 
 28-Dec 12:10 krikkit-dir JobId 1433: Start Restore Job 
 Restore.2009-12-28_12.10.28_54
 28-Dec 12:10 krikkit-dir JobId 1433: Using Device TL2000-1
 28-Dec 12:10 krikkit-sd JobId 1433: 3307 Issuing autochanger unload slot 11, 
 drive 0 command.
 28-Dec 12:11 krikkit-sd JobId 1433: 3304 Issuing autochanger load slot 3, 
 drive 0 command.
 28-Dec 12:12 krikkit-sd JobId 1433: 3305 Autochanger load slot 3, drive 0, 
 status is OK.
 28-Dec 12:12 krikkit-sd JobId 1433: Ready to read from volume 09L4 on 
 device TL2000-1 (/dev/rmt/0n).
 28-Dec 12:12 krikkit-sd JobId 1433: Forward spacing Volume 09L4 to 
 file:block 473:0.
 28-Dec 12:15 krikkit-sd JobId 1433: Error: block.c:1010 Read error on fd=4 at 
 file:blk 475:0 on device TL2000-1 (/dev/rmt/0n). ERR=I/O error.
 28-Dec 12:15 krikkit-sd JobId 1433: End of Volume at file 475 on device 
 TL2000-1 (/dev/rmt/0n), Volume 09L4
 28-Dec 12:15 krikkit-sd JobId 1433: End of all volumes.
 28-Dec 12:15 krikkit-fd JobId 1433: Error: attribs.c:423 File size of 
 restored file 
 /backupspool/rpool/vm2/.zfs/snapshot/backup/InvidiCA/InvidiCA-flat.vmdk not 
 correct. Original 8589934592, restored 445841408.
 
 Files are backed up from a zfs snapshot which is created just before the 
 backup starts. Every other file I am attempting to restore works just fine... 
 
 Is anyone out there doing ZFS snapshots for VMware, or backing up NFS servers 
 that have .vmdk files on it?

No, but I could imagine that this might have something to do with
some sparse-file setting.

Have you checked how much space of your 8GB flat vmdk is aktually being
used? Maybe this was 445841408 Bytes at backup time?

Does the same happen if you do not use pre-allocated vmdk-disks?
(Which is better anyway most of the times if you use NFS instead of vmfs)


-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job modifications in bconsole being ignored by 3.0.3?

2009-12-28 Thread Phil Stracchino
John Jorgensen wrote:
 alaric == Phil Stracchino ala...@metrocast.net writes:
 
 alaric Actually, I have a suspicion I may know what's going
 alaric on here, with more thought.  Is it perhaps the case
 alaric that 'modify Pool' in the console on a manually
 alaric started job overrides the Pool directive in the Job,
 alaric but NOT the Full/Differential/Incremental Backup Pool
 alaric directives...?
 
 That is a hypothesis that I have also made to explain my
 observations, but not something I've every established
 definitively by reference either to source code or documentation
 (we're still running Bacula 2.4.3, though, so my experience might
 be dated).

This hypothesis has subsequently been confirmed.  It is a side effect of
the change in implementation of Pool overrides that moved them from the
Schedule resource to the Job resource.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] run job problem

2009-12-28 Thread FredNF
Lukasz PUZON Brodowski a écrit :
 hi all.
 I install bacula 3.0.3 on 7.2 freebsd system, with mysql (sqlite before). in 
 both cases, when I run my only job, 
 bacula-dir crashes. I run bacula with -d100 option, and last error is:
 ABORTING due to ERROR in lockmgr.c:65 Mutex lock failure. ERR=Resource 
 deadlock avoided

Hi bacula users :)

As I was experiencing the same problem, and I maybe have the response :)
I'm currently using bacula on a FreeBSD 8.0 server. Installed using ports.

Check your charset on the database. Mine was UTF-8, I didn't check when
I've created the database. After dump the DB, droping it and recreate it
with correct encoding (SQL_ASCII), no more troubles.

A postgresql-centric little howto:

# pg_dump -Ubacula bacula  ~/bacula.sql
# su - pgsql
$ psql postgres
postgres=# DROP DATABASE bacula;
postgres=# CREATE DATABASE bacula WITH ENCODING 'SQL_ASCII';
postgres=# \q
$ exit
# vi ~/bacula.sql (and change the line
SET client_encoding = 'UTF8';
to
SET client_encoding = 'SQL_ASCII';)
# cat ~/bacula.sql | psql -Ubacula

And, now, bacula should not crash anymore.

Hope it helps.

Regards,

Fred.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users