Re: [Bacula-users] slightly annoying bug in the console

2008-02-03 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Drescher wrote:
|> This does not happen under Bacula 2.2.8 on FreeBSD.
|>
|> Sounds to me like this is a not a Bacula-specific issue, but rather
|> something introduced by the packaging.
|>
|
| It happens for me with gentoo which the package manager builds it from
| the source.

My installation is built from source too, I'm not using the Debian
packages. If anything this was pulled in through a dev dependency on my
box (instead of the depkgs, I have installed the respective -dev
packages for mysql and the likes).

Greetings,
~Michel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHpq1g2Vs+MkscAyURAmpvAJ0Rewe0iWpUm0tWWUofQlWC69lHMgCg9auA
so6Se23gDTpPVZ+u5dh9BXo=
=It2y
-END PGP SIGNATURE-


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] slightly annoying bug in the console

2008-02-03 Thread John Drescher
> This does not happen under Bacula 2.2.8 on FreeBSD.
>
> Sounds to me like this is a not a Bacula-specific issue, but rather
> something introduced by the packaging.
>

It happens for me with gentoo which the package manager builds it from
the source.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] slightly annoying bug in the console

2008-02-03 Thread Dan Langille
Michel Meyers wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> James Harper wrote:
> | I'm not sure if this is just something peculiar to my configuration, but
> | in the text console for bacula, if I type a command then backspace over
> | it then press enter, bacula still acts as if I typed the command, or at
> | least part of it.
> |
> | Does anyone else see this or is it just me?
> 
> Just tested it on my install (Bacula 2.2.8 on Debian) and I got the same
> thing. Typed 'status' then backspaced all over it, hit enter and the
> status prompt came up.

This does not happen under Bacula 2.2.8 on FreeBSD.

Sounds to me like this is a not a Bacula-specific issue, but rather 
something introduced by the packaging.

-- 
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:http://www.pgcon.org/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] slightly annoying bug in the console

2008-02-03 Thread Frank Sweetser
James Harper wrote:
> I'm not sure if this is just something peculiar to my configuration, but
> in the text console for bacula, if I type a command then backspace over
> it then press enter, bacula still acts as if I typed the command, or at
> least part of it.
> 
> Does anyone else see this or is it just me?

It's not so much a bug, as it is a bconsole quirk.  It simply defaults to
overwrite mode instead of insert mode.  Hit the 'insert' key to switch modes,
and it'll behave as you expect.

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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] slightly annoying bug in the console

2008-02-03 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James Harper wrote:
| I'm not sure if this is just something peculiar to my configuration, but
| in the text console for bacula, if I type a command then backspace over
| it then press enter, bacula still acts as if I typed the command, or at
| least part of it.
|
| Does anyone else see this or is it just me?

Just tested it on my install (Bacula 2.2.8 on Debian) and I got the same
thing. Typed 'status' then backspaced all over it, hit enter and the
status prompt came up.

Greetings,
~   Michel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHpkob2Vs+MkscAyURAj6mAJ4nwt8JQ0Q6QQJFhx4fSCw2raCuPwCePinx
apdeMERCbh5tfOkkBYErb2Q=
=SmD6
-END PGP SIGNATURE-


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-03 Thread Tilman Schmidt
Hi tomasz,

on 01.02.2008 12:56 you wrote:
> bacula do not track or care about scripts running as before_backup
> thingy if they are successful or not.
> 
> bacula care about files to backup
> 
> if 'external' script for some reason failed i does not mean it is
> important for bacula.


Yes it does. Just a couple of days ago one of my Bacula backup jobs
failed because the ClientRunBeforeScript contained a mistake. Bacula
started the script, noticed that it didn't run successfully, and
consequently didn't even try to back up any files from that client.

So, obviously, Bacula *does* track and care if "Run Before" scripts
are successful, and it *is* important to Bacula if such an external
script failed for whatever reason, to the point that Bacula actually
refuses to back up any files from the affected client.

Note1: This is as it should be. If the "Run Before" script is of such
a nature that the backup can proceed even if the script failed, then
the script should just refrain from signalling its failure to Bacula.
(It's easy: in shell terms, do "exit 0" instead of "exit $?".)

Note2: I am aware that this wasn't Justin's problem. I just wanted to
clear up the misconception.

HTH
T.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backups wont start on bacula 2.2.8

2008-02-03 Thread Erik P. Olsen

Hi,

I have just moved from ver. 1.38.5 to 2.2.8 and the first backup job was 
supposed to run tonight. It started at 23:00 and nothing happened. Device status 
said:


Device status:
Device "FileBackup" (/dataspace/bacula-backups) is not open.
Device "Tape" (/dev/nst0) is not open.
Device is being initialized.


In Use Volume status:
EPOL004 on device "Tape" (/dev/nst0)
Reader=0 writers=0 reserved=1 released=0

Since it said that the device is not open I issued a series of mount/umount:

#mount Tape
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
3001 Device "Tape" (/dev/nst0) is doing acquire.
#umount Tape
3901 Device "Tape" (/dev/nst0) is already unmounted.
#mount Tape
3001 Device "Tape" (/dev/nst0) is doing acquire.

So it was doing acquire whatever that is. At 23:13 bacula wrote:

03-Feb 23:13 epohost-sd JobId 16: Please mount Volume "EPOL004" or label a new 
one for:

Job:  epo-xp.2008-02-03_23.00.02
Storage:  "Tape" (/dev/nst0)
Pool: LargeTapes
Media type:   DDS-4
#mount Tape
3001 OK mount. Device="Tape" (/dev/nst0)

12 minutes later this message is repeated:

3001 OK mount. Device="Tape" (/dev/nst0)
03-Feb 23:25 epohost-sd JobId 16: Please mount Volume "EPOL004" or label a new 
one for:

Job:  epo-xp.2008-02-03_23.00.02
Storage:  "Tape" (/dev/nst0)
Pool: LargeTapes
Media type:   DDS-4
#

A new status command revealed:

Device status:
Device "FileBackup" (/dataspace/bacula-backups) is not open.
Device "Tape" (/dev/nst0) is not open.
Device is BLOCKED waiting for mount of volume "EPOL004",
   Pool:LargeTapes
   Media type:  DDS-4


In Use Volume status:
EPOL004 on device "Tape" (/dev/nst0)
Reader=0 writers=0 reserved=1 released=0

This time the device is blocked for mount but a subsequent mount has no apparent 
effect.


I have attached the config files if someone would kind enough to check to see if 
I have made any wrong specifications. The server is on a linux fedora 7 system 
and the clients are same system, a windows 2000, and a windows XP.


I don't suspect the tape drive (DDS-4) because when I go back to the old fedora 
5 with bacula 1.38.5 it performs flawlesly, the tape is usually premounted and 
the backup job starts within seconds to write to the tape.


--
Thanks in advance
Erik.


#
# Bacula Director Configuration file for EPO data
#

Director {# define myself
  Name = epo-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = "/etc/bacula/conf/query.sql"
  WorkingDirectory = "/etc/bacula/working"
  PidDirectory = "/etc/bacula/pid"
  Maximum Concurrent Jobs = 1
  Password = "xGQd+b22P5rzX9espVGUetBjOrX8czfvzRqQ1cEwz0FT" # Console 
password
  Messages = Daemon
}

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = epohost-fd 
  FileSet = "Full Set"
  Storage = Tape
  Messages = Standard
  Pool = LargeTapes
  Priority = 10
}


#
# Define the Virtual Machine back-up job
#  
Job {
  Name = "epovirt"
  JobDefs = "DefaultJob"
  Level = Full
  Fileset = "VMware Set"
  Pool = ShortTapes
  Write Bootstrap = "/etc/bacula/working/epovirt.bsr"
}

#
# Define the main linux system back-up job
#  
Job {
  Name = "epohost"
  JobDefs = "DefaultJob"
  Schedule = "epohost-WeeklyCycle"
  Storage = Tape
  Pool = LargeTapes
  RunAfterJob = "/etc/bacula/conf/eject-tape"
  Write Bootstrap = "/etc/bacula/working/epohost.bsr"
}

#
# Define the back-up job for epowork (TP600E)
#  
Job {
  Name = "epowork"
  JobDefs = "DefaultJob"
  Client = epowork-fd
  Schedule = "epowork-WeeklyCycle"
  Storage = Tape
  Pool = LargeTapes
  FileSet = "W2K Set"
  Write Bootstrap = "/etc/bacula/working/epowork.bsr"
}

#
# Define the back-up job for epo.xp (A31)
#  
Job {
  Name = "epo-xp"
  JobDefs = "DefaultJob"
  Client = epoxp-fd
  Schedule = "epoxp-WeeklyCycle"
  Storage = Tape
  Pool = LargeTapes
  FileSet = "XP Set"
  Write Bootstrap = "/etc/bacula/working/epo-xp.bsr"
}

#
# Back the catalog database up (after each system back-up)
#
Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/etc/bacula/conf/make_catalog_backup bacula bacula"
  # This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/conf/delete_catalog_backup"
  Write Bootstrap = "/etc/bacula/working/BackupCatalog.bsr"
  Priority = 11   # run after main backup
}

#
# Standard Restore template, to be changed by Console program
#
Job {
  Name = "RestoreFiles"
  Type = Restore
  Client=epohost-fd 
  FileSet="Full Set"  
  Storage = Tape  
  Pool = LargeTapes
  Messages = Standard
  Where = /tmp/bacula-restores
}

#
# List of files to be backed up for testing purposes
#
FileSet {
  Name = "Test epohost"
  Include {
Options {

[Bacula-users] slightly annoying bug in the console

2008-02-03 Thread James Harper
I'm not sure if this is just something peculiar to my configuration, but
in the text console for bacula, if I type a command then backspace over
it then press enter, bacula still acts as if I typed the command, or at
least part of it.

Does anyone else see this or is it just me?

James

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MySQL Errors being logged

2008-02-03 Thread James Harper
> 
> The first thing I'd check is to make sure that the partition holding
/tmp
> isn't running out of space.  If it is, either tell MySQL to use a
> different
> directory with more space, or increase the amount of space allocated
to
> /tmp.
> 

When I just checked now, /var/log/mysql had about 2G of logfiles in it,
and the root filesystem (containing /var/log) was full.

My best guess is that it was filling up each night, but then by morning
mysql would have purged the oldest logfile, so it looked like space
wasn't a problem.

Should I expect that much logging to be happening? It looks like
database transaction logs. I have tuned it down to 3 days of log history
instead of 10.

Thanks for the tip!

James

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multiple drive tape problem in 2.2.8

2008-02-03 Thread Matt Brown

> Hi,
>
> I think I stumbled upon a problem with multiple drives and  
> concurrent jobs.
> I read the changelog for 2.2.8 and there were some changes, but  
> apparently
> the following was not fixed.

I am having the same issue.

Regards

Matt

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multiple FD processes running - Not sure if this is normal

2008-02-03 Thread Andrea Conti
Hello,

> root  3262 1  0 Feb01 ?00:00:00 /usr/sbin/bacula-fd -u 
> root -g bacula -c /etc/bacula/bacula-fd.conf
> root  3265  3262  0 Feb01 ?00:00:01 /usr/sbin/bacula-fd -u 
> root -g bacula -c /etc/bacula/bacula-fd.conf
> root  3266  3265  0 Feb01 ?00:00:00 /usr/sbin/bacula-fd -u 
> root -g bacula -c /etc/bacula/bacula-fd.conf
> 
> This host is running the 2.4.21-40.ELsmp kernel, and does have /lib/tls. 
> The start scipt seems to take this into account. I was wondering if this 
> was the reason for seeing a main process and child processes.

My guess is that this is an old system with the LinuxThreads threading 
library, so what you're seeing are in fact just 3 threads within the 
same bacula-fd process.

However, I also seem to recall that RHEL3 was one of the first 
distributions which came with NPTL installed...

Andrea

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Multiple FD processes running - Not sure if this is normal

2008-02-03 Thread Mingus Dew
Hi all,
 I installed bacula fd from onto a RHEL3 from the fschwarz rpms-contrib.
The rpm is bacula-client-2.2.7-1.el3.i386.rpm. When I run "service bacula-fd
start", bacula does seem to start normally. However, a ps shows this:

root  3262 1  0 Feb01 ?00:00:00 /usr/sbin/bacula-fd -u root
-g bacula -c /etc/bacula/bacula-fd.conf
root  3265  3262  0 Feb01 ?00:00:01 /usr/sbin/bacula-fd -u root
-g bacula -c /etc/bacula/bacula-fd.conf
root  3266  3265  0 Feb01 ?00:00:00 /usr/sbin/bacula-fd -u root
-g bacula -c /etc/bacula/bacula-fd.conf

This host is running the 2.4.21-40.ELsmp kernel, and does have /lib/tls. The
start scipt seems to take this into account. I was wondering if this was the
reason for seeing a main process and child processes.

Thank you.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Multiple drive tape problem in 2.2.8

2008-02-03 Thread Leszek UrbaƄski
Hi,

I think I stumbled upon a problem with multiple drives and concurrent jobs.
I read the changelog for 2.2.8 and there were some changes, but apparently 
the following was not fixed.

- Debian 4.0 i386 / Bacula 2.2.8 / MySQL

- an autochanger with 2 drives:
  Drive-1 = /dev/nst0 = mtx-changer "drive 0"
  Drive-2 = /dev/nst1 = mtx-changer "drive 1"
  
- tapes in question are in the same pool

There seems to be a race condition of some sort for tapes, which ends in
bacula being unable to select an unused tape:

07:05 b1-dir JobId 255: Start Backup JobId 255, 
Job=NameRemoved.2008-02-03_07.05.42
07:05 b1-sd JobId 255: 3307 Issuing autochanger "unload slot 4, drive 0" 
command.
07:05 b1-dir JobId 256: Start Backup JobId 256, 
Job=NameRemoved2.2008-02-03_07.05.43
07:06 b1-dir JobId 255: Using Device "Drive-1"
07:06 b1-dir JobId 256: Using Device "Drive-2"
07:06 b1-sd JobId 255: 3301 Issuing autochanger "loaded? drive 0" command.
07:07 b1-sd JobId 255: 3302 Autochanger "loaded? drive 0", result: nothing 
loaded.
07:07 b1-sd JobId 256: 3307 Issuing autochanger "unload slot 1, drive 1" 
command.
07:08 b1-sd JobId 256: 3304 Issuing autochanger "load slot 4, drive 1" command.
07:10 b1-sd JobId 256: 3305 Autochanger "load slot 4, drive 1", status is OK.
07:10 b1-sd JobId 256: 3301 Issuing autochanger "loaded? drive 1" command.
07:10 b1-sd JobId 255: Warning: Volume "41" is in use by device "Drive-2" 
(/dev/nst1)
07:10 b1-sd JobId 256: 3302 Autochanger "loaded? drive 1", result is Slot 4.
07:10 b1-sd JobId 255: 3301 Issuing autochanger "loaded? drive 0" command.
07:10 b1-sd JobId 256: Volume "44" previously written, moving to end of 
data.
07:11 b1-sd JobId 255: 3302 Autochanger "loaded? drive 0", result: nothing 
loaded.
07:11 b1-sd JobId 255: 3301 Issuing autochanger "loaded? drive 0" command.
07:11 b1-sd JobId 256: Ready to append to end of Volume "44" at file=79.
07:11 b1-sd JobId 256: Job write elapsed time = 00:00:01, Transfer rate = 641.0 
K bytes/second
07:11 b1-sd JobId 255: 3302 Autochanger "loaded? drive 0", result: nothing 
loaded.
07:11 b1-sd JobId 255: 3301 Issuing autochanger "loaded? drive 0" command.
07:11 b1-dir JobId 256: Bacula b1-dir 2.2.8 (26Jan08): 03-Feb-2008 07:11:44
[...]
  JobId:  256
  Job:NameRemoved2.2008-02-03_07.05.43
[...]
  Scheduled time: 03-Feb-2008 07:05:00
  Start time: 03-Feb-2008 07:06:55
  End time:   03-Feb-2008 07:11:44
[...]
  Volume name(s): 44
  Volume Session Id:  214
  Volume Session Time:1201689983
[...]
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK


07:11 b1-dir JobId 257: Start Backup JobId 257, 
Job=NameRemoved3.2008-02-03_07.05.44
07:11 b1-dir JobId 257: Using Device "Drive-2"
07:12 b1-sd JobId 255: 3302 Autochanger "loaded? drive 0", result: nothing 
loaded.
07:12 b1-sd JobId 257: 3307 Issuing autochanger "unload slot 4, drive 1" 
command.
07:13 b1-sd JobId 257: 3304 Issuing autochanger "load slot 1, drive 1" command.
07:14 b1-sd JobId 257: 3305 Autochanger "load slot 1, drive 1", status is OK.
07:14 b1-sd JobId 257: 3301 Issuing autochanger "loaded? drive 1" command.
07:15 b1-sd JobId 255: Warning: Volume "44" is in use by device "Drive-2" 
(/dev/nst1)
07:15 b1-sd JobId 255: Please mount Volume "44" or label a new one for:
Job:  NameRemoved.2008-02-03_07.05.42
Storage:  "Drive-1" (/dev/nst0)
Pool: DailyPoolA
Media type:   LTO3
07:15 b1-sd JobId 257: 3302 Autochanger "loaded? drive 1", result is Slot 1.
07:15 b1-sd JobId 257: Volume "41" previously written, moving to end of 
data.




-- 
Leszek "Tygrys" Urbanski, SCSA, SCNA
 "UN and OAS, they have their place, I guess,
  But first, send the Marines!" -- Tom Lehrer
 http://cygnus.moo.pl/ -- Cygnus High Altitude Balloon

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MySQL Errors being logged

2008-02-03 Thread Frank Sweetser
James Harper wrote:
> I've been using bacula on a Xen server for many months with no problems
> at all. A week ago I set up some jobs to run concurrently to the
> existing jobs to back up some remote clients to a remote sd.
> 
> Since then, jobs aren't completing and are hanging around and things are
> just not running well, although I think the jobs ran okay for the first
> few nights. I upgraded bacula from Debian's 2.2.0 to 2.2.6 around the
> same time, remembering that there was a critical bug in Bacula releases
> around that time. This was probably a bit foolish in retrospect - I
> should have let 2.2.6 run for a bit before introducing the new jobs.
> 
> I think the cause may be being indicated by the following messages being
> logged:
> 
> "
> 03-Feb 23:24 bitvs1-dir JobId 2104: Fatal error: sql_create.c:732
> sql_create.c:732 insert INSERT INTO batch VALUES
> (234440,2104,'/usr/local/src/linux-2.6-2.6.18.dfsg.1/arch/powerpc/sysdev
> /','mmio_nvram.c','P0A BVJx1 IGg B Po Po A sk BAA I BHoxp9 BFELiO BHoxqG
> A A E','LwUL7mrqTpsgiK8bTaPM5A') failed:
> Incorrect key file for table '/tmp/#sqle43_153_0.MYI'; try to repair it
> 03-Feb 23:24 bitvs1-dir JobId 2104: Fatal error: catreq.c:482 Attribute
> create error. Pool record not found in Catalog.
> "

This is actually fairly concerning.  Normally, in the case of MySQL declaring
a table is corrupt, I'd suggest that you just repair the table and move on.
In this case, though, the table that's corrupt is the batch table.  This is
just a temporary table, which normally shouldn't even be hanging around long
enough to get a chance to be corrupted, which means that something is hitting
it really quick.

The first thing I'd check is to make sure that the partition holding /tmp
isn't running out of space.  If it is, either tell MySQL to use a different
directory with more space, or increase the amount of space allocated to /tmp.

Beyond that, I'd check through your kernel logs to make sure that there aren't
any filesystem or hard drive errors popping up.

Just to make one thing clear, though - this is almost certainly not a Bacula
problem.  All that Bacula ever does is fire off standard SQL queries at the
server, which (barring some catastrophic but in MySQL) should never be able to
produce a corrupt table.

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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] MySQL Errors being logged

2008-02-03 Thread James Harper
I've been using bacula on a Xen server for many months with no problems
at all. A week ago I set up some jobs to run concurrently to the
existing jobs to back up some remote clients to a remote sd.

Since then, jobs aren't completing and are hanging around and things are
just not running well, although I think the jobs ran okay for the first
few nights. I upgraded bacula from Debian's 2.2.0 to 2.2.6 around the
same time, remembering that there was a critical bug in Bacula releases
around that time. This was probably a bit foolish in retrospect - I
should have let 2.2.6 run for a bit before introducing the new jobs.

I think the cause may be being indicated by the following messages being
logged:

"
03-Feb 23:24 bitvs1-dir JobId 2104: Fatal error: sql_create.c:732
sql_create.c:732 insert INSERT INTO batch VALUES
(234440,2104,'/usr/local/src/linux-2.6-2.6.18.dfsg.1/arch/powerpc/sysdev
/','mmio_nvram.c','P0A BVJx1 IGg B Po Po A sk BAA I BHoxp9 BFELiO BHoxqG
A A E','LwUL7mrqTpsgiK8bTaPM5A') failed:
Incorrect key file for table '/tmp/#sqle43_153_0.MYI'; try to repair it
03-Feb 23:24 bitvs1-dir JobId 2104: Fatal error: catreq.c:482 Attribute
create error. Pool record not found in Catalog.
"

Bacula is version 2.2.6 (Debian package), MySQL is 5.0.32-7etch1 (again,
Debian package).

Any suggestions as to what I need to do to fix it? Blowing away the
database is an option, as my media are fairly high rotation (backups are
mainly for disaster recovery as opposed to file recovery), but obviously
a better solution would be preferred.

Thanks

James


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula client on Windows 95

2008-02-03 Thread Timo Neuvonen
>> Does anyone have recent experiencies with installing Bacula file daemon 
>> to
>> Windows 95 system?

>> My typical Win95 system in this case is ~100 MHz Pentium, with 32 or 64 
>> MB
>> of RAM. Any chances I could get Bacula running on them? My goal is just 
>> to
>> have a very basic "copy all files" backup with no extra fine tuning.
>>
>

From: "Bruno Friedmann" <[EMAIL PROTECTED]>

>Hi Timo, at your place, I think I would take a look at transfering these 
>system quickly under some virtualization engine.
>So You just have to get a snapshot of the Virtual Machine.
>Afterall you will also resolve the trouble of where to find a pentium these 
>days to get this system running.
>
>I've do this for some windows 98 hardware and it was easy to do.
>
>My 2cts sunday mind. ;-)
>

Propably a good advice for some cases. I'm sorry I forgot to mention this: 
not only the software is old, but typically those machines control some 
special (non-computer) harware equipment, obviously use simple delay loops 
to generate timings, and may have eg. a custom ISA-bus interface card. That 
could be quite a challenge for the virtualization in modern hardware ;-)

I do have a couple of those similar old computers available as spare parts, 
so the problem is easy way to manage backups. Of course, I could make disk 
image copies etc (that has been done sometimes), but I just was wondering if 
Bacula could make things easier...

--
TiN 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula client on Windows 95

2008-02-03 Thread Timo Neuvonen
Hey, stop that ROTFALMAO stuff... I'm serious with this! :-)

Does anyone have recent experiencies with installing Bacula file daemon to 
Windows 95 system?

The latest manual says "we have coded to support Win95, but have no longer a 
system for testing". Same phrase exists already in the oldest manual version 
I have available, that is 1.38.2 manual of November 2005. I used to have 
1.36 manuals, but obviously I have deleted it already.

I have a few old(!) currently-not-backed-up Windows 95 systems that are 
essential due to some special software that does not run on newer (NT-based) 
systems, and I'd like to have a backup of them for the unwanted case 
something nasty would happen some day. I don't have a pure test system 
available either, and I wouldn't like to start building a one, and I would 
like to limit error-and-horror-style testing to very minimum on these old 
production systems. So good advices ("recycle those ancient systems" is not 
consired a good one here) would be appreciated.

I have 2.2.8 director and storage daemon, and aim to keep them up-to-date in 
the future too. AFAIK, file daemon doesn't have to be of the same version, 
so what might be the safest version of Windows file daemon to try? Should I 
start with the latest one 2.2.8, an early bird of 2.x branch ( I do have 2.0 
and 2.1 versions in my own archive although they do not seem to be available 
on SF), or would a safe(r) bet be giving a try to 1.38? Or should I try to 
find an even older, eg. 1.36.x client somewhere... I don't have it, and 
neither it is on SF any more.

One reason that makes 1.38.10 to look temptating is the size of the 
installer package, about 5 MB instead of over 10 MB 2.x packages. However, 
should I avoid the 1.38 version because of possible compatibility problems 
with future 3.x versions that may be available later this year?

My typical Win95 system in this case is ~100 MHz Pentium, with 32 or 64 MB 
of RAM. Any chances I could get Bacula running on them? My goal is just to 
have a very basic "copy all files" backup with no extra fine tuning.


Regards,
Timo 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users