Re: [Bacula-users] /var/bacula write problem (sd, mtx-changer)

2006-06-28 Thread user100
Hello,

I think there was a permissionproblem (1.38.10.? - .src.rpm) with the
mtx-changer script itself (/etc/bacula/mtx-changer). When I´m not wrong
then changing the user in the sd-init-script does not help so good - but I
don´t know if this was 1.38.10.3 or 1.38.10.1 ...

Greetings,
user100



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im 
 Auftrag von Timo Neuvonen
 Gesendet: Dienstag, 27. Juni 2006 21:49
 An: bacula-users@lists.sourceforge.net
 Betreff: Re: [Bacula-users] /var/bacula write problem (sd, 
 mtx-changer)
 
 
   For the idea of fixing this... My first guess: how about 
 changing the
   directory owner from root to bacula? That is, to bacula:bacula
   Is there spesific need it must be owned by root?
 
  You can change it to bacula:bacula and I don't think it 
 will cause any
  problems.  However, as long as the user bacula is in the 
 group bacula and
 the
  bacula group has write permission on /var/bacula, it should 
 all work fine.
 
 
 I don't know how groups stuff really _should_ work.
 But for me it very much looks things don't work that way.
 I guess since process is running with gid=disk, group 
 permissions for bacula
 seem not to be effective, although process uid=bacula.
 
 I have a uncertain idea that you used to run SD as root?
 How is this working with someone else having an autochanger, 
 and SD is run
 as root?
 Or even without autochanger, does /var/bacula/bacula-sd.9103.state get
 updated, when SD is run as bacula:disk and the directory is owned by
 root:bacula?
 
 
 Below is my first experiment with owner setting bacula:bacula
 It looks this way may work.
 I suggest re-checking this issue, if you consider everything 
 was originally
 ok.
 
 
 At first, I removed an old item bacula from /etc/group line disk.
 Then, I removed world-writable rights from /var/bacula,
 ie. changed from 777 to 770:
 drwxrwx---   2 rootbacula   4096 Jun 27 22:22 bacula
 This is what happens:
 
 *update
 Update choice:
  1: Volume parameters
  2: Pool from resource
  3: Slots from autochanger
 Choose catalog item to update (1-3): 3
 The defined Storage resources are:
  1: File
  2: Exabyte Autoloader
 Select Storage resource (1-2): 2
 Connecting to Storage daemon Exabyte Autoloader at dogbert:9103 ...
 3306 Issuing autochanger slots command.
 Device Exabyte Autoloader has 10 slots.
 Connecting to Storage daemon Exabyte Autoloader at dogbert:9103 ...
 3301 Issuing autochanger loaded drive 0 command.
 3991 Bad autochanger loaded drive 0 command: ERR=Child 
 exited with code 1.
 3306 Issuing autochanger list command.
 Invalid Slot number: mktemp: cannot create temp file
 /var/bacula/mtx.siuLCw2358: Permission denied
 Invalid Slot number: /etc/bacula/mtx-changer: line 157:
 /var/bacula/mtx.2357: Permission denied
 Invalid Slot number: cat: /var/bacula/mtx.2357: Permission denied
 Invalid Slot number: cat: /var/bacula/mtx.2357: Permission denied
 Invalid Slot number: Autochanger error: ERR=Child exited with code 1
 No Volumes found to label, or no barcodes.
 *
 
 Then, I changed owner of /var/bacula from root to bacula:
 drwxrwx---   2 bacula  bacula   4096 Jun 27 22:22 bacula
 
 *upd
 Update choice:
  1: Volume parameters
  2: Pool from resource
  3: Slots from autochanger
 Choose catalog item to update (1-3): 3
 The defined Storage resources are:
  1: File
  2: Exabyte Autoloader
 Select Storage resource (1-2): 2
 Connecting to Storage daemon Exabyte Autoloader at dogbert:9103 ...
 3306 Issuing autochanger slots command.
 Device Exabyte Autoloader has 10 slots.
 Connecting to Storage daemon Exabyte Autoloader at dogbert:9103 ...
 3301 Issuing autochanger loaded drive 0 command.
 3302 Autochanger loaded drive 0, result: nothing loaded.
 3306 Issuing autochanger list command.
 Catalog record for Volume A001 updated to reference slot 1.
 Volume A002 not found in catalog. Slot=2 InChanger set to zero.
 Catalog record for Volume A003 updated to reference slot 3.
 Volume A004 not found in catalog. Slot=4 InChanger set to zero.
 *
 
 Regards,
 Timo
 
 
 
 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=263057;
dat=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

Re: [Bacula-users] /var/bacula write problem (sd, mtx-changer)

2006-06-28 Thread Moritz Bunkus
Hey,

On Wednesday 28 June 2006 07:01, Timo Neuvonen wrote:

 So, is anyone running autochanger with storage daemon as non-root
 (bacula:disk)?

I am, on a Debian/sid system with the 1.36.3 packages still:

0 [EMAIL PROTECTED]:~$ ps -ef | grep bacula-sd
bacula9101 1  0 Mar12 ?
00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape
0 [EMAIL PROTECTED]:~$ ls -l /dev/sg0 /dev/nst0
crw-rw  1 root tape  9, 128 2002-03-14 22:51 /dev/nst0
crw-rw  1 root tape 21,   0 2002-03-14 22:51 /dev/sg0
0 [EMAIL PROTECTED]:~$ ls -ld /var/lib/bacula 
drwx--  3 bacula bacula 4096 2006-06-28 02:08 /var/lib/bacula
127 [EMAIL PROTECTED]:~$ cat /proc/scsi/scsi 
Attached devices: 
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: HP   Model: C1557A   Rev: U610
  Type:   Sequential-AccessANSI SCSI revision: 02

This is a DDS-3 six slot changer.

Regards,
Mosu

-- 
LINET Services GbR

Gotenweg 15  Tel.: 0531-180 508 0
38106 Braunschweig   Fax.: 0531-180 508 29

http://www.linet-services.de
mailto:[EMAIL PROTECTED]



pgp19P55nSYWw.pgp
Description: 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] /var/bacula write problem (sd, mtx-changer)

2006-06-28 Thread Timo Neuvonen
 I think there was a permissionproblem (1.38.10.? - .src.rpm) with the
 mtx-changer script itself (/etc/bacula/mtx-changer). When I´m not wrong
 then changing the user in the sd-init-script does not help so good - but I
 don´t know if this was 1.38.10.3 or 1.38.10.1 ...

Script is run with uid:gid of its calling process, I think not even setting
the suid bit does not change this (when it is a script). So if the problem
was what the script can do (and not who can call the script), changing
the owner:group of the file is not of any help.

Can you recall any more of this problem, maybe we are talking about the same
issue?

Regards,
Timo



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] excluding directories if a special file is present

2006-06-28 Thread Moritz Bunkus
Hey,

we've been using Bacula for quite some time now. Before that we were
using Arkeia, and one feature I rather liked about Arkeia was that you
could simply create a file called .ARK_NOBACKUP in a directory and
Arkeia would exclude that directory and all of its children from the
backup.

This allowed not only the administrator but also normal users to
selectively exclude stuff from their home directories, e.g. a download
directory containing a couple of ISO images or something like that. All
of our users (of which we don't have that many) know that they can
easily shoot themselves in their collective feet with this if they put
such a file into the wrong directory, so I'm not concerned about them
excluding important directories too much.

Now, how could I achieve something like this with Bacula? My current
idea is to have a small Perl script find all directories with such a
file and to use that like...

FileSet {
  Name = ...
  Include {
...
  }
  Exclude {
File = \\|bacula_exclude_dirs.pl
  }
}

Would that work? Problem is that this might take quite a while for huge
file systems. But after searching the docs again I couldn't find another
way.

Regards,
Mosu

-- 
LINET Services GbR

Gotenweg 15  Tel.: 0531-180 508 0
38106 Braunschweig   Fax.: 0531-180 508 29

http://www.linet-services.de
mailto:[EMAIL PROTECTED]



pgpOCHIOgNnVn.pgp
Description: 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] /var/bacula write problem (sd, mtx-changer)

2006-06-28 Thread Timo Neuvonen
  So, is anyone running autochanger with storage daemon as non-root
  (bacula:disk)?

 I am, on a Debian/sid system with the 1.36.3 packages still:

 0 [EMAIL PROTECTED]:~$ ps -ef | grep bacula-sd
 bacula9101 1  0 Mar12 ?
 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g
tape

Ok, this roughly corresponds to the setting bacula:disk used in Fedora,
although a better choice (no disk access, tape only). But non-root anyway.

 0 [EMAIL PROTECTED]:~$ ls -l /dev/sg0 /dev/nst0
 crw-rw  1 root tape  9, 128 2002-03-14 22:51 /dev/nst0
 crw-rw  1 root tape 21,   0 2002-03-14 22:51 /dev/sg0
 0 [EMAIL PROTECTED]:~$ ls -ld /var/lib/bacula
 drwx--  3 bacula bacula 4096 2006-06-28 02:08 /var/lib/bacula

Bingo!
You have owner:group bacula:bacula (NOT root:bacula) for this directory, the
same I yesterday also changed it into.

Actually, this isn't a proof yet, that root:bacula couldn't work. But that's
something I still believe in...


Regards,
Timo



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] /var/bacula write problem (sd, mtx-changer)

2006-06-28 Thread Kern Sibbald
On Wednesday 28 June 2006 10:04, Timo Neuvonen wrote:
   So, is anyone running autochanger with storage daemon as non-root
   (bacula:disk)?
 
  I am, on a Debian/sid system with the 1.36.3 packages still:
 
  0 [EMAIL PROTECTED]:~$ ps -ef | grep bacula-sd
  bacula9101 1  0 Mar12 ?
  00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g

 tape

 Ok, this roughly corresponds to the setting bacula:disk used in Fedora,
 although a better choice (no disk access, tape only). But non-root anyway.

  0 [EMAIL PROTECTED]:~$ ls -l /dev/sg0 /dev/nst0
  crw-rw  1 root tape  9, 128 2002-03-14 22:51 /dev/nst0
  crw-rw  1 root tape 21,   0 2002-03-14 22:51 /dev/sg0
  0 [EMAIL PROTECTED]:~$ ls -ld /var/lib/bacula
  drwx--  3 bacula bacula 4096 2006-06-28 02:08 /var/lib/bacula

The problem here is that the permissions of the directory (/var/lib/bacula 
or /var/bacula depending on your OS) really should be 770
or possibly 760.  As long as the permissions are 770 and the user bacula is in 
the group bacula, then the file can be owned by root.


 Bingo!
 You have owner:group bacula:bacula (NOT root:bacula) for this directory,
 the same I yesterday also changed it into.

 Actually, this isn't a proof yet, that root:bacula couldn't work. But
 that's something I still believe in...

root:bacula can and does work as I stated in a previous email, and as I state 
above -- providing you have the other items setup correctly (permissions, 
group memberships, ...).

There should also be no problem if the directory is owned by bacula:bacula.

-- 
Best regards,

Kern

  (
  /\
  V_V

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] Autochanger: Unloading/Reloading tape for follow-up job - Bad autochanger loaded drive 0 command: ???

2006-06-28 Thread Christoff Buch

Hello Users!

I hope someone with autochanger expierience
can help me with my concerns
First of all my environment:

- bacula 1.38.9 (from source)
- mtx 1.2.18rel (from rpm)
- SuSE 9.0 Kernel 2.4.21-99
- Exabyte 221L TapeLibrary (21 slots
in 3 Magazines, Barcodereader, 1 IBM Ultrium LTO-2 drive)

I don't think problem is in configure-options
nor in bacula-xxx.confs since backups succeed. So none of them here.
I just get those strange statements
in log over and over again, and I'm not sure wether someday this may lead
to a crash.
Concerning the Bad autochanger
loaded drive 0 command I guess it might be a timing problem,
but can't decide wether it's the mtx-changer or bacula itself. Do you know
anything?
(I'll add my mtx-changer)
Concerning the Unloading / Reloading
tape for follow-up job: Just why??? It's just sometimes happening,
not each time!

Today both happened in once, so here
is the part of my log:

 JobId:
155
 Job:
 Job1_.2006-06-27_22.12.15
 Backup Level:   
  Full
 Client:   
 Client1 Windows Server 2003,MVS,NT
5.2.3790
 FileSet:   
FileSet1 2006-06-13 20:16:29
 Pool:
 Daily
 Storage:   
TapeLibrary
 Scheduled time:  
  27-Jun-2006 22:12:10
 Start time:   
   27-Jun-2006 22:12:20
 End time:   
28-Jun-2006 00:55:04
 Elapsed time:   
  2 hours 42 mins 44 secs
 Priority:   
10
 FD Files Written:  
 3,903
 SD Files Written:  
 3,903
 FD Bytes Written:  
 122,954,473,051 (122.9 GB)
 SD Bytes Written:  
 122,955,147,172 (122.9 GB)
 Rate:
 12592.6 KB/s
 Software Compression: 
None
 Volume name(s):  
  TUE001L2
 Volume Session Id:  
1
 Volume Session Time:  1151424310
 Last Volume Bytes:  
123,046,455,465 (123.0 GB)
 Non-fatal FD errors:  0
 SD Errors:   
   0
 FD termination status: OK
 SD termination status: OK
 Termination:   
  Backup OK

28-Jun 00:55 heem-dir: Begin pruning
Jobs.
28-Jun 00:55 heem-dir: No Jobs found
to prune.
28-Jun 00:55 heem-dir: Begin pruning
Files.
28-Jun 00:55 heem-dir: No Files found
to prune.
28-Jun 00:55 heem-dir: End auto prune.

28-Jun 00:55 heem-dir: Start Backup
JobId 156, Job2_.2006-06-27_23.00.00
28-Jun 00:55 heem-sd: 3301 Issuing
autochanger loaded drive 0 command.
28-Jun 00:55 heem-sd: 3991 Bad autochanger
loaded drive 0 command: ERR=Operation not permitted.
28-Jun 00:55 heem-sd: 3301 Issuing autochanger
loaded drive 0 command.
28-Jun 00:55 heem-sd: 3302 Autochanger
loaded drive 0, result is Slot 3.
28-Jun 00:55 heem-sd: 3307 Issuing
autochanger unload slot 3, drive 0 command.
28-Jun 00:55 heem-sd: 3304 Issuing
autochanger load slot 3, drive 0 command.
28-Jun 00:56 heem-sd: 3305 Autochanger
load slot 3, drive 0, status is OK.
28-Jun 00:56 heem-sd: 3301 Issuing autochanger
loaded drive 0 command.
28-Jun 00:56 heem-sd: 3302 Autochanger
loaded drive 0, result is Slot 3.
28-Jun 00:56 heem-sd: Volume TUE001L2
previously written, moving to end of data.
28-Jun 00:56 heem-sd: Ready to append
to end of Volume TUE001L2 at file=124.
28-Jun 01:52 heem-dir: Bacula 1.38.9
(02May06): 28-Jun-2006 01:52:29
 JobId:
156
 Job:
 Job2_.2006-06-27_23.00.00
 Backup Level:   
  Full
 Client:   
 Client2 i686-pc-linux-gnu,suse,9.0
 FileSet:   
FileSet2 2006-06-15 00:45:31
 Pool:
 Daily
 Storage:   
TapeLibrary
 Scheduled time:  
  27-Jun-2006 23:00:00
 Start time:   
   28-Jun-2006 00:55:08
 End time:   
28-Jun-2006 01:52:29
 Elapsed time:   
  57 mins 21 secs
 Priority:   
10
 FD Files Written:  
 110,844
SD Files Written:  
 110,844
 FD Bytes Written:  
 28,747,087,799 (28.74 GB)
 SD Bytes Written:  
 28,768,112,206 (28.76 GB)
 Rate:
 8354.3 KB/s
 Software Compression: 
None
 Volume name(s):  
  TUE001L2
 Volume Session Id:  
2
 Volume Session Time:  1151424310
 Last Volume Bytes:  
151,839,027,155 (151.8 GB)
 Non-fatal FD errors:  0
 SD Errors:   
   0
 FD termination status: OK
 SD termination status: OK
 Termination:   
  Backup OK

In the 3rd job, bacula doesen't repeat
the loaded drive 0 command even though it gets an ERR
But this time at least it doesn't unload/load
the tape but goes on immediately. (see below)
I don't understand this behaviour.

28-Jun 01:52 heem-dir: Start Backup
JobId 157, Job3.2006-06-28_00.10.01
28-Jun 01:52 heem-sd: 3301 Issuing autochanger
loaded drive 0 command.
28-Jun 01:52 heem-sd: 3302 Autochanger
loaded drive 0, result is Slot 3.
28-Jun 01:52 heem-sd: 3301 Issuing
autochanger loaded drive 0 command.
28-Jun 01:52 heem-sd: 3991 Bad autochanger
loaded drive 0 command: ERR=Operation not permitted.
28-Jun 01:52 heem-sd: Volume TUE001L2
previously written, moving to end of data.
28-Jun 01:53 heem-sd: Ready to append
to end of Volume TUE001L2 at file=153.
28-Jun 02:32 heem-dir: Bacula 1.38.9
(02May06): 28-Jun-2006 02:32:50
.




Thanks in advance!

Best Regards,

i. A. Christoff Buch

=
[EMAIL PROTECTED]
+49.941.78004.607

[EMAIL PROTECTED]
OneVision Software AG

Re: [Bacula-users] /var/bacula write problem (sd, mtx-changer)

2006-06-28 Thread user100
Here:
crw-rw  1 root disk 21, 1 Jun 23 12:26 /dev/sg1
crw-rw  1 root disk 9, 0 Jun 23 12:26 /dev/st0

/etc/init.d/bacula-sd:
SD_USER=bacula
SD_GROUP=disk

Standard permissions after installation (I think):
drwxrwx---  2 root bacula 4096 Jun 28 11:30 /var/bacula

[EMAIL PROTECTED] var]# ps -ef | grep bacula-sd
bacula   29581 1  0 11:30 ?00:00:00 /usr/sbin/bacula-sd -u
bacula -g disk -c /etc/bacula/bacula-sd.conf

Does in console:
#update slots
The defined Storage resources are:
 1: File
 2: Autochanger
Select Storage resource (1-2): Unexpected question has been received.
2
Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
3306 Issuing autochanger slots command.
Device Autochanger has 16 slots.
Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
3301 Issuing autochanger loaded drive 0 command.
3991 Bad autochanger loaded drive 0 command: ERR=Child exited with code 1.
3306 Issuing autochanger list command.
Invalid Slot number: mktemp: cannot create temp file
/var/bacula/mtx.NCucc29701: Permission denied
Invalid Slot number: /etc/bacula/mtx-changer: line 157:
/var/bacula/mtx.29700: Permission denied
Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied
Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied
Invalid Slot number: Autochanger error: ERR=Child exited with code 1
No Volumes found to label, or no barcodes.
#



So after that I changed for testing /var/baculua to 777:
drwxrwxrwx  2 root bacula 4096 Jun 28 11:30 /var/bacula

But it does following in console:
#update slots
The defined Storage resources are:
 1: File
 2: Autochanger
Select Storage resource (1-2): Unexpected question has been received.
2
Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
3306 Issuing autochanger slots command.
Device Autochanger has 0 slots.
No slots in changer to scan.
#

Wrong!



That´s not true - when I change in /etc/init.d/bacula-sd to
SD_USER=root

I got:
#update slots
The defined Storage resources are:
 1: File
 2: Autochanger
Select Storage resource (1-2): Unexpected question has been received.
2
Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
3306 Issuing autochanger slots command.
Device Autochanger has 16 slots.
Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
3301 Issuing autochanger loaded drive 0 command.
3302 Autochanger loaded drive 0, result: nothing loaded.
3306 Issuing autochanger list command.
Catalog record for Volume 01L3 updated to reference slot 1.
Catalog record for Volume 02L3 updated to reference slot 2.
Volume 03L3 not found in catalog. Slot=3 InChanger set to zero.
Volume 04L3 not found in catalog. Slot=4 InChanger set to zero.
Volume 09L3 not found in catalog. Slot=9 InChanger set to zero.
Volume 10L3 not found in catalog. Slot=10 InChanger set to zero.
Volume 11L3 not found in catalog. Slot=11 InChanger set to zero.
Volume 12L3 not found in catalog. Slot=12 InChanger set to zero.
Catalog record for Volume 16L3 updated to reference slot 16.
#

Which is true. And than 770 for /var/bacula is ok too - of course. :)


Greetings,
user100




 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im 
 Auftrag von Kern Sibbald
 Gesendet: Mittwoch, 28. Juni 2006 11:10
 An: bacula-users@lists.sourceforge.net
 Cc: Timo Neuvonen
 Betreff: Re: [Bacula-users] /var/bacula write problem (sd, 
 mtx-changer)
 
 
 On Wednesday 28 June 2006 10:04, Timo Neuvonen wrote:
So, is anyone running autochanger with storage daemon 
 as non-root
(bacula:disk)?
  
   I am, on a Debian/sid system with the 1.36.3 packages still:
  
   0 [EMAIL PROTECTED]:~$ ps -ef | grep bacula-sd
   bacula9101 1  0 Mar12 ?
   00:00:00 /usr/sbin/bacula-sd -c 
 /etc/bacula/bacula-sd.conf -u bacula -g
 
  tape
 
  Ok, this roughly corresponds to the setting bacula:disk 
 used in Fedora,
  although a better choice (no disk access, tape only). But 
 non-root anyway.
 
   0 [EMAIL PROTECTED]:~$ ls -l /dev/sg0 /dev/nst0
   crw-rw  1 root tape  9, 128 2002-03-14 22:51 /dev/nst0
   crw-rw  1 root tape 21,   0 2002-03-14 22:51 /dev/sg0
   0 [EMAIL PROTECTED]:~$ ls -ld /var/lib/bacula
   drwx--  3 bacula bacula 4096 2006-06-28 02:08 /var/lib/bacula
 
 The problem here is that the permissions of the directory 
 (/var/lib/bacula 
 or /var/bacula depending on your OS) really should be 770
 or possibly 760.  As long as the permissions are 770 and the 
 user bacula is in 
 the group bacula, then the file can be owned by root.
 
 
  Bingo!
  You have owner:group bacula:bacula (NOT root:bacula) for 
 this directory,
  the same I yesterday also changed it into.
 
  Actually, this isn't a proof yet, that root:bacula couldn't 
 work. But
  that's something I still 

Re: [Bacula-users] ERR=Device or resource busy

2006-06-28 Thread Tom Yates
On Mon, 5 Jun 2006, Kern Sibbald wrote:

 Unfortunately, Bacula is sufficiently demanding that it often brings out 
 driver problems that don't show up using most Unix tape utilities, which 
 tend to be rather simple minded. They either simply write() or read(). 
 Bacula uses quite a lot more features of the drive.

just in case anyone tracks down my original mail to the list, and wonders 
how i resolved it, i should point out i've fixed it.

it seems that it was hardware.  basically, something on my old system was 
going south.  i suspect it was the processor, as it was so hard to track 
down, but i shotgunned the entire system (except for the HDD, which i had 
no reason to suspect, the PSU, which had only just been replaced in an 
earlier attempt to solve the problem, and the SCSI card, which i can't 
afford to replace and which i have some confidence in) and put in new 
motherboard, memory, processor, fan, video card and case.

the new system came up and immediately started running bacula just fine.

enormous thanks to kern for responding quickly, informatively and 
personally.


-- 

   Tom Yates  -  [EMAIL PROTECTED]  -  http://www.teaparty.net

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] incorrect fstype identification, backups fail (bacula 1.38.9, Irix 6.5)

2006-06-28 Thread Martin Simmons
 On Tue, 27 Jun 2006 15:36:49 -0400, Ryan Novosielski said:
 
 And FYI, I have just retired about 20 IRIX systems, so I have more than
 enough to go around for software testing should that be desirable. I run
 Bacula currently on an IRIX machine to back up a webserver running on
 that host, but not a 64-bit one, so I didn't run into this. As those
 reading no doubt know by now, IRIX is identified as IRIX64 on any system
 running a 64-bit processor.

I think it is bit more complicated than that, because my retired IRIX machine
has an R5000 CPU, which is 64-bit, but it is running 32-bit IRIX.  I don't
know if that is normal because I didn't install the OS...

__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] /var/bacula write problem (sd, mtx-changer)

2006-06-28 Thread Kern Sibbald
On Wednesday 28 June 2006 11:57, user100 wrote:
 Here:
 crw-rw  1 root disk 21, 1 Jun 23 12:26 /dev/sg1
 crw-rw  1 root disk 9, 0 Jun 23 12:26 /dev/st0

 /etc/init.d/bacula-sd:
 SD_USER=bacula
 SD_GROUP=disk

 Standard permissions after installation (I think):
 drwxrwx---  2 root bacula 4096 Jun 28 11:30 /var/bacula

 [EMAIL PROTECTED] var]# ps -ef | grep bacula-sd
 bacula   29581 1  0 11:30 ?00:00:00 /usr/sbin/bacula-sd -u
 bacula -g disk -c /etc/bacula/bacula-sd.conf

 Does in console:
 #update slots
 The defined Storage resources are:
  1: File
  2: Autochanger
 Select Storage resource (1-2): Unexpected question has been received.
 2
 Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
 3306 Issuing autochanger slots command.
 Device Autochanger has 16 slots.
 Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
 3301 Issuing autochanger loaded drive 0 command.
 3991 Bad autochanger loaded drive 0 command: ERR=Child exited with code
 1. 3306 Issuing autochanger list command.
 Invalid Slot number: mktemp: cannot create temp file
 /var/bacula/mtx.NCucc29701: Permission denied
 Invalid Slot number: /etc/bacula/mtx-changer: line 157:
 /var/bacula/mtx.29700: Permission denied
 Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied
 Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied
 Invalid Slot number: Autochanger error: ERR=Child exited with code 1
 No Volumes found to label, or no barcodes.
 #

This looks to me like the user bacula is not in the bacula group.


 ---
- 
 So after that I changed for testing /var/baculua to 777:
 drwxrwxrwx  2 root bacula 4096 Jun 28 11:30 /var/bacula

 But it does following in console:
 #update slots
 The defined Storage resources are:
  1: File
  2: Autochanger
 Select Storage resource (1-2): Unexpected question has been received.
 2
 Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
 3306 Issuing autochanger slots command.
 Device Autochanger has 0 slots.
 No slots in changer to scan.
 #

 Wrong!

 ---
- 
 That´s not true - when I change in /etc/init.d/bacula-sd to
 SD_USER=root

 I got:
 #update slots
 The defined Storage resources are:
  1: File
  2: Autochanger
 Select Storage resource (1-2): Unexpected question has been received.
 2
 Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
 3306 Issuing autochanger slots command.
 Device Autochanger has 16 slots.
 Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
 3301 Issuing autochanger loaded drive 0 command.
 3302 Autochanger loaded drive 0, result: nothing loaded.
 3306 Issuing autochanger list command.
 Catalog record for Volume 01L3 updated to reference slot 1.
 Catalog record for Volume 02L3 updated to reference slot 2.
 Volume 03L3 not found in catalog. Slot=3 InChanger set to zero.
 Volume 04L3 not found in catalog. Slot=4 InChanger set to zero.
 Volume 09L3 not found in catalog. Slot=9 InChanger set to zero.
 Volume 10L3 not found in catalog. Slot=10 InChanger set to zero.
 Volume 11L3 not found in catalog. Slot=11 InChanger set to zero.
 Volume 12L3 not found in catalog. Slot=12 InChanger set to zero.
 Catalog record for Volume 16L3 updated to reference slot 16.
 #

 Which is true. And than 770 for /var/bacula is ok too - of course. :)


 Greetings,
 user100

  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im
  Auftrag von Kern Sibbald
  Gesendet: Mittwoch, 28. Juni 2006 11:10
  An: bacula-users@lists.sourceforge.net
  Cc: Timo Neuvonen
  Betreff: Re: [Bacula-users] /var/bacula write problem (sd,
  mtx-changer)
 
  On Wednesday 28 June 2006 10:04, Timo Neuvonen wrote:
 So, is anyone running autochanger with storage daemon
 
  as non-root
 
 (bacula:disk)?
   
I am, on a Debian/sid system with the 1.36.3 packages still:
   
0 [EMAIL PROTECTED]:~$ ps -ef | grep bacula-sd
bacula9101 1  0 Mar12 ?
00:00:00 /usr/sbin/bacula-sd -c
 
  /etc/bacula/bacula-sd.conf -u bacula -g
 
   tape
  
   Ok, this roughly corresponds to the setting bacula:disk
 
  used in Fedora,
 
   although a better choice (no disk access, tape only). But
 
  non-root anyway.
 
0 [EMAIL PROTECTED]:~$ ls -l /dev/sg0 /dev/nst0
crw-rw  1 root tape  9, 128 2002-03-14 22:51 /dev/nst0
crw-rw  1 root tape 21,   0 2002-03-14 22:51 /dev/sg0
0 [EMAIL PROTECTED]:~$ ls -ld /var/lib/bacula
drwx--  3 bacula bacula 4096 2006-06-28 02:08 /var/lib/bacula
 
  The problem here is that the permissions of the directory
  (/var/lib/bacula
  or /var/bacula depending on your OS) really should be 770
  or possibly 760.  As long as the permissions are 770 and the
  user bacula is in
  the group bacula, then the file can be owned by root.
 
   Bingo!

Re: [Bacula-users] ERR=Device or resource busy

2006-06-28 Thread Kern Sibbald
On Wednesday 28 June 2006 12:13, Tom Yates wrote:
 On Mon, 5 Jun 2006, Kern Sibbald wrote:
  Unfortunately, Bacula is sufficiently demanding that it often brings out
  driver problems that don't show up using most Unix tape utilities, which
  tend to be rather simple minded. They either simply write() or read().
  Bacula uses quite a lot more features of the drive.

 just in case anyone tracks down my original mail to the list, and wonders
 how i resolved it, i should point out i've fixed it.

 it seems that it was hardware.  basically, something on my old system was
 going south.  i suspect it was the processor, as it was so hard to track
 down, but i shotgunned the entire system (except for the HDD, which i had
 no reason to suspect, the PSU, which had only just been replaced in an
 earlier attempt to solve the problem, and the SCSI card, which i can't
 afford to replace and which i have some confidence in) and put in new
 motherboard, memory, processor, fan, video card and case.

 the new system came up and immediately started running bacula just fine.

 enormous thanks to kern for responding quickly, informatively and
 personally.

Thanks for the feedback. I'm happy to see that your problem is resolved. 

I guess that the next time I respond, I should not only mention the fact that 
Bacula tends to expose a lot of driver bugs AND hardware problems, both of 
which are difficult and time consuming to debug ...

-- 
Best regards,

Kern

  (
  /\
  V_V

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] /var/bacula write problem (sd, mtx-changer)

2006-06-28 Thread user100
No I´m afraid it´s not so easy (while all these test):

[EMAIL PROTECTED] bacula]# cat /etc/passwd | grep bacula
bacula:x:101:6:Bacula:/var/bacula:/sbin/nologin
[EMAIL PROTECTED] bacula]# cat /etc/group | grep bacula
disk:x:6:root,bacula
bacula:x:101:bacula,postgres
[EMAIL PROTECTED] bacula]#


I think it´s strange that he tell me 0 slots when I give him more
permissions on /var/bacula too (because with 770 he found 16 - but can´t
write the tempfile) too.

Greetings,
user100

 -Ursprüngliche Nachricht-
 Von: Kern Sibbald [mailto:[EMAIL PROTECTED] 
 Gesendet: Mittwoch, 28. Juni 2006 12:32
 An: user100
 Cc: bacula-users@lists.sourceforge.net; 'Timo Neuvonen'
 Betreff: Re: AW: [Bacula-users] /var/bacula write problem 
 (sd, mtx-changer)
 
 
 On Wednesday 28 June 2006 11:57, user100 wrote:
  Here:
  crw-rw  1 root disk 21, 1 Jun 23 12:26 /dev/sg1
  crw-rw  1 root disk 9, 0 Jun 23 12:26 /dev/st0
 
  /etc/init.d/bacula-sd:
  SD_USER=bacula
  SD_GROUP=disk
 
  Standard permissions after installation (I think):
  drwxrwx---  2 root bacula 4096 Jun 28 11:30 /var/bacula
 
  [EMAIL PROTECTED] var]# ps -ef | grep bacula-sd
  bacula   29581 1  0 11:30 ?00:00:00 
 /usr/sbin/bacula-sd -u
  bacula -g disk -c /etc/bacula/bacula-sd.conf
 
  Does in console:
  #update slots
  The defined Storage resources are:
   1: File
   2: Autochanger
  Select Storage resource (1-2): Unexpected question has been 
 received.
  2
  Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
  3306 Issuing autochanger slots command.
  Device Autochanger has 16 slots.
  Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
  3301 Issuing autochanger loaded drive 0 command.
  3991 Bad autochanger loaded drive 0 command: ERR=Child 
 exited with code
  1. 3306 Issuing autochanger list command.
  Invalid Slot number: mktemp: cannot create temp file
  /var/bacula/mtx.NCucc29701: Permission denied
  Invalid Slot number: /etc/bacula/mtx-changer: line 157:
  /var/bacula/mtx.29700: Permission denied
  Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied
  Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied
  Invalid Slot number: Autochanger error: ERR=Child exited with code 1
  No Volumes found to label, or no barcodes.
  #
 
 This looks to me like the user bacula is not in the bacula group.
 
 
  
 --
 -
 - 
  So after that I changed for testing /var/baculua to 777:
  drwxrwxrwx  2 root bacula 4096 Jun 28 11:30 /var/bacula
 
  But it does following in console:
  #update slots
  The defined Storage resources are:
   1: File
   2: Autochanger
  Select Storage resource (1-2): Unexpected question has been 
 received.
  2
  Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
  3306 Issuing autochanger slots command.
  Device Autochanger has 0 slots.
  No slots in changer to scan.
  #
 
  Wrong!
 
  
 --
 -
 - 
  That´s not true - when I change in /etc/init.d/bacula-sd to
  SD_USER=root
 
  I got:
  #update slots
  The defined Storage resources are:
   1: File
   2: Autochanger
  Select Storage resource (1-2): Unexpected question has been 
 received.
  2
  Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
  3306 Issuing autochanger slots command.
  Device Autochanger has 16 slots.
  Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
  3301 Issuing autochanger loaded drive 0 command.
  3302 Autochanger loaded drive 0, result: nothing loaded.
  3306 Issuing autochanger list command.
  Catalog record for Volume 01L3 updated to reference slot 1.
  Catalog record for Volume 02L3 updated to reference slot 2.
  Volume 03L3 not found in catalog. Slot=3 InChanger 
 set to zero.
  Volume 04L3 not found in catalog. Slot=4 InChanger 
 set to zero.
  Volume 09L3 not found in catalog. Slot=9 InChanger 
 set to zero.
  Volume 10L3 not found in catalog. Slot=10 InChanger 
 set to zero.
  Volume 11L3 not found in catalog. Slot=11 InChanger 
 set to zero.
  Volume 12L3 not found in catalog. Slot=12 InChanger 
 set to zero.
  Catalog record for Volume 16L3 updated to reference slot 16.
  #
 
  Which is true. And than 770 for /var/bacula is ok too - of 
 course. :)
 
 
  Greetings,
  user100
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im
   Auftrag von Kern Sibbald
   Gesendet: Mittwoch, 28. Juni 2006 11:10
   An: bacula-users@lists.sourceforge.net
   Cc: Timo Neuvonen
   Betreff: Re: [Bacula-users] /var/bacula write problem (sd,
   mtx-changer)
  
   On Wednesday 28 June 2006 10:04, Timo Neuvonen wrote:
  So, is anyone running autochanger with storage daemon
  
   as non-root
  
  (bacula:disk)?

 I am, on a Debian/sid system with the 1.36.3 packages still:

 0 [EMAIL PROTECTED]:~$ 

Re: [Bacula-users] /var/bacula write problem (sd, mtx-changer)

2006-06-28 Thread Martin Simmons
 On Wed, 28 Jun 2006 12:32:14 +0200, Kern Sibbald said:
 
 On Wednesday 28 June 2006 11:57, user100 wrote:
  Here:
  crw-rw  1 root disk 21, 1 Jun 23 12:26 /dev/sg1
  crw-rw  1 root disk 9, 0 Jun 23 12:26 /dev/st0
 
  /etc/init.d/bacula-sd:
  SD_USER=bacula
  SD_GROUP=disk
 
  Standard permissions after installation (I think):
  drwxrwx---  2 root bacula 4096 Jun 28 11:30 /var/bacula
 
  [EMAIL PROTECTED] var]# ps -ef | grep bacula-sd
  bacula   29581 1  0 11:30 ?00:00:00 /usr/sbin/bacula-sd -u
  bacula -g disk -c /etc/bacula/bacula-sd.conf
 
  Does in console:
  #update slots
  The defined Storage resources are:
   1: File
   2: Autochanger
  Select Storage resource (1-2): Unexpected question has been received.
  2
  Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
  3306 Issuing autochanger slots command.
  Device Autochanger has 16 slots.
  Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
  3301 Issuing autochanger loaded drive 0 command.
  3991 Bad autochanger loaded drive 0 command: ERR=Child exited with code
  1. 3306 Issuing autochanger list command.
  Invalid Slot number: mktemp: cannot create temp file
  /var/bacula/mtx.NCucc29701: Permission denied
  Invalid Slot number: /etc/bacula/mtx-changer: line 157:
  /var/bacula/mtx.29700: Permission denied
  Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied
  Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied
  Invalid Slot number: Autochanger error: ERR=Child exited with code 1
  No Volumes found to label, or no barcodes.
  #
 
 This looks to me like the user bacula is not in the bacula group.

What's the status of the initgroups patch?  Without that, I don't think group
membership will make any difference.

__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] /var/bacula write problem (sd, mtx-changer)

2006-06-28 Thread Kern Sibbald
On Wednesday 28 June 2006 13:26, Martin Simmons wrote:
  On Wed, 28 Jun 2006 12:32:14 +0200, Kern Sibbald said:
 
  On Wednesday 28 June 2006 11:57, user100 wrote:
   Here:
   crw-rw  1 root disk 21, 1 Jun 23 12:26 /dev/sg1
   crw-rw  1 root disk 9, 0 Jun 23 12:26 /dev/st0
  
   /etc/init.d/bacula-sd:
   SD_USER=bacula
   SD_GROUP=disk
  
   Standard permissions after installation (I think):
   drwxrwx---  2 root bacula 4096 Jun 28 11:30 /var/bacula
  
   [EMAIL PROTECTED] var]# ps -ef | grep bacula-sd
   bacula   29581 1  0 11:30 ?00:00:00 /usr/sbin/bacula-sd -u
   bacula -g disk -c /etc/bacula/bacula-sd.conf
  
   Does in console:
   #update slots
   The defined Storage resources are:
1: File
2: Autochanger
   Select Storage resource (1-2): Unexpected question has been received.
   2
   Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
   3306 Issuing autochanger slots command.
   Device Autochanger has 16 slots.
   Connecting to Storage daemon Autochanger at swlinbck2:9103 ...
   3301 Issuing autochanger loaded drive 0 command.
   3991 Bad autochanger loaded drive 0 command: ERR=Child exited with
   code 1. 3306 Issuing autochanger list command.
   Invalid Slot number: mktemp: cannot create temp file
   /var/bacula/mtx.NCucc29701: Permission denied
   Invalid Slot number: /etc/bacula/mtx-changer: line 157:
   /var/bacula/mtx.29700: Permission denied
   Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied
   Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied
   Invalid Slot number: Autochanger error: ERR=Child exited with code 1
   No Volumes found to label, or no barcodes.
   #
 
  This looks to me like the user bacula is not in the bacula group.

 What's the status of the initgroups patch?  Without that, I don't think
 group membership will make any difference.

That's a good point.  

I have added no initgroups patch because there were two patches. The first one 
looked reasonably simple. The second patch was much larger and more 
complicated than I could handle for putting into 1.38.x at the time.  Since 
then, I have lost track of where the patch is, so if someone has it, please 
send it to me.

I have a new system of dealing with submitted patches, so this should not 
happen in the future.

-- 
Best regards,

Kern

  (
  /\
  V_V

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] status dir

2006-06-28 Thread Sebastian Stark

If you have automatic pruning turned on this is expected behaviour I  
would say.


Sebastian

On 28.06.2006, at 15:47, Julien Cigar wrote:

 Hi !

 I'm using 1.38.9 (Debian) with PostgreSQL (8.1.4)

 Am I the only one to have this kind of message : 28-Jun 12:39
 phoenix-dir: Pruning oldest volume Canis-Incr-Disk-0001 when I do a
 *status dir ? (nothing is pruned of course)

 (Complete output is available on
 http://rafb.net/paste/results/xCvfPR87.html)

 Thanks

 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] status dir

2006-06-28 Thread Sebastian Stark

On 28.06.2006, at 15:55, Julien Cigar wrote:

 Yep it's turned on, but I have this messages every time I do a  
 *status dir, and nothing is pruned

Have you checked your retention periods? Maybe this volume is just  
not old enough.

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] Tape labeling problem

2006-06-28 Thread Timo Neuvonen
 Have you run the btape tests, and did you make sure in the mtx-changer
 script the timeout after loading a tape is long enough, or the function
 waiting for the tape drive works as it should?

btape tests were ok.
Timeout problem could make some sense -the drive could make some extra tape
conditioning (reeling) for an empty tape without no eof mark at all.

I need to test this more...

--
Timo



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] Parallel restore job

2006-06-28 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Santa Claus wrote:
 Hi,

 Here is my config in attached files.
[...]

 Further I start jobs:
 file1-to-pool1
 and
 restore.files (restore all, jobid=2)

  Running Jobs:
  Console connected at 28-Jun-06 15:32
   JobId Level   Name   Status
  ==
   5 Fullfile1-to-pool1.2006-06-28_15.38.17 is running
   6 restore.files.2006-06-28_15.38.29 is waiting for higher
 priority jobs to finish


 WHY  restore.files.2006-06-28_15.38.29 is waiting for higher priority
 jobs to finis ???
 Why jobs are not worked  in parallel?

Because they don't have the same priority.

If you start a job with a low priority, and then start another job with
a different priority (whether higher or lower is not important), the
second job will have to wait as Bacula can only run jobs concurrently
that have the SAME priority value. (otherwise it would have to cancel
lower priority jobs in favour of higher ones...)

Greetings,
 Michel

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32) - GPGrelay v0.959

iD8DBQFEoo+z2Vs+MkscAyURApT1AJ90SLBfxUtq5ObdJxDuYjkDIt8JVACeM6j2
SCrxnRdDh3QNBWcRENM5o3U=
=b+Vv
-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


[Bacula-users] 1.38.10 bacula-dir with the scheduler patch crashed

2006-06-28 Thread Rumko

I had 2 jobs working in parallel on the same pool and same tape drive
(and ofcourse same volume). Did a status storage=DAT72 (DAT72 is the
name of the device in sd) ... it stopped in the middle of the output
(when it wanted to print what jobs are waiting to reserve the drive)
and I did a ctrl+c ... reran bconsole again, tried again, same thing
... repeated that about 2 times I think and then left it alone, after
a while the director crashed with Program received signal SIGPIPE,
Broken pipe. ... :)


Was running both sd and dir in gdb, sd didn't crash, but for dir I've
attached the bt.
itv# gdb /usr/local/sbin/bacula-dir
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...(no debugging symbols 
found)...
(gdb) run -u bacula -g bacula -v -c /usr/local/etc/bacula-dir.conf -f -s -d50
Starting program: /usr/local/sbin/bacula-dir -u bacula -g bacula -v -c 
/usr/local/etc/bacula-dir.conf -f -s -d50
(no debugging symbols found)...(no debugging symbols found)...warning: Unable 
to get location for thread creation breakpoint: generic error
[New LWP 100141]
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...bacula-dir: 
dird.c:129 Debug level = 50
[New Thread 0x80d1000 (LWP 100168)]
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK HVk2Pn8d9n/HSmpfED+Z8B
admiral-dir: ua_status.c:98 status:status:
admiral-dir: ua_status.c:131 do_prompt: select daemon
admiral-dir: ua_status.c:135 item=3
admiral-dir: ua_status.c:194 Stuffing: 192.168.1.186:9103
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK d++O/0wWK1/nj8/rDgswbB
admiral-dir: ua_status.c:297 Connected to storage daemon
admiral-dir: ua_status.c:228 Stuffing: 127.0.0.1:9102
admiral-dir: ua_status.c:228 Stuffing: 192.168.1.179:9102
admiral-dir: fd_cmds.c:80 Opened connection with File daemon
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK 7hMrBR+2z9BZ0n/5+651ZB
admiral-dir: ua_status.c:335 Connected to file daemon
admiral-dir: fd_cmds.c:80 Opened connection with File daemon
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK s6VUrD+ZfWx2+l/yf4kBlC
admiral-dir: ua_status.c:335 Connected to file daemon
admiral-dir: ua_status.c:98 status:status:
admiral-dir: ua_status.c:131 do_prompt: select daemon
admiral-dir: ua_status.c:135 item=2
admiral-dir: fd_cmds.c:80 Opened connection with File daemon
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK nW+3AQ/J1z+Kf9dgf39L1B
admiral-dir: ua_status.c:335 Connected to file daemon
admiral-dir: job.c:98 Open database
admiral-dir: job.c:111 DB opened
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK F7+MN/+zx6lMViU4t4o7LB
admiral-dir: fd_cmds.c:80 Opened connection with File daemon
admiral-dir: job.c:98 Open database
admiral-dir: job.c:111 DB opened
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK ny+F/w+X16+QUVxlk5p6KC
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK yU1KM+1ZxW8dR8l0pT+YwB
admiral-dir: fd_cmds.c:80 Opened connection with File daemon
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK 6ldj578vil9tJ5MKh8+zwC
admiral-dir: ua_status.c:98 status:status storage=DAT72:
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK e9thU4gWSi+7Ph/Ca9I55A
admiral-dir: ua_status.c:297 Connected to storage daemon
admiral-dir: ua_status.c:98 status:status storage=DAT72:
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK 1x+ki8lyM7+pL8/wP9+xPA
admiral-dir: ua_status.c:297 Connected to storage daemon
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK 05/jg5lKa4+RyS+g39w9qB
admiral-dir: ua_status.c:98 status:status storage=DAT72:
admiral-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
admiral-dir: cram-md5.c:68 Authenticate OK EE/EM/A/I+YvCVN228p5WA
admiral-dir: ua_status.c:297 Connected to storage daemon
admiral-dir: 

[Bacula-users] Reducing Bacula retention to gain space

2006-06-28 Thread DAve
Good morning,

We have been running Bacula on a few webservers with great success but 
we find we need to reduce the retention period on one server. We 
currently have the following setup.

Pool {
   Name = Inc-Pool
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 8 days
   Accept Any Volume = yes
   LabelFormat = Inc-
   Maximum Volume Jobs = 6
   Maximum Volumes = 5
}

Pool {
   Name = Diff-Pool
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 35 days
   Accept Any Volume = yes
   LabelFormat = Diff-
   Maximum Volume Jobs = 1
   Maximum Volumes = 5
}

Pool {
   Name = Full-Pool
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 6 months
   Accept Any Volume = yes
   LabelFormat = Full-
   Maximum Volume Jobs = 1
   Maximum Volumes = 6
}

Frankly it is more than we need and is taking up a considerable amount 
of space. I would like to reduce it but I am not sure how to do so 
without losing data.

bash-2.05b# ls -lah
total 132861382
drwx--   3 bacula  bacula  512B Jul 25  2005 .
drwxr-xr-x  17 1163nogroup 512B Jun 22 10:41 ..
-rw-r-   1 bacula  bacula  189M Jun 23 02:10 Cat-0001
-rw-r-   1 bacula  bacula  150M Jun 28 02:10 Cat-0002
-rw-r-   1 bacula  bacula  197M Jun  5 02:10 Cat-0003
-rw-r-   1 bacula  bacula  179M Jun 11 02:10 Cat-0004
-rw-r-   1 bacula  bacula  171M Jun 17 02:10 Cat-0005
-rw-r-   1 bacula  bacula  1.9G May 21 02:08 Diff-0001
-rw-r-   1 bacula  bacula  2.3G May 28 02:09 Diff-0002
-rw-r-   1 bacula  bacula  3.0G Jun 11 02:10 Diff-0003
-rw-r-   1 bacula  bacula  5.5G Jun 18 02:17 Diff-0004
-rw-r-   1 bacula  bacula  4.3G Jun 25 02:13 Diff-0005
-rw-r-   1 bacula  bacula  1.4G May 14 02:07 Diff-0006
-rw-r-   1 bacula  bacula  7.8G Mar  5 01:27 Full-0001
-rw-r-   1 bacula  bacula  8.5G Apr  2 01:30 Full-0002
-rw-r-   1 bacula  bacula  9.4G May  7 02:31 Full-0003
-rw-r-   1 bacula  bacula  9.3G Jun  4 02:34 Full-0004
-rw-r-   1 bacula  bacula  8.1G Jan  1 01:30 Full-0005
-rw-r-   1 bacula  bacula  7.8G Feb  5 01:30 Full-0006
-rw-r-   1 bacula  bacula  8.6G Jun  9 02:07 Inc-0001
-rw-r-   1 bacula  bacula   12G Jun 28 02:09 Inc-0002
-rw-r-   1 bacula  bacula   13G Jun 16 02:09 Inc-0003
-rw-r-   1 bacula  bacula   16G Jun 23 02:08 Inc-0004
-rw-r-   1 bacula  bacula  6.9G Jun  2 02:06 Inc-0005

I am looking at changing my pools to a full backup each week for a 
month, and a differential each day through the week. The million dollar 
question is how can I tell Bacula to do the pruning for me so I retain 
the proper data.

Thanks,

DAve

-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.

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] incorrect fstype identification, backups fail (bacula 1.38.9, Irix 6.5)

2006-06-28 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm confused at this point as well. The R5000 does not report back as
64-bit, but I see from reading Wiki that the first 64-bit chip was
R4000. I have an R8000 that is, but my R4400's and R5000's are all 32
according to the OS.

As far as running 32-bit vs. 64-bit IRIX, there is no way to specify.
This I know because I thought one of my 4400's used to identify as
64-bit before a re-install. sgi support told me, essentially, that they
are what they are when you install and that's the way it is.

I guess we're getting off-topic though.

Martin Simmons wrote:
 On Tue, 27 Jun 2006 15:36:49 -0400, Ryan Novosielski said:
 And FYI, I have just retired about 20 IRIX systems, so I have more than
 enough to go around for software testing should that be desirable. I run
 Bacula currently on an IRIX machine to back up a webserver running on
 that host, but not a 64-bit one, so I didn't run into this. As those
 reading no doubt know by now, IRIX is identified as IRIX64 on any system
 running a 64-bit processor.
 
 I think it is bit more complicated than that, because my retired IRIX machine
 has an R5000 CPU, which is 64-bit, but it is running 32-bit IRIX.  I don't
 know if that is normal because I didn't install the OS...
 
 __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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEoqJGmb+gadEcsb4RAtmBAJsESkRCxOGl6X7U3n1NwsD8APAybACghZu1
G7dBZO3tPILbw++IMrWEtt4=
=/4yQ
-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


[Bacula-users] (no subject)

2006-06-28 Thread drescher0110-bacula
After moving my catalog from one postgres server to a new one I am now getting 
the
following warnings (but the backups seem to be working):

27-Jun 19:09 fileserver-dir: user-private.2006-06-27_19.09.19 Error:
sql_create.c:470 More than one Client!: 2
27-Jun 19:09 fileserver-dir: No prior Full backup Job record found.
27-Jun 19:09 fileserver-dir: No prior or suitable Full backup found. Doing FULL
backup.
27-Jun 19:09 fileserver-dir: Start Backup JobId 1592,
Job=user-private.2006-06-27_19.09.19
27-Jun 19:09 fileserver-dir: user-private.2006-06-27_19.09.19 Error:
sql_create.c:470 More than one Client!: 2
27-Jun 19:09 fileserver-sd: Volume Users0010 previously written, moving to 
end of
data.

snip

28-Jun 00:41 fileserver-sd: Sending spooled attrs to the Director. Despooling
1,869,813 bytes ...
28-Jun 00:42 fileserver-dir: user-private.2006-06-27_20.30.00 Error: 
sql_get.c:635
More than one Client!: 2
28-Jun 00:42 fileserver-dir: user-private.2006-06-27_20.30.00 Warning: Error 
getting
client record for stats: sql_get.c:635 More than one Client!: 2
28-Jun 00:42 fileserver-dir: Bacula 1.38.9 (02May06): 28-Jun-2006 00:42:01


Any Ideas? 

Thanks in advance,
John

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] incorrect fstype identification, backups fail (bacula 1.38.9, Irix 6.5)

2006-06-28 Thread Kern Sibbald
On Wednesday 28 June 2006 17:37, Ryan Novosielski wrote:
 I'm confused at this point as well. The R5000 does not report back as
 64-bit, but I see from reading Wiki that the first 64-bit chip was
 R4000. I have an R8000 that is, but my R4400's and R5000's are all 32
 according to the OS.

The issue is not whether or not a machine is reporting back as 32 or 64 bits 
since as far as I know, Bacula has always correctly detected the 32/64 items 
correctly.

The issue with one user was that his machine was labeled as IRIX64, and Bacula 
was only detecting IRIX, thus Bacula was not fully aware that it was an Irix 
machine and some machine dependent code (fstype) thus did not work.  Bacula 
version 1.38.11 now explicitly looks for and recognizes IRIX and IRIX64, so 
this particular issue should go away.


 As far as running 32-bit vs. 64-bit IRIX, there is no way to specify.
 This I know because I thought one of my 4400's used to identify as
 64-bit before a re-install. sgi support told me, essentially, that they
 are what they are when you install and that's the way it is.

 I guess we're getting off-topic though.

 Martin Simmons wrote:
  On Tue, 27 Jun 2006 15:36:49 -0400, Ryan Novosielski said:
 
  And FYI, I have just retired about 20 IRIX systems, so I have more than
  enough to go around for software testing should that be desirable. I run
  Bacula currently on an IRIX machine to back up a webserver running on
  that host, but not a 64-bit one, so I didn't run into this. As those
  reading no doubt know by now, IRIX is identified as IRIX64 on any system
  running a 64-bit processor.
 
  I think it is bit more complicated than that, because my retired IRIX
  machine has an R5000 CPU, which is 64-bit, but it is running 32-bit IRIX.
   I don't know if that is normal because I didn't install the OS...
 
  __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

 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula status report

2006-06-28 Thread Joshua J. Kugler
On Wednesday 28 June 2006 05:02, Kern Sibbald wrote:
 Searching for a new distro is not so easy. Kubuntu treats users as idiots by 
 disabling the root account and giving full sudo privilege to the main user.  

Well, I suppose...but I've found it quite easy to adapt.  I suppose you could 
say it is more Mac-ish, in that you have admin accounts that can do priv'ed 
operations, but really, it is the way sudo was designed.  And you can always 
do sudo bash :)  Trust me, I do that quite often.

 Ubuntu won't boot on a relatively modern (1.5 years old) machine.

Well, in the classic works for me, YMMV tradition, I have to say I've been 
thrilled with Kubuntu.  It's installed on a few-month-old Acer AMD Sempron 
system on my desktop, and has been rock solid.  I think I've only had to kill 
X once, and never have I had a hard freeze.  Running with an nVidia 6600 
video card, and a Via chipset motherboard.  I'm sorry to hear you've had 
trouble.  What kind of errors does it throw?  Or does it even get far enough 
to throw the errors?

 Debian is  
 great on stability and security updates, but has really old software.  If
 you  use Debian testing, you get good stability and recent software but 
 currently (they are in the process of changing) no security updates.

Agreed...It'll be great when they start doing security updates for testing.

j

-- 
Joshua Kugler   
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

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] (no subject)

2006-06-28 Thread Martin Simmons
 On Wed, 28 Jun 2006 09:17:23 -0700 (PDT),   said:
 
 After moving my catalog from one postgres server to a new one I am now 
 getting the
 following warnings (but the backups seem to be working):
 
 27-Jun 19:09 fileserver-dir: user-private.2006-06-27_19.09.19 Error:
 sql_create.c:470 More than one Client!: 2
 27-Jun 19:09 fileserver-dir: No prior Full backup Job record found.
 27-Jun 19:09 fileserver-dir: No prior or suitable Full backup found. Doing 
 FULL
 backup.
 27-Jun 19:09 fileserver-dir: Start Backup JobId 1592,
 Job=user-private.2006-06-27_19.09.19
 27-Jun 19:09 fileserver-dir: user-private.2006-06-27_19.09.19 Error:
 sql_create.c:470 More than one Client!: 2
 27-Jun 19:09 fileserver-sd: Volume Users0010 previously written, moving to 
 end of
 data.
 
 snip
 
 28-Jun 00:41 fileserver-sd: Sending spooled attrs to the Director. Despooling
 1,869,813 bytes ...
 28-Jun 00:42 fileserver-dir: user-private.2006-06-27_20.30.00 Error: 
 sql_get.c:635
 More than one Client!: 2
 28-Jun 00:42 fileserver-dir: user-private.2006-06-27_20.30.00 Warning: Error 
 getting
 client record for stats: sql_get.c:635 More than one Client!: 2
 28-Jun 00:42 fileserver-dir: Bacula 1.38.9 (02May06): 28-Jun-2006 00:42:01
 
 
 Any Ideas? 

How did you move the catalog?  My guess is that the sequence generators
associated with the serial columns have been reset to 1 somehow.

Your catalog (with duplicate client ids) is probably unusable for restores
now, unfortunately.

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

2006-06-28 Thread Jeffrey L. Taylor
Maybe this is just a typo or bad manual copy and paste, but /bin/sh is
a link to /bin/bash, but you cite rootSbin.list.  Is bash in /bin or
/sbin?  IIRC, it is normally in /bin so normal users have access.

HTH,
  Jeff
Quoting Christopher [EMAIL PROTECTED]:
 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 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
 
[snip]

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] complex schedules? will this work?

2006-06-28 Thread Bill Moran
Jo Rhett [EMAIL PROTECTED] wrote:

 I'm wondering if any others have some complex schedules they can  
 document
 for examples.  The schedules documented are pretty basic.
 
 For example, the director didn't barf reading this, but will this work?
 
Run = Level=Full Pool=Quarterly on 1st sun jan,april,jul,oct at 12:05
Run = Level=Full Pool=Monthly on 1st sun  
 feb,mar,may,jun,aug,sep,nov,dec at 12:05
Run = Level=Full Pool=Daily 2nd-5th sun at 12:05
Run = Level=Incremental Pool=Daily mon-sat at 23:05

I have some similarly complex schedules.  Bacula handles them fine.  I
don't see anything in this schedule that would create problems.  Check
the retention times on your pools to ensure they'll keep records of
the backups long enough to meet your needs and you should be fine.

-- 
Bill Moran

I already know the ending it's the part that makes your face implode.
I don't know what makes your face implode, but that's the way the movie ends.

TMBG


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] Parallel restore job

2006-06-28 Thread Santa Claus
Priorities here do not play a role.Storage everywhere different.The system is set up on parallel runs of jobs.
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