Re: [Bacula-users] loging in using recovery cd fails rescue-cd 1.8.3

2006-07-06 Thread Christopher
Hello everyone,

I tried qemu with fedora core 5 (with all the updates/security fixes to
the core build) and even qemu did not want to run on core 5.  It said that
there are known issues with glibc 4.x (which just happens to be what is
installed on a core 5 updated).  I also tried the 1.8.2 version of the
rescue cd source code and still got the login incorrect errors.

Anyway, I have just built a test box of mandrake 10.1  (the last version
before the name changed to mandriva) and I did a quick build of the bacula
rescue cd, and I was able to log on using a normal user account and then
su to root.

Bottom line seems to be, that if you want the rescue cd to work, don't use
fedora core 5.

Thing is sh is a symlink to bash, as it is in FC5 so I now know that it
was not anything I omitted to do or messed up.

I have not yet tried to restore the fc5 server from the mandrake rescue
cd.  Have yet to correctly make the static bacula.  The test was just to
see if I could actually login before spending too much time.

I am even considering changing our proxy server over to mandriva/mandrake
if the restore does not correctly work.

Regards,

Christopher Gregory.




 On Monday 26 June 2006 12:39, Christopher wrote:
 Thanks for the reply,

 Is it the Makefile for the rescue cd that has the option for running
 under
 qemu?

 Yes,

   cd rescue/linux/cdrom
   make boot

 I generally run qemu as non-root out of fear something could go wrong.
 Take note of what it puts in the title bar (I forget exactly) when it
 starts,
 because it tells you how to get out of capture mode. It tends to get into
 mouse capture mode depending where and how you click the mouse and you
 need
 to know how to get out of it or you are more or less cooked.


 I must be doing something wrong, as I installed qemu rpm, and get:

 Could not initialize SDL - exiting

 If you are using make boot and you built with a non-smp kernel as you
 indicate below, then you probably need to tweak the qemu conf file.  I
 haven't run it for over a year so I have no idea what I did ...


 Any tips would be great.

 I am not using an smp kernel, so I am just wondering if this may be yet
 another bug with fedora core 5.  ( I did read about your nightmare with
 upgrading).

 Perhaps it is a FC5 problem.  I would hesitate to say.  I'd recommend
 loading
 rescue version 1.8.2 from Source Forge and trying it.  If it fails, then
 there is clearly something wrong because I have made a lot of FC4 rescue
 disks with that version and never had any problems.

 Yes, I have given up on Fedora. Their mixture of stability, current
 software,
 security fixes no longer meets my personal requirements for stability.  I
 am
 tired of wasting time (lots) on simple machine administration.  My
 development machine is still rather crippled (I cannot print using the lpr
 command), so I'll be switching to another distro in the near future
 (probably
 a week but almost certainly not more than a month).


  On Monday 26 June 2006 10:16, Christopher wrote:
  I am posting this again, as I have not received a reply, and the
 archive
  on source forge does not appear to have been updated in about 5 days.
  I
  really need to get this issue resolved.
 
  I did send you a reply.  If that is not the problem, then I don't know
  what is
  going on.
 
  Unfortunately, debugging it is a bit difficult, but can be done under
  qemu providing you force it to use a NON-smp kernel.  qemu at least
 the
  last version I had could not handle smp kernels.  The Makefile has a
  target that
  runs the iso under qemu.
 
  I don't have the time to properly maintain the package, which is
  *extremely*
  useful and has saved me at least 3 or 4 times from doing major
 restores.
  I
  am considering switching to using mkcdrec, which looks like a very
 well
  written and maintained package.  It also looks relatively simple for
  someone
  to add the Bacula specific code.  I am looking for someone who would
 like
  to
  do this project.
 
  I am using bash as the root login shell.
 
  /bin/sh is shown as below from the shell:
 
  [EMAIL PROTECTED] etc]# which sh
  /bin/sh
  [EMAIL PROTECTED] etc]# cd /bin
  [EMAIL PROTECTED] bin]# ls -l sh
  lrwxrwxrwx 1 root root 4 May 28 23:27 sh - bash
 
  The contents of the rootetc.list file in the cdrom build directory
 is:
 
  /etc/bashrc
  /etc/exports
  /etc/gshadow
  /etc/shadow
  /etc/passwd
  /etc/group
  /etc/hosts
  /etc/filesystems
  /etc/fstab
  /etc/protocols
  /etc/localtime
  /etc/ld.so.cache
  /etc/syslog.conf
 
  The contents of the rootsbin.list file is:
 
  roottree/sbin/arp
  roottree/sbin/ash
  roottree/sbin/awk
  roottree/sbin/badblocks
  roottree/sbin/basename
  roottree/sbin/bash
  roottree/sbin/bunzip2
  roottree/sbin/bzip2
  roottree/sbin/cat
  roottree/sbin/cdrecord
  roottree/sbin/chattr
  roottree/sbin/chgrp
  roottree/sbin/chkconfig
  roottree/sbin/chmod
  roottree/sbin/chown
  roottree/sbin/chroot
  roottree/sbin/clear
  roottree/sbin/consoletype
  

Re: [Bacula-users] Kern in Munich?

2006-07-06 Thread Ludovic Strappazon
Hi,

 On 7/4/2006 10:03 PM, Kern Sibbald wrote:
 ...
   
 Bottom line: if you guys are still interested, my wife would be interested 
 in 
 making a trip to Munich in early December for the marché de Noël 
 (Christmas 
 shopping).  I would *very* much enjoy meeting as many German users as 
 possible, but my German speaking abilities are rather poor at the moment ...
 
Did your wife consider the marché de Noël de Strasbourg ? So you could 
speak French and learn German, and even Alsacian ! ;-)

Ludovic

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] Restore files from windows client to linux client

2006-07-06 Thread Kern Sibbald
On Wednesday 05 July 2006 23:56, Arno Lehmann wrote:
 Hi,

 On 7/5/2006 8:21 PM, james jiang wrote:
  I encounter the same problem as follows. Who can help me? Thanks.
 
  05-Jul 13:19 backup00-fd: RestoreFiles.2006-07-05_13.14.50 Error: Win32
  data stream not supported on this Client.

 Well, yeah, in fact you got notified that data from a windows stream can
 not be restored to a unix- or linux client.

 The usual solution is to restore to a windows client.

 It is possible that a newer Bacula can restore to linux/unix, but you
 should look that up in the ReleaseNotes of the current version...

Yes, thanks to Thorsten's work, a non-Windows machine now parses the 
Microsoft Windows Backup stream and extracts the data.


 Arno

  05-Jul 13:19 backup00-sd: End of Volume at file 96 on device LTO-2
  (/dev/st0), Volume Full_Week_Vol_2
  05-Jul 13:19 backup00-sd: End of all volumes.
  05-Jul 13:19 backup00-fd: RestoreFiles.2006-07-05_13.14.50 Error: 4755
  non-supported data streams and 0 non-supported attrib streams ignored.
  05-Jul 13:19 backup00-dir: RestoreFiles.2006-07-05_13.14.50 Error: Bacula
  1.38.5 (18Jan06): 05-Jul-2006 13:19:38

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] loging in using recovery cd fails rescue-cd 1.8.3

2006-07-06 Thread Kern Sibbald
On Thursday 06 July 2006 08:06, Christopher wrote:
 Hello everyone,

 I tried qemu with fedora core 5 (with all the updates/security fixes to
 the core build) and even qemu did not want to run on core 5.  It said that
 there are known issues with glibc 4.x (which just happens to be what is
 installed on a core 5 updated).  I also tried the 1.8.2 version of the
 rescue cd source code and still got the login incorrect errors.

 Anyway, I have just built a test box of mandrake 10.1  (the last version
 before the name changed to mandriva) and I did a quick build of the bacula
 rescue cd, and I was able to log on using a normal user account and then
 su to root.

 Bottom line seems to be, that if you want the rescue cd to work, don't use
 fedora core 5.

 Thing is sh is a symlink to bash, as it is in FC5 so I now know that it
 was not anything I omitted to do or messed up.

 I have not yet tried to restore the fc5 server from the mandrake rescue
 cd.  Have yet to correctly make the static bacula.  The test was just to
 see if I could actually login before spending too much time.

 I am even considering changing our proxy server over to mandriva/mandrake
 if the restore does not correctly work.

Well, this is very disappointing news, but given my bad experiences with FC5, 
I am not too surprised.  

One tip that might help you:

Build the Bacula rescue disk as normal, but with the static-FD.  Then make a 
FC5 rescue disk.  You can then boot with the FC5 disk, and unmount it, mount 
the Bacula rescue disk, where you can get to the programs needed.  Please 
note that the Bacula rescue disk assumes that the disk drives are mounted 
under /disk/ ...   while the FC5 has a different naming convention.

The second point is that now that I have switched to SuSE, I need a Bacula 
rescue disk, and now I must work on it in the *very* near future.  I am 
turning over in my head if I continue with the existing boot method that I 
developed, or if I switch to mkcdrec, which seems to be well written and well 
maintained, and also uses most of the same techniques that the Bacula rescue 
disk uses.  More later ...



 Regards,

 Christopher Gregory.

  On Monday 26 June 2006 12:39, Christopher wrote:
  Thanks for the reply,
 
  Is it the Makefile for the rescue cd that has the option for running
  under
  qemu?
 
  Yes,
 
cd rescue/linux/cdrom
make boot
 
  I generally run qemu as non-root out of fear something could go wrong.
  Take note of what it puts in the title bar (I forget exactly) when it
  starts,
  because it tells you how to get out of capture mode. It tends to get into
  mouse capture mode depending where and how you click the mouse and you
  need
  to know how to get out of it or you are more or less cooked.
 
  I must be doing something wrong, as I installed qemu rpm, and get:
 
  Could not initialize SDL - exiting
 
  If you are using make boot and you built with a non-smp kernel as you
  indicate below, then you probably need to tweak the qemu conf file.  I
  haven't run it for over a year so I have no idea what I did ...
 
  Any tips would be great.
 
  I am not using an smp kernel, so I am just wondering if this may be yet
  another bug with fedora core 5.  ( I did read about your nightmare with
  upgrading).
 
  Perhaps it is a FC5 problem.  I would hesitate to say.  I'd recommend
  loading
  rescue version 1.8.2 from Source Forge and trying it.  If it fails, then
  there is clearly something wrong because I have made a lot of FC4 rescue
  disks with that version and never had any problems.
 
  Yes, I have given up on Fedora. Their mixture of stability, current
  software,
  security fixes no longer meets my personal requirements for stability.  I
  am
  tired of wasting time (lots) on simple machine administration.  My
  development machine is still rather crippled (I cannot print using the
  lpr command), so I'll be switching to another distro in the near future
  (probably
  a week but almost certainly not more than a month).
 
   On Monday 26 June 2006 10:16, Christopher wrote:
   I am posting this again, as I have not received a reply, and the
 
  archive
 
   on source forge does not appear to have been updated in about 5 days.
 
   I
 
   really need to get this issue resolved.
  
   I did send you a reply.  If that is not the problem, then I don't know
   what is
   going on.
  
   Unfortunately, debugging it is a bit difficult, but can be done under
   qemu providing you force it to use a NON-smp kernel.  qemu at least
 
  the
 
   last version I had could not handle smp kernels.  The Makefile has a
   target that
   runs the iso under qemu.
  
   I don't have the time to properly maintain the package, which is
   *extremely*
   useful and has saved me at least 3 or 4 times from doing major
 
  restores.
 
   I
   am considering switching to using mkcdrec, which looks like a very
 
  well
 
   written and maintained package.  It also looks relatively simple for
   someone
   to add the 

Re: [Bacula-users] Error writing final EOF to tape. This Volume may not be readable.

2006-07-06 Thread Julien Cigar
Arno Lehmann wrote:
 Hello,

 On 7/5/2006 10:19 AM, Julien Cigar wrote:
   
 Hi !

 ===
 Bacula:  1.38.9-10 (with the Postgresql 8.1.4 backend), director 
 configuration: http://mordor.ath.cx/stuff/bacula-dir.conf.html

 Kernel:  2.6.15

 Tape:Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: SONY Model: SDX-500C Rev: 0204
  Type:   Sequential-AccessANSI SCSI revision: 02

 Scsi:Adaptec AIC7xxx driver version: 7.0
  Adaptec 2940 Ultra SCSI adapter
  aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
  Allocated SCBs: 4, SG List Length: 128

 ===

 I got a little problem with my backup today :

 05-Jul 03:00 phoenix-dir: Start Backup JobId 12, 
 Job=bebif-job.2006-07-05_03.00.00
 05-Jul 05:36 phoenix-sd: bebif-job.2006-07-05_03.00.00 Error: block.c:538 
 Write error at 50:5589 on device sony SDX-500C (/dev/st0). 
 ERR=Input/output error.
 

 Tape life time used up, or drive broken. Usually. After all, this is DDS 
 technology, right?

   

The tapes are new .. and the drive isn't too old I think. Do you think 
it could be a bad SCSI cable ?

 05-Jul 05:36 phoenix-sd: bebif-job.2006-07-05_03.00.00 Error: Error writing 
 final EOF to tape. This Volume may not be readable.
 

 This really is an error message, not only a warning.
   

Yep ... strange that the drive worked without problems from 3:00am to 
5:36am ...

   
 dev.c:1542 ioctl MTWEOF error on sony SDX-500C (/dev/st0). 
 ERR=Input/output error.
 05-Jul 05:36 phoenix-sd: End of medium on Volume Full-Tape-0002 
 Bytes=48,606,123,849 Blocks=753,445 at 05-Jul-2006 05:36.
 05-Jul 05:37 phoenix-dir: Created new Volume Full-Tape-0003 in catalog.
 05-Jul 05:37 phoenix-sd: Please mount Volume Full-Tape-0003 on Storage 
 Device sony SDX-500C (/dev/st0) for Job bebif-job.2006-07-05_03.00.00
 05-Jul 06:37 phoenix-sd: Please mount Volume Full-Tape-0003 on Storage 
 Device sony SDX-500C (/dev/st0) for Job bebif-job.2006-07-05_03.00.00
 05-Jul 07:38 phoenix-sd: bebif-job.2006-07-05_03.00.00 Warning: Director 
 wanted Volume Full-Tape-0003 for device sony SDX-500C (/dev/st0).
 Current Volume Full-Tape-0002 not acceptable because:
 1998 Volume Full-Tape-0002 status is Full, but should be Append, 
 Purged or Recycle.
 05-Jul 08:38 phoenix-sd: Please mount Volume Full-Tape-0003 on Storage 
 Device sony SDX-500C (/dev/st0) for Job bebif-job.2006-07-05_03.00.00

 *** I changed the volume status of Full-Tape-0002 from Full to Append
 

 That's what you made the final mistake.
   

Occasionally this manipulation worked in the past ..

   
 05-Jul 09:20 phoenix-sd: Volume Full-Tape-0002 previously written, moving 
 to end of data.
 05-Jul 09:21 phoenix-sd: bebif-job.2006-07-05_03.00.00 Error: I cannot write 
 on Volume Full-Tape-0002 because:
 The number of files mismatch! Volume=61 Catalog=50
 

 Yeah, sure... probably the volume info in the catalog was not correctly 
 upgraded after the failing WEOF, because this information is worthless 
 in such a situation. (Keep in mind that I did *not* check the code.)

   
 05-Jul 09:21 phoenix-sd: Marking Volume Full-Tape-0002 in Error in Catalog.
 05-Jul 09:23 phoenix-sd: Please mount Volume Full-Tape-0003 on Storage 
 Device sony SDX-500C (/dev/st0) for Job bebif-job.2006-07-05_03.00.00

 *** I updated the number of files in the catalog from 50 to 61

 05-Jul 09:37 phoenix-sd: Volume Full-Tape-0002 previously written, moving 
 to end of data.
 05-Jul 09:39 phoenix-sd: Ready to append to end of Volume Full-Tape-0002 
 at file=61.
 05-Jul 09:39 phoenix-sd: New volume Full-Tape-0002 mounted on device sony 
 SDX-500C (/dev/st0) at 05-Jul-2006 09:39.
 05-Jul 09:39 phoenix-sd: End of Volume Full-Tape-0002 at 61:0 on device 
 sony SDX-500C (/dev/st0). Write of 64512 bytes got -1.
 05-Jul 09:39 phoenix-sd: bebif-job.2006-07-05_03.00.00 Error: Error writing 
 final EOF to tape. This Volume may not be readable.
 dev.c:1542 ioctl MTWEOF error on sony SDX-500C (/dev/st0). 
 ERR=Input/output error.
 

 Another indication that this tape is simply not writeable at that position.

   

Any idea why ? Tape broken .. ? (The tape drive has been cleaned recently)

 05-Jul 09:39 phoenix-sd: bebif-job.2006-07-05_03.00.00 Fatal error: 
 append.c:207 Fatal append error on device sony SDX-500C (/dev/st0): 
 ERR=dev.c:1542 ioctl MTWEOF error on sony SDX-500C (/dev/st0). 
 ERR=Input/output error.
 05-Jul 09:39 bebif-fd: bebif-job.2006-07-05_03.00.00 Fatal error: 
 backup.c:500 Network send error to SD. ERR=Broken pipe
 05-Jul 09:39 bebif-fd: bebif-job.2006-07-05_03.00.00 Error: bnet.c:257 Read 
 error from Storage daemon:164.15.x.x:9103: ERR=Connection reset by peer
 05-Jul 09:39 bebif-fd: bebif-job.2006-07-05_03.00.00 Error: bnet.c:426 Write 
 error sending 65536 bytes to Storage daemon:164.15.x.x:9103: ERR=Broken pipe
 05-Jul 09:39 phoenix-dir: bebif-job.2006-07-05_03.00.00 Error: Bacula 1.38.9 
 (02May06): 05-Jul-2006 09:39:38
   JobId:  

Re: [Bacula-users] messages and canceled jobs

2006-07-06 Thread le dahut
I finally decided to use my own mail system (which naturally uses 
bsmtp ;-) ), which sends short messages, in french ;-).
This way I can catch all events directly in the python code.

Maybe Canceled could be added in the message types (info, warning, 
error, fatal, terminate) and also be logged.

The problem is that the python script can cancel a job automatically 
with 'job.cancel(JobId)'.
For example, if python script tests for sufficient disk space and there 
isn't, it can do a job.cancel(JobId). If done this way, nothing is 
logged and user won't receive any message that the backup has failed.


K.



Ryan Novosielski a écrit :
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I already get messages when jobs are canceled. I'm not sure what's doing
 it, but I receive all messages. You might want to check the listings for
 the different types.
 
 le dahut wrote:
 Hello,

 Is there a way to get an email when a job is canceled ?

 My actual configuration is :
 mail = [EMAIL PROTECTED] = error, fatal, mount

 Could it be something like :
 mail = [EMAIL PROTECTED] = error, fatal, mount, canceled
 ?

 K.

 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
 
 - --
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
  |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.2.2 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFEq+cYmb+gadEcsb4RArMQAKCJMV6da5JxAgGx8P7Y6IdLyuR0LgCgiqYE
 1CgsvFT7Swb5wMB8D2WRQLc=
 =h9+v
 -END PGP SIGNATURE-
 

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] Problem with Autochanger on Bacula 1.38.11

2006-07-06 Thread Alan Brown
On Wed, 5 Jul 2006, Arno Lehmann wrote:

 I'd recommend to try the mtx-changer script alone first. I suspect there
 is a timing problem in there. My experience is that it's usually quite
 useful to use the wait_for_drive function instead of a pre-determined
 timeout, because - especially with DLT - the time it takes for the drive
 to accept a tape can greatly vary, and with uninitialized tapes it can
 take very long.

Is the changer script still using a preferred timeout by default??


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] concurent job question

2006-07-06 Thread victoria
Hello,

i'm trying to configure concurrent jobs on my bacula server. I have
about 60 clients. All clients use one Storage device. 
For concurrent job running i have set Maximum Concurrent Jobs = 10 in
the Direct, Job, Client, and Storage resources in bacula-dir.conf. Also
allowed SpoolData in Job sections for each client. But i still see
following:
Running Jobs:
 JobId Level   Name   Status
==
 1 Fulldrag.2006-07-06_12.03.20 is running
 2 Fullpoh.2006-07-06_12.03.24 is waiting on Storage File

Why? Do i need a different storage for each client? 


Thank You!
Victoria



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] Problem with Autochanger on Bacula 1.38.11

2006-07-06 Thread Arno Lehmann
Hi,

On 7/6/2006 11:51 AM, Alan Brown wrote:
 On Wed, 5 Jul 2006, Arno Lehmann wrote:
 
 
I'd recommend to try the mtx-changer script alone first. I suspect there
is a timing problem in there. My experience is that it's usually quite
useful to use the wait_for_drive function instead of a pre-determined
timeout, because - especially with DLT - the time it takes for the drive
to accept a tape can greatly vary, and with uninitialized tapes it can
take very long.
 
 
 Is the changer script still using a preferred timeout by default??

The current cvs version, at least, uses a default timeout of 15 seconds 
and _not_ wait_for_drive.

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] Problem with Autochanger on Bacula 1.38.11

2006-07-06 Thread Arno Lehmann
Hi,

On 7/6/2006 7:52 AM, Anwar wrote:
...
 Thanks for replying. I've actually tested the mtx-changer script (by 
 default at /etc/bacula/mtx-changer) and it works fine. I can list the 
 number of slots, load and unload specific slots fine.

Have you tried accessing the tape *immediately* after the load command 
returns?

 However I've found 
 that even though the documentation mentions you can use 2 parameters, 
 somehow the trap does not work. So in essence mtx-changer /dev/sg2 
 unload will not work. Instead you have to use mtx-changer /dev/sg2 
 unload 1 /dev/nst0 0 where (1 is where the tape was loaded from).

I don't know why this is the case - here it always worked with two 
parameters only - but it's quite a while that I used an unmodified 
version of mtx-changer, so this might have changed.

 I've even checked by issuing the correct mtx commands that the 
 mtx-changer script does and that works too. However running the btape 
 test (btape -c /etc/bacula-sd.conf /dev/nst0) and then running the 
 autochanger command will fail. It just keeps on loading tape 1, reading 
 for 10 minutes and then unloading, then reloading, reading ... repeat. 
 Each time getting longer. I've even labeled the tape using the console 
 label command first to ensure it wasn't an empty tape and its still fails...
 
 If I run it from the console (not btape) then I get the following 
 emailed as an error:-
 
 03-Jul 13:44 FC5-test:  Error: bnet.c:426 Write error sending 55 bytes to 
 client:127.0.0.1:36131: ERR=Broken pipe
 
 Don't know why the pipe is breaking... The passwords are all correct. I've 
 even checked that there's no firewall in the way (not supposed to matter 
 because its localhost).

I don't, too, but that might follow from the underlying problem with 
tape access...

 Is there anything else I should be looking at?

Try running the SD with debug output, and watch for the autochanger 
operations.

Arno

 Thanks!
 
 Regards,
 Anwar
 
 
 
 
 
 
 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
 

-- 
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] concurent job question

2006-07-06 Thread Arno Lehmann
Hello,

On 7/6/2006 11:37 AM, victoria wrote:
 Hello,
 
 i'm trying to configure concurrent jobs on my bacula server. I have
 about 60 clients. All clients use one Storage device. 
 For concurrent job running i have set Maximum Concurrent Jobs = 10 in
 the Direct, Job, Client, and Storage resources in bacula-dir.conf.

You probably do not want concurrent jobs in the job resource... AFAIK, 
this could mean that an incremental job is started while a full one 
still runs which is rather pointless. In your case, this setting will 
not have any effect because you didn't configure the client accordingly.

 Also
 allowed SpoolData in Job sections for each client. But i still see
 following:
 Running Jobs:
  JobId Level   Name   Status
 ==
  1 Fulldrag.2006-07-06_12.03.20 is running
  2 Fullpoh.2006-07-06_12.03.24 is waiting on Storage File
 
 Why? Do i need a different storage for each client? 

No, but you should set maximum concurrent jobs in the SD configuration, too.

Arno

 
 Thank You!
 Victoria
 
 
 
 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
 

-- 
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] Problem with Autochanger on Bacula 1.38.11

2006-07-06 Thread Alan Brown
On Thu, 6 Jul 2006, Arno Lehmann wrote:

(re mtx-changer)

 Is the changer script still using a preferred timeout by default??

 The current cvs version, at least, uses a default timeout of 15 seconds
 and _not_ wait_for_drive.

Kern, is there any compelling reason for not making wait_for_drive the default?

AB


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 TLS

2006-07-06 Thread David Rodriguez Demelos


Hi, I have created a certificate (/etc/bacula/cert.pem) and I have added TLS
directives, only for one client (bacula-fd), in my bacula config files like
this:

- bacula-dir.conf:

Director {# define myself
  Name = bacula-dir
  Description = Director de Bacula
  DIRport = 9101# where we listen for UA connections
  QueryFile = /etc/bacula/query.sql
  WorkingDirectory = /var/bacula
  PidDirectory = /var/run
  Maximum Concurrent Jobs = 20
  Password = director-password# Console password
  Messages = Standard

  TLS Enable = yes
  TLS Require = no
  TLS Verify Peer = no
  #TLS Allowed CN = [EMAIL PROTECTED]
  # This is a server certificate, used for incoming
  # console connections.
  TLS Certificate = /etc/bacula/cert.pem
}


Client {
  Name = bacula-fd
  Address = bacula-fd_adress
  FDPort = 9102
  Catalog = MyCatalog
  Password = bacula-fd-password  # password for FileDaemon
  File Retention = 30 days# 30 days
  Job Retention = 6 months# six months
  AutoPrune = yes # Prune expired Jobs/Files
  Maximum Concurrent Jobs = 20

  TLS Enable = yes
  TLS Require = yes
  #TLS Verify Peer = yes
  # This is a server certificate. It is used by connecting
  # directors to verify the authenticity of this file daemon
  TLS Certificate = /etc/bacula/cert.pem
}


Storage {
  Name = FDA
# Do not use localhost here
  Address = bacula_storage_adress  # N.B. Use a fully qualified
name here
  SDPort = 9103
  Password = storage-FDA-password
  Device = FDA
  Media Type = File
  Maximum Concurrent Jobs = 20

  TLS Require = yes
  # This is a client certificate, used by the director to
  # connect to the storage daemon
  TLS Certificate = /etc/bacula/cert.pem
}





- bacula-fd.conf:

Director {
  Name = bacula-dir
  Password = bacula-fd-password

  TLS Enable = yes
  TLS Require = yes
  TLS Verify Peer = yes
  # Allow only the Director to connect
  TLS Allowed CN = [EMAIL PROTECTED]
  # This is a server certificate. It is used by connecting
  # directors to verify the authenticity of this file daemon
  TLS Certificate = /etc/bacula/cert.pem
}




- bacula-fd.conf:

Storage { # definition of myself
  Name = bacula-sd
  SDPort = 9103  # Director's port  
  WorkingDirectory = /var/bacula
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20

  # These TLS configuration options are used for incoming
  # file daemon connections. Director TLS settings are handled
  # below.
  TLS Enable = yes
  TLS Require = yes
  # Peer certificate is not required/requested -- peer validity
  # is verified by the storage connection cookie provided to the
  # File Daemon by the director.
  TLS Verify Peer = no
  # This is a server certificate. It is used by connecting
  # file daemons to verify the authenticity of this storage daemon
  TLS Certificate = /etc/bacula/cert.pem
}


Director {
  Name = bacula-dir
  Password = storage-FDA-password

  TLS Enable = yes
  TLS Require = yes
  # Require the connecting director to provide a certificate
  # with the matching CN.
  TLS Verify Peer = yes
  TLS Allowed CN = [EMAIL PROTECTED]
  # This is a server certificate. It is used by the connecting
  # director to verify the authenticity of this storage daemon
  TLS Certificate = /etc/bacula/cert.pem
}




And when I restart bacula ...


[EMAIL PROTECTED] bacula]# ./bacula restart
Stopping the Bacula File daemon
Stopping the Bacula Storage daemon
Stopping the Bacula Director daemon

Starting the Bacula Storage daemon
06-Jul 13:07 bacula-sd:  Fatal error: TLS required but not configured in
Bacula.
06-Jul 13:07 bacula-sd:  Fatal error: TLS Key file not defined for
Director b acula-dir in /etc/bacula/bacula-sd.conf.
06-Jul 13:07 bacula-sd:  Fatal error: Neither TLS CA Certificate or TLS
CA Ce rtificate Dir are defined for Director bacula-dir in
/etc/bacula/bacula-sd.co nf. At least one CA certificate store is required
when using TLS Verify Peer.
Starting the Bacula File daemon
06-Jul 13:07 bacula-fd:  Fatal error: TLS required but not configured in
Bacula.
06-Jul 13:07 bacula-fd: ERROR in filed.c:188 Please correct configuration
file: /etc/bacula/bacula-fd.conf
Starting the Bacula Director daemon
06-Jul 13:07 bacula-dir:  Fatal error: TLS Key file not defined for
Director  bacula-dir in /etc/bacula/bacula-dir.conf.
06-Jul 13:07 bacula-dir:  Fatal error: TLS required but not configured in
Bacula .
06-Jul 13:07 bacula-dir:  Fatal error: TLS required but not configured in
Bacula .
06-Jul 13:07 bacula-dir:  Fatal error: TLS required but not configured in
Bacula .
06-Jul 13:07 bacula-dir:  Fatal error: TLS required but not configured in
Bacula .
06-Jul 13:07 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf





Thanks.


-- 
View this message in context: 
http://www.nabble.com/bacula-TLS-tf1785382.html#a5197990
Sent from the Bacula - Users forum at 

[Bacula-users] pool definition aand tls questions

2006-07-06 Thread Dave
Hello,
I'm using bacula 1.38.11 on a FreeBSD 6 box and redoing my 
configuration. I've been wanting to get individual machines to back up to 
there own subdirectory of my disk backup area, so i'm implementing that. I'm 
following the automatic disk management chapter in the bacula manual. My 
question for this is in the below output i have the Full Pool and the 
Incremental Pool, but testing the config file i got a syntax error if the 
pool=default line was not included, actually it just wanted the pool 
statement. Why would i need this default if i had set up the full and 
incremental pools?
My second question is for tls. I've got a remote box that i want to back 
up, but i need to get tls going. I've set up the lines as indicated in the 
bacula manual, now i need to come up with a ca and keys. Can anyone 
recommend a good tutorial on making a ca and keys for bacula's use? This 
will be for local clients as well, i want to encrypt all backup 
communications.
Thanks.
Dave.

Here's my config for the pool question, any comments on optimization welcome

Job {
  Name = backup_guardian
  Type = Backup
  Schedule = WeeklyCycle
  Messages = Standard
  Client = guardian-fd
  FileSet = fbsdset
  Pool = Default
Full Backup Pool = Guardian_Full
Incremental Backup Pool = Guardian_Incremental
Storage = GuardianStorage
  Write Bootstrap = /var/db/bacula/guardian.bsr
  Priority = 10
}

FileSet {
  Name = fbsdset
  Include {
options {
Compression=GZIP9
Signature=SHA1
aclsupport=yes
}
File = /etc
File = /usr/local/etc
File = /usr/local/www
File = /var/db/pkg
  }
  }

Schedule {
  Name = WeeklyCycle
  Run = Full 1st sun at 23:05
  Run = Differential 2nd-5th sun at 23:05
  Run = Incremental mon-sat at 23:05
}

Client {
  Name = guardian-fd
  Address = 192.168.1.42
  FDPort = 9102
  Catalog = MyCatalog
  Password = xxx   # password for FileDaemon
  File Retention = 62 days
  Job Retention = 3 months
  AutoPrune = yes   # Prune expired Jobs/Files
}

Storage {
  Name = GuardianStorage
  Address = 192.168.1.1# N.B. Use a fully qualified name 
here
  SDPort = 9103
  Password = xxx
  Device = GuardianStorage
  Media Type = File
#TLS Require = yes
#TLS CA Certificate File = /usr/local/etc/ssl/ca.pem
# This is a client certificate, used by the director to
# connect to the storage daemon
#TLS Certificate = /usr/local/etc/ssl/[EMAIL PROTECTED]/cert.pem
#TLS Key = /usr/local/etc/ssl/[EMAIL PROTECTED]/key.pem
}

Messages {
  Name = Standard
  mailcommand = /usr/local/sbin/bsmtp -h localhost -f 
\\([EMAIL PROTECTED]) %r\ -s \Bacula: %t %e of %c %l\ %r
  operatorcommand = /usr/local/sbin/bsmtp -h localhost -f 
\\([EMAIL PROTECTED]) %r\ -s \Bacula: Intervention needed for 
%j\ %r
  mail = [EMAIL PROTECTED] = all, !skipped
  operator = [EMAIL PROTECTED] = mount
  console = all, !skipped, !saved
  append = /var/db/bacula/log = all, !skipped
}

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle 
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days
  Accept Any Volume = yes # write on any volume in the pool
  LabelFormat = TAPE-
}

pool {
 Name = Guardian_Full
 Pool Type = Backup
Maximum Volume Jobs = 1 # New file for each backup
 Recycle = yes # Bacula can automatically recycle volumes
 AutoPrune = yes # Prune expired volumes
  Volume Retention = 2 months
Maximum Volumes = 2 # Keep 2 fulls
  Accept Any Volume = yes # write on any volume in the pool
LabelFormat = guardian-full
}

pool {
 Name = Guardian_Incremental
 Pool Type = Backup
Maximum Volume Jobs = 1 # New file for each backup
 Recycle = yes # Bacula can automatically recycle volumes
 AutoPrune = yes # Prune expired volumes
  Volume Retention = 2 months
Maximum Volumes = 10 # Keep 10 incrementals
  Accept Any Volume = yes # write on any volume in the pool
LabelFormat = guardian-incremental
}


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] messages and canceled jobs

2006-07-06 Thread Kern Sibbald
On Thursday 06 July 2006 11:30, le dahut wrote:
 I finally decided to use my own mail system (which naturally uses
 bsmtp ;-) ), which sends short messages, in french ;-).
 This way I can catch all events directly in the python code.

 Maybe Canceled could be added in the message types (info, warning,
 error, fatal, terminate) and also be logged.

 The problem is that the python script can cancel a job automatically
 with 'job.cancel(JobId)'.
 For example, if python script tests for sufficient disk space and there
 isn't, it can do a job.cancel(JobId). If done this way, nothing is
 logged and user won't receive any message that the backup has failed.

I'm not totally convinced that it is necessary to add any new code for several 
reasons:

1. Python can put messages in the Job Report, so when you cancel a job with 
Python, you can first add a message saying that Python is canceling the job.

2. All actions, including canceling, that cause the job to stop *should* 
appear in the Job log as long as you have INFO messages logged.  If someone 
can give me a concrete case of this not working, I'll try to track down where 
a message has been overlooked.



 K.

 Ryan Novosielski a écrit :
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  I already get messages when jobs are canceled. I'm not sure what's doing
  it, but I receive all messages. You might want to check the listings for
  the different types.
 
  le dahut wrote:
  Hello,
 
  Is there a way to get an email when a job is canceled ?
 
  My actual configuration is :
  mail = [EMAIL PROTECTED] = error, fatal, mount
 
  Could it be something like :
  mail = [EMAIL PROTECTED] = error, fatal, mount, canceled
  ?
 
  K.
 
  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
 
  - --
    _  _ _  _ ___  _  _  _
 
   |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
   |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 
   \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.2.2 (GNU/Linux)
  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
  iD8DBQFEq+cYmb+gadEcsb4RArMQAKCJMV6da5JxAgGx8P7Y6IdLyuR0LgCgiqYE
  1CgsvFT7Swb5wMB8D2WRQLc=
  =h9+v
  -END PGP SIGNATURE-

 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] pool definition aand tls questions

2006-07-06 Thread Dan Langille
On 6 Jul 2006 at 7:43, Dave wrote:

 My second question is for tls. I've got a remote box that i want to back 
 up, but i need to get tls going. I've set up the lines as indicated in the 
 bacula manual, now i need to come up with a ca and keys. Can anyone 
 recommend a good tutorial on making a ca and keys for bacula's use? This 
 will be for local clients as well, i want to encrypt all backup 
 communications.

I recommend using cacert.org, it's what I use.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php



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] Verify problems on bacula-1.38.10

2006-07-06 Thread Kern Sibbald
On Thursday 06 July 2006 13:43, Andrey Yakovlev wrote:
 Hello Kern.

 I using bacula for a long time for a Security checks ( aka tripewire  )
 jobs.

Bravo, I wish more people would discover this feature.  It is one thing that 
lets me sleep at night knowing that if someone installs a rootkit on my 
server I will know about it in the morning !

 After upgrading to bacula-1.38.10 and than to .11, verify jobs started
 to output strange diagnostics

 ==
 orion-dir: The following files are missing:
 orion-dir:   /usr/local/lib/arj/
 orion-dir:   /usr/share/openssl/
 orion-dir:   /usr/local/lib/perl5/site_perl/
 orion-dir:   /usr/local/lib/perl5/
 orion-dir:   /usr/local/lib/
 orion-dir:   /usr/local/lib/mysql/
 orion-dir:   /usr/local/lib/compat/pkg/
 orion-dir:   /usr/local/lib/compat/
 orion-dir:   /usr/local/lib/gettext/
 ...
 an so on
 

Well, there was a bug in previous versions which prevented Bacula from 
printing missing files.  In fixing it, it is possible that I introduced 
another problem.  However, I have not seen the above here, and I suspect 
there is just some strange thing with your catalog.

What I recommend is to run your Verify job with InitCatalog, then immediately 
afterward run it again with Catalog, and if still reports problems, then we 
need to look into it some more.  Hopefully that will resolve your problems.

One thing to know is that the current algorithm will get confused if you run 
multiple simultaneous Verifies, so please ensure that the verify jobs run one 
at a time.

In any case, please let me know how it turns out ...

I hope you don't mind me coping the bacula-users list, I think they might be 
interested in this.


 These catalogs are on disk, but veryfy jobs thinks that they missing. Why ?
 And also, these catalogs are within catalogs  defined in 2-nd Include
  (/usr/share/openssl,
 /usr/local/man, /usr/local/lib).

  May be, there is problems with config ? or with  verify run algorithms ?


 Here is part of config with Fileset

 =
 FileSet {
   Name = VerifySet
   Include {
   Options {
  RegexFile = ^.*\/man\/whatis$
  wilddir = */man/*
  Exclude = yes
   }

   Options {
  verify=pins1ug
  signature=SHA1
  #wildfile= */man/*
  #wilddir = */man/*
  #wildfile = whatis
  #Exclude = yes
   }

   File = /kernel
   File = /bin
   File = /boot
   File = /etc
   File = /lib
   File = /libexec
   File = /sbin
   File = /usr/bin
   File = /usr/include
   File = /usr/lib
   File = /usr/libdata
   File = /usr/libexec
   File = /usr/sbin
   File = /usr/share
   File = /usr/local
   File = /root/scripts

   }


   Include {
   Options {
 RegexFile = ^.*\/man\/whatis$
 Exclude = yes
   }
   Options {
 wildfile= whatis
Exclude = yes
   }

   Options {
 verify=pnsug
 #wildfile= */man/*
 wilddir = */man/*
   }

   Options {
 RegexFile = ^.*$
 Exclude = yes
   }

   File = /usr/share/openssl
   File = /usr/local/man
   File = /usr/local/lib
}

Exclude {
   File = /usr/local/lib/nessus
   File = /usr/share/man
}

 }

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] concurent job question

2006-07-06 Thread Martin Simmons
 On Thu, 06 Jul 2006 12:37:51 +0300, victoria  said:
 
 Hello,
 
 i'm trying to configure concurrent jobs on my bacula server. I have
 about 60 clients. All clients use one Storage device. 
 For concurrent job running i have set Maximum Concurrent Jobs = 10 in
 the Direct, Job, Client, and Storage resources in bacula-dir.conf. Also
 allowed SpoolData in Job sections for each client. But i still see
 following:
 Running Jobs:
  JobId Level   Name   Status
 ==
  1 Fulldrag.2006-07-06_12.03.20 is running
  2 Fullpoh.2006-07-06_12.03.24 is waiting on Storage File
 
 Why? Do i need a different storage for each client? 

Do both these jobs write to the same volume?  If not, then you will have the
problem described in http://tinyurl.com/gfq88 (Concurrent Disk Jobs).

__Martin

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] sql query to determine tape replacement, how to run automatically?

2006-07-06 Thread mark . bergman

Here's an sql query I wrote to tell me which tapes that are in the autochanger 
are in need of replacment:

---
# 18
:List Volumes in the changer that are in need of replacement
SELECT VolumeName,Storage.Name AS Storage,Slot,Pool.Name AS 
Pool,MediaType,VolStatus,VolErrors AS Errors
  FROM Media,Pool,Storage
  WHERE Media.PoolId=Pool.PoolId
  AND Slot0 AND InChanger=1
  AND Media.StorageId=Storage.StorageId
  AND ( (VolErrors0) OR (VolStatus='Error') OR (VolMounts50) OR
 (VolStatus='Disabled') OR (VolWrites399) OR (VolStatus='Full'))
  ORDER BY Slot ASC, VolumeName;
---

Now, I'd like to run this query automatically, as part of the BackupCatalog job.

My questions are:

how can I direct bacula to run a pre-defined SQL query?

can a job have multiple RunAfterJob directives, so that once the
BackupCatalog job is complete, the delete_catalog_backup script is
called, and then the SQL query is run

By the way, the sqlquery feature of bacula is terrific!

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 TLS

2006-07-06 Thread Frank Sweetser
On Thu, Jul 06, 2006 at 04:37:35AM -0700, David Rodriguez Demelos wrote:
 06-Jul 13:07 bacula-sd:  Fatal error: Neither TLS CA Certificate or TLS
 CA Ce rtificate Dir are defined for Director bacula-dir in
 /etc/bacula/bacula-sd.co nf. At least one CA certificate store is required
 when using TLS Verify Peer.

You need to start by fixing this error first.  You need to point the bacula
daemons at the CA certificate that signed the server certificates you're using
with a TLS CA Certificate File = filename directive for each daemon.

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Network Engineer  |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

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] Upgrade from 1.36.3 to latest question

2006-07-06 Thread Michael Erdely
Hi,

I'm in the process of planning an upgrade from 1.36.3 on FC3 to 1.36.11 
on FC5 (will upgrade Fedora, then Bacula).

I was wondering if the upgrade will cause any Incremental jobs to be 
upgraded to Full jobs.  Anyone?

Thanks in advance.


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] Confusion about Size of Volumes/Files while using File as Storage

2006-07-06 Thread Daniel Bloemer
Hi,

Martin Simmons wrote:
 On Wed, 05 Jul 2006 01:14:48 +0200, Daniel Bloemer said:
 Hi,

 I am a bit confused about the handling of file sizes while using
 Storage Type = File for the sd.

 The following two options are clear, they limit the size of the volumes,
 if they are not limited by the hardware.

 1. A record in the Storage daemons Device resource
 Maximum Volume Size
  
  2. A record in the Directors Pool resource
 Maximum Volume Bytes (so much for consistency)
  

 Then I found this in the documentation:

 Maximum File Size = size
   No more than size bytes will be written into a given logical file on
 the volume. Once this size is reached, an end of file mark is written on
 the volume and subsequent data are written into the next file. Breaking
 long sequences of data blocks with file marks permits quicker
 positioning to the start of a given stream of data and can improve
 recovery from read errors on the volume. The default is one Gigabyte.

 According to this entry in the documentation I would expect bacula to
 split a Volume limited by Maximum Volume Bytes in size into physical
 files limited by Maximum File Size on my harddisc. 
 While testing the backup-system I changed this parameter without any
 visible effect. I have created new volumes after changing the parameter,
 to make the change effective.

 Can someone enlighten me about this?
 
 It's a confusion about the word file -- the logical file mentioned above
 is a chunk of bytes within the volume.
 
 With Bacula's tape volumes, each logical file is represented using what is
 traditionally called a file on the tape.
 
 With Bacula's file volumes, a single operating system file is used for the
 whole volume and its size is limited by Maximum Volume Bytes/Size.  There is
 only one logical file within the file volume.

Thanks for the info. That does explain it.

Daniel
-- 
Daniel Bloemer - BusinessCoDe GmbH
Systemadministration and Support
Phone: +49 (0)228 / 28925-43
http://www.business-code.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] Verify problems on bacula-1.38.10

2006-07-06 Thread Kern Sibbald
On Thursday 06 July 2006 15:26, Andrey Yakovlev wrote:
 Kern Sibbald wrote on 06.07.2006 15:21:
  On Thursday 06 July 2006 13:43, Andrey Yakovlev wrote:
  Hello Kern.
 
  Bravo, I wish more people would discover this feature.  It is one thing
  that lets me sleep at night knowing that if someone installs a rootkit on
  my server I will know about it in the morning !

 yep :)

 only thing, I usually forget to update catalog once a month, and on some
 machines catalog expires.

Yes, me too.  I've looked at the code several times and don't see the reason 
for the pruning.  I often forget to update it after loading a package update 
too, but that isn't so bad because it reminds me that it is working ...


  Well, there was a bug in previous versions which prevented Bacula from
  printing missing files.  In fixing it, it is possible that I introduced
  another problem.  However, I have not seen the above here, and I suspect
  there is just some strange thing with your catalog.
 
  What I recommend is to run your Verify job with InitCatalog, then
  immediately afterward run it again with Catalog, and if still reports
  problems, then we need to look into it some more.  Hopefully that will
  resolve your problems.

 Unfortunately, no. The same on error with new version bacula-fd and
 Catalog-Init
 But!  problem was in my config, the same catalogs matched twice, and the
 Verify complains about that.

  One thing to know is that the current algorithm will get confused if you
  run multiple simultaneous Verifies, so please ensure that the verify jobs
  run one at a time.
 
  In any case, please let me know how it turns out ...
 
  I hope you don't mind me coping the bacula-users list, I think they might
  be interested in this.

 No problem.

   May be, there is problems with config ? or with  verify run algorithms
  ?

 .. skip ..

Options {
  RegexFile = ^.*$

 The right string  - Regex = ^.*$

  Exclude = yes
}

Hmmm. Tricky.

 Thanks, now all works fine.

Good.  Thanks for the feedback.

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] backup size prediction?

2006-07-06 Thread Ludovic Strappazon

Hi Mark,

I've written a nagios shell script to check my pools in the way you 
describe.
I also remember that Arno Lehmann did something similar in perl (it is 
distibuted with the bacula sources)


Regards,
Ludovic Strappazon.

[EMAIL PROTECTED] a écrit :
Is there any way to have bacula predict how many volumes will be needed for the 
next night's backup? 


My goal is to make sure that the autochanger is always loaded with enough tapes
to handle the next night's backup, without changing tapes every day.

I'm interested in having bacula notify me in advance that it guesses that the
following night's backup will require N volumes. I don't want to run
estimate for each client (which is a time-consuming and resource intensive
action), and then sum the results. It would be great if bacula made use of
information that's in the database to get the average of the sizes of the last
X backups of the same level that's scheduled for the next backup (ie., full,
incremental, differential) for each client, and then added a user-defined
fudge-factor (maybe 10%) to guess at the size of the upcoming backup for all
scheduled jobs.

For example, most of our non-full backups are under 100GB for all clients
combined, so our autochanger can run for a long time without manually removing
full tapes and putting in new ones. However, full backups can be anywhere from
40GB to over 2TB (depending on the client). To reduce contention, full backups
are set up with a staggered schedule--each client does a full on a different
night. It would be nice to get some warning from bacula that the next night's
backup will probably take 6 volumes, so that I can make sure the enough empty
(or over-writeable) tapes are loaded.


Any suggestions about scripting such an early warning system? I'm thinking of 
something like:


--- bad pseudo-code ---
foreach $client sqlquery(Get list of clients scheduled to backup 
tonight)
{
$backup_level=sqlquery(Get level of next backup for $client);

$size=average(sqlquery size in GB of all backups for
$client of $backup_level);

$predictedsize=$total + $size;
}

$predictedsize=$predictedsize * $fudgefactor;

foreach $volsize (sqlquery(Select VolumeSize in GB
where VolumeStatus='Full'))
{
$volsizetotal=$volsize + $volsizetotal;
		$volcount++; 
	}


$average_GB_to_fill_volume=$volsizetotal/$volcount;

$volumes_needed=$predictedsize / $average_GB_to_fill_volume;

roundup($volumes_needed);

print There will be $volumes_needed needed for tonight's backup;
 EO bad pseudo-code ---



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

  




check_bacula_pools.sh
Description: application/shellscript
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] backup size prediction?

2006-07-06 Thread Arno Lehmann
Hello,

On 7/6/2006 5:10 PM, Ludovic Strappazon wrote:
 Hi Mark,
 
 I've written a nagios shell script to check my pools in the way you 
 describe.
 I also remember that Arno Lehmann did something similar in perl (it is 
 distibuted with the bacula sources)

Erm, no, not really.
I considered adding such a function to the baculareport scrip I created, 
but never actually found it necessary. But I really like to see what 
you've got :-)

 Regards,
 Ludovic Strappazon.
 
 [EMAIL PROTECTED] a écrit :
 
 Is there any way to have bacula predict how many volumes will be 
 needed for the next night's backup?
 My goal is to make sure that the autochanger is always loaded with 
 enough tapes
 to handle the next night's backup, without changing tapes every day.

 I'm interested in having bacula notify me in advance that it guesses 
 that the
 following night's backup will require N volumes. I don't want to run
 estimate for each client (which is a time-consuming and resource 
 intensive
 action), and then sum the results. It would be great if bacula made 
 use of
 information that's in the database to get the average of the sizes of 
 the last
 X backups of the same level that's scheduled for the next backup 
 (ie., full,
 incremental, differential) for each client, and then added a user-defined
 fudge-factor (maybe 10%) to guess at the size of the upcoming backup 
 for all
 scheduled jobs.

I would even try to estimate the expected growth (does *anybody* have 
backup sets that become smaller over time?) from the existing backups. 
Simply assume a linear growth and add the observed error to your result. 
Or something. I would need to brush up my mathematical / statistical 
knowledge a bit :-)

 For example, most of our non-full backups are under 100GB for all clients
 combined, so our autochanger can run for a long time without manually 
 removing
 full tapes and putting in new ones. However, full backups can be 
 anywhere from
 40GB to over 2TB (depending on the client). To reduce contention, full 
 backups
 are set up with a staggered schedule--each client does a full on a 
 different
 night. It would be nice to get some warning from bacula that the next 
 night's
 backup will probably take 6 volumes, so that I can make sure the 
 enough empty
 (or over-writeable) tapes are loaded.


 Any suggestions about scripting such an early warning system? I'm 
 thinking of something like:

 --- bad pseudo-code ---
 foreach $client sqlquery(Get list of clients scheduled to backup 
 tonight)
 {
 $backup_level=sqlquery(Get level of next backup for $client);

One problem might be to get the pool the next backup goes to.

 $size=average(sqlquery size in GB of all backups for
 $client of $backup_level);
 
 $predictedsize=$total + $size;
 }

 $predictedsize=$predictedsize * $fudgefactor;

This would need to be calculated per pool, IMO.

 foreach $volsize (sqlquery(Select VolumeSize in GB
 where VolumeStatus='Full'))
 {
 $volsizetotal=$volsize + $volsizetotal;
 $volcount++; }

 $average_GB_to_fill_volume=$volsizetotal/$volcount;

I do have some function to estimate volume capacity in baculareport.pl 
which is a little more complicated, but still gives reasonable results :-)

 $volumes_needed=$predictedsize / $average_GB_to_fill_volume;

 roundup($volumes_needed);

 print There will be $volumes_needed needed for tonight's backup;
  EO bad pseudo-code 
 ---


Apart from my obsession with with putting backups of different levels to 
different pools and storage devices, I fully agree - such a script would 
be a nice addition.

Arno


 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
 

Re: [Bacula-users] Upgrade from 1.36.3 to latest question

2006-07-06 Thread Martin Simmons
 On Thu, 06 Jul 2006 09:32:14 -0400, Michael Erdely said:
 
 Hi,
 
 I'm in the process of planning an upgrade from 1.36.3 on FC3 to 1.36.11 
 on FC5 (will upgrade Fedora, then Bacula).
 
 I was wondering if the upgrade will cause any Incremental jobs to be 
 upgraded to Full jobs.  Anyone?

If the catalog survives the upgrade and you don't change the fileset
definitions, then thee jobs will remain as Incremental.

Of course the old full backups of the OS partitions will be pretty stale, so
doing a manual full backup is advisable.

__Martin

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] backup size prediction?

2006-07-06 Thread Arno Lehmann
Ludovic,

On 7/6/2006 8:22 PM, Ludovic Strappazon wrote:
   Hello Arno,
 
 This is the script :

thanks a lot!

This looks like it's meant for use as a Nagios check, is this assumption 
correct?

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.spec file and CentOS 4.3

2006-07-06 Thread Michael Nelson
... continuing...

If I modify the test line in the spec file (adding a  ! %{centos4}
after the rh9 entry, then it whines about needing linc-devel, which as
far as I have been able to determine, is not available for CentOS4 i386
stuff.

I twiddled the test line that makes it required, and again added centos4
to it.  Then it goes off to build.

It's building now, but I can't help but think I am doing something wrong
and that all the above twiddling shouldn't be required.



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.spec file and CentOS 4.3

2006-07-06 Thread Michael Nelson
The build blew up trying to build the gnome console, which I don't care
about anyway.  So, I turned that off in the spec file and the build
completed, and the resultant rpms installed and work.

But either that spec file is (or I am) not quite right.

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


Re: [Bacula-users] bacula.spec file and CentOS 4.3

2006-07-06 Thread Dan Trainor
Michael Nelson wrote:
 The build blew up trying to build the gnome console, which I don't care
 about anyway.  So, I turned that off in the spec file and the build
 completed, and the resultant rpms installed and work.
 
 But either that spec file is (or I am) not quite right.
 
 Michael
 
 

Hi -

It's been a while, but I remember having similar problems.

This link:

http://www.bacula.org/dev-manual/Bacula_ensu_RPM_Packaging.html

cleared them all right up.  Have you read this one?

Thanks
-dant

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] PowerVault 124T

2006-07-06 Thread Zod Mansour
I am testing bacula for our backups. Right away I see that I don't have 
the correct storage config file.
Does anyone have a bacula-sd.conf file for dell powervault running on 
linux? I am running RedHat Enterprise 4.

thanks in advance.

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.spec file and CentOS 4.3

2006-07-06 Thread Michael Nelson
On Thu, July 6, 2006 6:41 pm, Dan Trainor said:

 This link:

 http://www.bacula.org/dev-manual/Bacula_ensu_RPM_Packaging.html

 cleared them all right up.  Have you read this one?

Yes, I have.  I still had to do the stuff I described previously.  It's
working OK now for me, I just don't think all the hacking I did to get it
to build should have been necessary.

Oh well, thanks!

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


Re: [Bacula-users] bacula.spec file and CentOS 4.3

2006-07-06 Thread Lance A. Brown
Greetings,

I just built this bacula-1.38.11-3.src.rpm on my CentOS 4.3 server the 
command below and have been running it for several days without a problem.

rpmbuild -ba \
 --define build_centos4 1 \
 --define build_mysql4 1 \
 bacula.spec

I didn't edit the spec file at all.  Perhaps you confused things in the 
spec file?

--[Lance]

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] Director won't run as user bacula

2006-07-06 Thread Michael Carey
Hi,I've just finished upgrading our backup server from bacula 1.36.3 to 1.38.11, running on Fedora 4, using the binary rpms. The storage and file daemons start up fine, but the director silently dies. What little testing I could do showed that it won't run as user bacula (as set in bacula-ctl-dir) but runs quite happily as root. The storage daemon is running as user bacula and group disk without an issue.I've no idea how to begin to investigate this any further. Does anyone have any suggestions?Thanks,Michael Carey. __Michael Carey                                Information Systems AdministratorPhone: (03) 479 5882                                   ITS Teaching Facilitiesmailto:[EMAIL PROTECTED]              University of Otago, NZ___* 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] software compression on storage?

2006-07-06 Thread Vasily Ivanov
Hi.

Is it possible to compress files on storage, rather than on fd-server?
If not, would it be possible in the future?
'Cause the backup server is idle enough unlike the servers it is backing up 
(not to mention it is times more powerful than 2/3 of those servers), and 
data is highly compressible (about 70-80%).

PS: bacula is great! I can sleep peacefully now +)

-- 
WBR, 
Vasily
http://www.academ.org
mailto: [EMAIL PROTECTED]

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] backup size prediction?

2006-07-06 Thread Ludovic Strappazon




Arno Lehmann wrote:

  Ludovic,

On 7/6/2006 8:22 PM, Ludovic Strappazon wrote:
  
  
  Hello Arno,

This is the script :

  
  
thanks a lot!

This looks like it's meant for use as a Nagios check, is this assumption 
correct?

Arno

  

Yes, we use it with Nagios.

Ludovic.


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