Re: [Bacula-users] Tape ejecting problem

2005-08-31 Thread Florian Schnabel



seems an access right problem on /dev/st0.
I think the simpler is to add in your Device configuration in
bacula-sd.conf the directive : OfflineOnUnmount = yes
Then you can remove the shell commands with 'mt' in your script.
This directive will eject the tape if an 'umount'  or a 'release' is issued.

 Hope it helps.


 Loïs Lherbier

 


always full fo surprises ...
that did work, but bacula ejected the tape after job 1 of 5 ^^
thus failing the other jobs .. ah well ..

will have to see that the command is run once and only after the last job ^^

Florian


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Storage daemon hangs

2005-08-31 Thread justin

Hi,

I'm having a problem with the storage daemon hanging when I try to do 
anything.  In fact it even hangs when I try to turn on debugging:


Connecting to Director nemesis:9101

1000 OK: nemesis-dir Version: 1.37.37 (28 August 2005)

Enter a period to cancel a command.

*setdebug level=99 trace=1

Using default Catalog name=MyCatalog DB=bacula

Available daemons are:

1: Director

2: Storage

3: Client

4: All

Select daemon type to set debug level (1-4): 4

nemesis-dir: cram-md5.c:114 sending resp to challenge: h0UN93/iF8+7p4Yci7+TXC

Connecting to Storage daemon File at nemesis:9103

nemesis-dir: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0

nemesis-dir: cram-md5.c:68 Authenticate OK N5/CU8BgRzxDF+Ysk+Uv9C

And that's it!  The same thing happens with commands such as label 
barcodes.  I'm running on Solaris 9 with a tape library.  mtx and mt 
commands work fine even if bacula is running - I don't think it's 
anything to do with device contention.  I attach what I think are the 
relevant parts of the dir and sd conf files.  Anyone know what's going on?


Regards,

   Justin.



dir.conf
--
Storage
{
 Name = TapeStore0
 Address = nemesis
 SDPort = 9103
 Password = JymxL35ZLA9Jiy1EV67q7La2jabTcUh25omNILH9V
 Device = TapeLibrary0
 Autochanger = yes   # enable for autochanger device
 MediaType = 8mm
}

sd.conf
--
Autochanger
{
 Name = TapeLibrary0
 Device = TL0d0
 Device = TL0d1
 Changer Command = /opt/bacula/etc/mtx-changer %c %o %S %a %d
 Changer Device = /dev/tape_lib0
}

Device
{
 Name = TL0d0
 Drive Index = 0
 Media Type = 8mm
 Archive Device = /dev/tape_lib0_d0
 AutomaticMount = yes;   # when device opened, read it
 AlwaysOpen = yes;
 RemovableMedia = yes;
 RandomAccess = no;
 AutoChanger = yes
 AutoSelect = yes;
 Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
}

Device
{
 Name = TL0d1
 Drive Index = 1
 Media Type = 8mm
 Archive Device = /dev/tape_lib0_d1
 AutomaticMount = yes;   # when device opened, read it
 AlwaysOpen = yes;
 RemovableMedia = yes;
 RandomAccess = no;
 AutoChanger = yes
 AutoSelect = yes;
 Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
}




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] crashed client further backups ?

2005-08-31 Thread Daniel Holtkamp

Hi !

I`m playing with the bacula-configuration here (1.37.36) and i noticed 
the following behaviour.


I started a backup-job to backup our Windows 2003 Server ... everything 
ran fine till the windows-box crashed (still investigating why but this 
is something else i think - not bacula related). Now the director says 
the job is still running. Meanwhile i have added another backup-job to 
the queue that is awaiting the end of the first job.


Now even if i cancel the windows-backup-job and the director says it is 
properly canceled it still won`t go away ... from the documentation i 
got the idea that it should continue after a few minutes but now i 
waited an hour an nothing happened. (logfiles at bottom)


Restarting the director solved the problem, alltough i had to start the 
second job again.


My concern is that when our bacula setup goes live and during the 
nightly backup-run ONE client crashes during the backup and the complete 
backup hangs ? Is there some sort of timeout that notices the client 
isn`t sending data anymore ? Is there a way to continue the backup from 
where it crashed (i doubt this functionality exists) ?


If i had a Full-Backup pool for the crashed machine with a volume 
retention time of 2 months and 2 volumes maximum - what would happen if:

sunday fullbackup crashes - volume marked as used
monday - incremental gets upgraded to full - volume marked as used
tue-sat - incrementals as usual
sunday fullbackup - retention time for both used volumes are not over 
so what happens ?




-- Logfiles ---
Running Jobs:
 JobId Level   Name   Status
==
10 FullNoether.2005-08-31_08.52.29 is running

*cancel 10
Automatically selected Job: JobId=10 Job=Noether.2005-08-31_08.52.29
Confirm cancel (yes/no): yes
2901 Job Noether.2005-08-31_08.52.29 not found.
3000 Job Noether.2005-08-31_08.52.29 marked to be canceled.
You have messages.
*messages
31-Aug 09:49 backup-sd: Noether.2005-08-31_08.52.29 Fatal error: 
append.c:238 Network error on data channel. ERR=Connection reset by peer
31-Aug 09:49 backup-dir: Max Volume jobs exceeded. Marking Volume 
noether.full.0001 as Used.


Running Jobs:
 JobId Level   Name   Status
==
10 FullNoether.2005-08-31_08.52.29 has been canceled
11 Increme  Backup.2005-08-31_10.00.00 is waiting execution


After that i waited about an hour for the job to cancel but only 
restarting the director did the trick


--
Daniel HoltkampRiege Software International GmbH
System Administration   Mollsfeld 10
40670 Meerbusch, Germany Phone: +49-2159-9148-41
mail: holtkamp [at] riege.comFax:   +49-2159-9148-11



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: Bitrate problems using Bacula

2005-08-31 Thread Romain

 What back-end database are you using?  As Kern has already pointed out
 to at least one other user today, sqlite -- particularly sqlite 3 -- can
 be VERY slow indeed.

The database i am using is Mysql. I'll try to see if insertion of file
attributes is really the bottleneck. In that case what shall I do ?

I have 1 more question : 

What is Arno calling spooling ??

Many thanks for your helps !!
Romain

 






---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage daemon hangs

2005-08-31 Thread Kern Sibbald
On Wednesday 31 August 2005 10:33, justin wrote:
 Hi,

 I'm having a problem with the storage daemon hanging when I try to do
 anything.  In fact it even hangs when I try to turn on debugging:

 Connecting to Director nemesis:9101

 1000 OK: nemesis-dir Version: 1.37.37 (28 August 2005)

 Enter a period to cancel a command.

 *setdebug level=99 trace=1

 Using default Catalog name=MyCatalog DB=bacula

 Available daemons are:

  1: Director

  2: Storage

  3: Client

  4: All

 Select daemon type to set debug level (1-4): 4

 nemesis-dir: cram-md5.c:114 sending resp to challenge:
 h0UN93/iF8+7p4Yci7+TXC

 Connecting to Storage daemon File at nemesis:9103

 nemesis-dir: cram-md5.c:52 send: auth cram-md5
 [EMAIL PROTECTED] ssl=0

 nemesis-dir: cram-md5.c:68 Authenticate OK N5/CU8BgRzxDF+Ysk+Uv9C

 And that's it!  The same thing happens with commands such as label
 barcodes.  I'm running on Solaris 9 with a tape library.  mtx and mt
 commands work fine even if bacula is running - I don't think it's
 anything to do with device contention.  I attach what I think are the
 relevant parts of the dir and sd conf files.  Anyone know what's going on?

You will need to run it under the debugger as described in the Kaboom chapter 
of the manual.


 Regards,

 Justin.



 dir.conf
 --
 Storage
 {
   Name = TapeStore0
   Address = nemesis
   SDPort = 9103
   Password = JymxL35ZLA9Jiy1EV67q7La2jabTcUh25omNILH9V
   Device = TapeLibrary0
   Autochanger = yes   # enable for autochanger device
   MediaType = 8mm
 }

 sd.conf
 --
 Autochanger
 {
   Name = TapeLibrary0
   Device = TL0d0
   Device = TL0d1
   Changer Command = /opt/bacula/etc/mtx-changer %c %o %S %a %d
   Changer Device = /dev/tape_lib0
 }

 Device
 {
   Name = TL0d0
   Drive Index = 0
   Media Type = 8mm
   Archive Device = /dev/tape_lib0_d0
   AutomaticMount = yes;   # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   AutoChanger = yes
   AutoSelect = yes;
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }

 Device
 {
   Name = TL0d1
   Drive Index = 1
   Media Type = 8mm
   Archive Device = /dev/tape_lib0_d1
   AutomaticMount = yes;   # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   AutoChanger = yes
   AutoSelect = yes;
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }




 ---
 SF.Net email is Sponsored by the Better Software Conference  EXPO
 September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
 Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
 Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] crashed client further backups ?

2005-08-31 Thread Arno Lehmann

Hello,

Daniel Holtkamp wrote:


Hi !

I`m playing with the bacula-configuration here (1.37.36) and i noticed 
the following behaviour.


I started a backup-job to backup our Windows 2003 Server ... everything 
ran fine till the windows-box crashed (still investigating why but this 
is something else i think - not bacula related). Now the director says 
the job is still running. Meanwhile i have added another backup-job to 
the queue that is awaiting the end of the first job.


Now even if i cancel the windows-backup-job and the director says it is 
properly canceled it still won`t go away ... from the documentation i 
got the idea that it should continue after a few minutes but now i 
waited an hour an nothing happened. (logfiles at bottom)


Well, I don't know which section in the manual you refer to, but this is 
a network timeout problem and that's rather long in bacula - 2 hours, I 
think.


So, you need to wait longer, and everything is ok. It works here, for 
example.


Restarting the director solved the problem, alltough i had to start the 
second job again.


That's normal.
The DIR doesn't store running but waiting jobs, so it doesn't know that 
you wanted to run that job after the restart.


My concern is that when our bacula setup goes live and during the 
nightly backup-run ONE client crashes during the backup and the complete 
backup hangs ?


It just takes longer than you expected for bacula to consider the client 
as dead.


Is there some sort of timeout that notices the client 
isn`t sending data anymore ?


Yup.

Is there a way to continue the backup from 
where it crashed (i doubt this functionality exists) ?


Right, that's not possible.



If i had a Full-Backup pool for the crashed machine with a volume 
retention time of 2 months and 2 volumes maximum - what would happen if:

sunday fullbackup crashes - volume marked as used
monday - incremental gets upgraded to full - volume marked as used
tue-sat - incrementals as usual
sunday fullbackup - retention time for both used volumes are not over 
so what happens ?




I'm not sure I can follow your thought, but it seems that you found one 
of the reasons why you always want to have as many generations of 
backups as possible (possibility depending on available sorage, of 
course) - the same problem arises when one set of backup volumes is damaged.


Bacula would notice a missing full backup when it starts a backup based 
on a full backup - it needs the time of the last higher-level backup to 
determine which files to save.


To my knowledge, though, there is one situation where it might miss the 
fact that a full backup is not available: When an incremental backup is 
dased on a differential one. Then, bacula would only notice the missing 
full backup when the next differential job is started.


This is something Kern was thinking about or working on, though, so it 
might be that bacula always makes sure that a full backup is available, 
or this might become true in the future.


Arno

--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: Bitrate problems using Bacula

2005-08-31 Thread Arno Lehmann

Hi,

Romain wrote:

I have 1 more question : 


What is Arno calling spooling ??


:-)

See http://www.bacula.org/rel-manual/Data_Spooling.html

In general, spooling means to store data before further processing it.

Arno


Many thanks for your helps !!
Romain

 







---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] crashed client further backups ?

2005-08-31 Thread Daniel Holtkamp

Hello !

Thanks for the quick response !

Arno Lehmann wrote:

Well, I don't know which section in the manual you refer to, but this is 
a network timeout problem and that's rather long in bacula - 2 hours, I 
think.


Ouch, 2 hours is hard ... but i guess i can configure around this 
problem with allowing concurrent backups ... (for example one process 
hanging and waiting for timeout and the other is backing up fine)



If i had a Full-Backup pool for the crashed machine with a volume 
retention time of 2 months and 2 volumes maximum - what would happen if:

sunday fullbackup crashes - volume marked as used
monday - incremental gets upgraded to full - volume marked as used
tue-sat - incrementals as usual
sunday fullbackup - retention time for both used volumes are not over 
so what happens ?


I'm not sure I can follow your thought


Indeed you couldn`t ;-)

I noticed an error in my example tho, the retention time for the example 
should be two weeks.


The question is about the volumes and their retention time.
On the second sunday bacula would try to make a backup, check for 
available volumes in the full-pool and see two volumes (remember ? 2 
volumes maximum), both in the used state (one 6 days old and ok, one 7 
days old and damaged from the client-crash during the backup).


At least i got the impression that a failed backup leads to a closed, 
used volume ... does bacula notice that this volume is incomplete and 
flag it for recycling immediately ignoring the retention time ? (as the 
data in the file is incomplete anyway).


--
Daniel HoltkampRiege Software International GmbH
System Administration   Mollsfeld 10
40670 Meerbusch, Germany Phone: +49-2159-9148-41
mail: holtkamp [at] riege.comFax:   +49-2159-9148-11



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] include conf_file/conf_dir in bacula-dir.conf

2005-08-31 Thread Dmitry S. Vlasov

Hello!
I have about 20 clients ( about 20 Jobs, about 20 FileSets, about 20 
Clients in bacula-dir.conf)
Is there any directive in bacula-dir.conf file which can include files 
from any folder? ( in the apache httpd server: Include)


example:

in bacula-dir.conf:
Include /usr/local/etc/bacula-clients/

in /usr/local/etc/bacula-clients/:

client1.conf
client2.conf
...


in each file:

Job{
...
}

Client {
...
}

FileSet {
...
}

Thank you!



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] include conf_file/conf_dir in bacula-dir.conf

2005-08-31 Thread Daniel Holtkamp

Dmitry S. Vlasov wrote:
Is there any directive in bacula-dir.conf file which can include files 
from any folder? ( in the apache httpd server: Include)


Not exactly, i did this:

/var/bacula/bin/bacula-dir.conf

--- snip -
# Links to client-configuration-files here

@/var/bacula/bin/clients/baculacatalog.conf

@/var/bacula/bin/clients/backup.conf
@/var/bacula/bin/clients/galois.conf
@/var/bacula/bin/clients/noether.conf
--- snip -

You have to include the full path if the file is not in the same 
directory as the bacula-dir.conf i think.


--
Daniel HoltkampRiege Software International GmbH
System Administration   Mollsfeld 10
40670 Meerbusch, Germany Phone: +49-2159-9148-41
mail: holtkamp [at] riege.comFax:   +49-2159-9148-11



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] include conf_file/conf_dir in bacula-dir.conf

2005-08-31 Thread Arno Lehmann

Hi,

Dmitry S. Vlasov wrote:


Hello!
I have about 20 clients ( about 20 Jobs, about 20 FileSets, about 20 
Clients in bacula-dir.conf)
Is there any directive in bacula-dir.conf file which can include files 
from any folder? ( in the apache httpd server: Include)


from the Bacula manual:

In fact, the @filename can appear anywhere within the conf file where a 
token would be read, and the contents of the named file will be 
logically inserted in the place of the @filename. What must be in the 
file depends on the location the @filename is specified in the conf file.


So, you can use this to include a file.

Admittedly, I only found this in the FileSet explanation, not in the 
table of contents or the index... so, one point where the manual could 
be improved :-)


Arno



example:

in bacula-dir.conf:
Include /usr/local/etc/bacula-clients/

in /usr/local/etc/bacula-clients/:

client1.conf
client2.conf
...


in each file:

Job{
...
}

Client {
...
}

FileSet {
...
}

Thank you!



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] critical problem ... - solved ^^

2005-08-31 Thread Florian Schnabel

Florian Schnabel wrote:


dunno if i missconfigured something but certain commands on the console
seem to get it stuck ..

can't do a status director f.ex. or prune my volumes ...

what to do ?

Florian


sorry for bugging u guys ...
pruning the volume helped, though it took freakisch long ...
about 30 mins i think ..

Florian


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] critical problem ...

2005-08-31 Thread LHERBIER Lois
Hello,
I saw that for instance if you do a 'status director' and Bacula starts
pruning the tapes.
I think the reason is that Bacula is determining which tape will be the
next for the future jobs when you use 'status director'. And pruning can
take a looong time (several minutes for me ) depending on many parameters.

   Loïs



Florian Schnabel wrote:

 dunno if i missconfigured something but certain commands on the console
 seem to get it stuck ..

 can't do a status director f.ex. or prune my volumes ...

 what to do ?

 Florian



 ---
 SF.Net email is Sponsored by the Better Software Conference  EXPO
 September 19-22, 2005 * San Francisco, CA * Development Lifecycle
 Practices
 Agile  Plan-Driven Development * Managing Projects  Teams * Testing
  QA
 Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula web config

2005-08-31 Thread Juan Luis Frances
Hello,

El Martes 30 Agosto 2005 12:49, [EMAIL PROTECTED] escribió:
 The BaculaWeb test.php works OK (and the graphics show up just fine) but
 when I try to load index.php into my browser I just get the error message
 DB Error: not found. I presume something is not right with the config.
 This is what appears in bacula.conf (omitting comments):

 [.DATABASE]
 host = 192.168.1.220

 login = bacula
 pass =
 db_name = bacula
 db_type = mysql

 This is a PEAR::DB error and is a generic error that could mean that a field 
or table went missing.

Check that the access to the database is right:
mysql -h192.168.1.220 -ubacula -p bacula


 One of the comments says create a user or give it permissions to access
 from web machine. In my case everything is running on the same SuSE 9.1
 machine. Do I still need to do something with permissions? If so, what?

Then, check this:

host = 127.0.0.1





---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Work with Ten Tapes

2005-08-31 Thread Alan Brown

On Wed, 31 Aug 2005, Gilberto Nunes Ferreira wrote:


Well...

In another way, how can I force Bacula to use different tape each week on a
month, consider a month with 5 weeks, and I have 10 tapes for this job?


1: Use the max duration time parameter

2: 2 generations of tape isn't enough, use 3 and 1 spare.




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cleaning Tape Drive

2005-08-31 Thread Alan Brown

On Wed, 31 Aug 2005, Timo Eissler wrote:


I have DLT, the cleaning light comes on about once a year.

We have an AIT-2 drive. Once a year? this is great! our drive has such a 
light too, but it is on almost every monday

when i change tapes.


The frequency of cleaning lights is _very_ much related to dust levels in 
the environment and air, this can be quite surprising.


Probably in the case above you have dust buildup under the cabinet or 
carpets and tape changes are stiring up enough to get into the changer's 
air intakes.


The good changers have fairly effective cabinet air filters.

Smoking is also bad for tape drives - the ash in cigarette smoke is 
extremely abrasive and fine enough to get through most filters. I've run 
into a couple of cases where people were smoking outside, but near 
computer room air intakes, etc.






---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-devel] Re: Open Source Funding Idea (Problems and Strategies in Financing Voluntary Free Software Projects)

2005-08-31 Thread Kern Sibbald
On Wednesday 31 August 2005 13:30, steve apale wrote:
 An interesting read considering the recent discussions on funding.

Yes, indeed. This is a very interesting article.  I was aware of the problems 
of funding especially bad feelings that can develop when certain developers 
are paid and others not, but I had never considered it from an angle of 
crowing-out of volunteer programmers.  This crowding-out of volunteers is 
clearly something that I don't want to happen as I want Bacula to remain free 
and open rather than commercial or semi-commercial.

What I have noticed is that most, for sure not all, of Bacula's contributors 
have made one, sometimes important contribution, then gone on to other 
things. There is a growing number of long time contributors, which is very 
pleasing to me -- thanks guys, and there is a growing number of contributions 
as well.  What I would like to encourage is a few more long time contributors 
that work in the core code.  This is the major area that is lacking in 
Bacula.  Perhaps this will happen over time, perhaps it will improve if I 
start making a few public appearances next year in free software meetings.  
Any suggestions from anyone along this line would be welcome.

Thanks for the link ...



-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula performance

2005-08-31 Thread Uwe Hees
Hello,Am 30.08.2005 um 18:15 schrieb Kern Sibbald:Perhaps you didn't read the ReleaseNotes where I indicate that SQLite3 in my tests was 4 to 10 times slower than SQLite 2.  Try SQLite 2 or MySQL.I used sqlite3 mainly because it came preinstalled with MacOS 10.4. Meanwhile I have installed MySQL for other reasons and tried bacula with it. The result was a double in performance up to ~120kB/sec.While running the backup job I noticed that "netstat" reported 32768 entries in the send queue of the bacula-fd. I tried to backup to a remote sd (running under Linux on a 200Mhz/PPC603e, i.e. not a powerful box) and got ~520kB/sec.  Am 30.08.2005 um 20:46 schrieb Arno Lehmann:Also, don't forget that notebook HDs (2.5") are usually a lot slower than than desktop or even server disks... and in backing up the same machine, you use the slow disk three times: reading, writing, database.The disk has a random read/write performance of about 10 MB/sec.Now, I don't have disk performance comparisons between an iBook and a more typical server setup, but I'd bet that the iBook is really slow in comparison...about 650 kB/s is what I get storing the (dumped) catalog database on my backupserver - the server is slower than your iBook, but still this is what the tape drive can handle - but this server only does the backups, the catalog is on another machine, and there are no other processes using lots of memory or bus throughput.In short: Try it with a setup which resembles your planned use of bacula, and with some consideration you will get good results.Backing up my (and my wife's) notebook to an external disk is exactly what I intend to do at home. There's no tape drive involved. As for the company, the backup tape drive is not yet purchased.Greetings,Uwe

[Bacula-users] Installing Bacula on CentOS 4.1

2005-08-31 Thread Jo
People don't like Mandriva around here, so I'm forced to use a RH clone. 
Anyway, this is what I had to to in order to get it to install:


Who knows? It might be useful for somebody.

MySQL:

rpm -ivh mysql-4.1.10a-2.RHEL4.1.i386.rpm 
mysql-devel-4.1.10a-2.RHEL4.1.i386.rpm 
mysql-server-4.1.10a-2.RHEL4.1.i386.rpm 
perl-DBD-MySQL-2.9004-3.1.i386.rpm perl-DBI-1.40-8.i386.rpm


rpm -ivh mysqlclient10-3.23.58-4.RHEL4.1.i386.rpm 
mysqlclient10-devel-3.23.58-4.RHEL4.1.i386.rpm


I didn't install a compiler during installation:

rpm -ivh gcc-3.4.3-22.1.i386.rpm gcc-c++-3.4.3-22.1.i386.rpm 
glibc-devel-2.3.4-2.9.i386.rpm glibc-headers-2.3.4-2.9.i386.rpm 
glibc-kernheaders-2.4-9.1.87.i386.rpm libstdc++-devel-3.4.3-22.1.i386.rpm


For conio:

rpm -ivh ncurses-devel-5.4-13.i386.rpm
rpm -ivh libtermcap-devel-2.0.8-39.i386.rpm

For compression:

rpm -ivh zlib-devel-1.2.1.2-1.i386.rpm

cd /root
mkdir bacula
cd bacula

wget 
http://heanet.dl.sourceforge.net/sourceforge/bacula/bacula-1.36.3.tar.gz


tar xvzf bacula-1.36.3.tar.gz

cd bacula-1.36.3

make distclean

./configure --with-mysql --enable-conio

make

make install


Now I can start testing.

Jo


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula performance

2005-08-31 Thread Jeronimo Zucco
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I use openvpn (http://openvpn.net) in some bacula clients to bacula
server with lzo compression without encrypt, and the transfer time
decrease a lot. I recommend if your data transfer are big.


- --
Jeronimo Zucco
LPIC-1 Linux Professional Institute Certified
Núcleo de Processamento de Dados
Universidade de Caxias do Sul

May the Source be with you. - An unknown jedi programmer.

http://jczucco.blogspot.com

Uwe Hees wrote:
 Hello,
 
 Am 30.08.2005 um 18:15 schrieb Kern Sibbald:
 

 Perhaps you didn't read the ReleaseNotes where I indicate that SQLite3
 in my 
 tests was 4 to 10 times slower than SQLite 2.  

 Try SQLite 2 or MySQL.
 
 
 I used sqlite3 mainly because it came preinstalled with MacOS 10.4.
 Meanwhile I have installed MySQL for other reasons and tried bacula with
 it. The result was a double in performance up to ~120kB/sec.
 
 While running the backup job I noticed that netstat reported 32768
 entries in the send queue of the bacula-fd. I tried to backup to a
 remote sd (running under Linux on a 200Mhz/PPC603e, i.e. not a powerful
 box) and got ~520kB/sec.
  
  
 Am 30.08.2005 um 20:46 schrieb Arno Lehmann:
 
 Also, don't forget that notebook HDs (2.5) are usually a lot slower
 than than desktop or even server disks... and in backing up the same
 machine, you use the slow disk three times: reading, writing, database.
 
 
 The disk has a random read/write performance of about 10 MB/sec.
 
 Now, I don't have disk performance comparisons between an iBook and a
 more typical server setup, but I'd bet that the iBook is really slow
 in comparison...

 about 650 kB/s is what I get storing the (dumped) catalog database on
 my backupserver - the server is slower than your iBook, but still this
 is what the tape drive can handle - but this server only does the
 backups, the catalog is on another machine, and there are no other
 processes using lots of memory or bus throughput.

 In short: Try it with a setup which resembles your planned use of
 bacula, and with some consideration you will get good results.
 
 
 Backing up my (and my wife's) notebook to an external disk is exactly
 what I intend to do at home. There's no tape drive involved. As for the
 company, the backup tape drive is not yet purchased.
 
 Greetings,
 Uwe
 



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDFerKTCq0VJ4DIPwRAitpAKCWWozvCRvWIsx3UGZVkhSArAG03gCgnIMY
vWLOganSNJOLD9CpCqrhVig=
=ZY/w
-END PGP SIGNATURE-


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage daemon hangs

2005-08-31 Thread Kern Sibbald
On Wednesday 31 August 2005 18:25, justin wrote:
 Kern Sibbald wrote:
 On Wednesday 31 August 2005 10:33, justin wrote:
 Hi,
 
 snip
 
 
 And that's it!  The same thing happens with commands such as label
 barcodes.  I'm running on Solaris 9 with a tape library.  mtx and mt
 commands work fine even if bacula is running - I don't think it's
 anything to do with device contention.  I attach what I think are the
 relevant parts of the dir and sd conf files.  Anyone know what's going
  on?
 
 You will need to run it under the debugger as described in the Kaboom
  chapter of the manual.

 OK - done that.  Some interesting results...

 First of all, I don't think there's anything really useful here - the
 system *appears* to work OK now because of some of the things I did, but
 it's nothing earth-shaking.

 I took Kern's advice and ran an instance of the SD under GDB with the
 command line:

 run -s -f -d 99 -c /opt/bacula/etc/bacula-sd.conf


 First off, I noticed that the SD was trying to access both the drives in
 the changer but because there were no tapes in there at the time it
 appeared to hang - waiting on I/O, I assume.  Why this happened, I can't
 say (but see below).  I stopped this run, used mtx to load tapes into
 the drives and tried again.  This time the SD didn't hang on straight
 queries, but crashed (with SIGPIPE) when I tried to do anything such as
 get the status.

 I *did* notice the comments in the docs about compiling with the
 --enable-thread-safe-client option, which I hadn't done before.  (Did
 this cause the problem?)  

No, that is only for MySQL and is not critical.


 Anyway, I reconfigured/compiled with this 
 option, scrubbed the database and tried again.  Now it works  - so far.
 Kern, is the --enable-thread-safe-client *that* important?  If so, I
 think more emphasis on its importance in the documentation would be useful.

 Sorry guys, I know I changed a lot of variables at the same time which
 is not too helpful.  If anyone has ideas of how to track down possible
 bugs I'll be happy to reconfigure and try to duplicate what you expect
 to see.

 Now I appear to have hardware problems with the tape drives (I/O
 errors).  I'm investigating and I'll let you know if it appears to be
 anything to to do with bacula.

   Regards,

 Justin.


 ---
 SF.Net email is Sponsored by the Better Software Conference  EXPO
 September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
 Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
 Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-devel] Re: Open Source Funding Idea (Problems and Strategies in Financing Voluntary Free Software Projects)

2005-08-31 Thread Kern Sibbald
On Wednesday 31 August 2005 20:29, David Boyes wrote:
  Yes, indeed. This is a very interesting article.  I was aware
  of the problems of funding especially bad feelings that can
  develop when certain developers are paid and others not, but
  I had never considered it from an angle of crowing-out of
  volunteer programmers.  This crowding-out of volunteers is
  clearly something that I don't want to happen as I want
  Bacula to remain free and open rather than commercial or
  semi-commercial.

 I think another aspect that we haven't seen a lot of discussion on is
 transparency and accountability, which is often the big catch with
 commercial donors.

I don't think this is a really big problem. First, I am someone very open. I 
have no problem with keeping things transparent.  The few conversations I 
have off-list, for example, are typically private or items that would 
interest very few persons such as release packaging problems (bugs), ...
Concerning accountability, in general, that won't be a problem either as I 
must have been an accountant in a former life because I have no problem doing 
the bookkeeping for a number of corporations that ran in the past.


 One idea I've been toying with proposing is the idea of having a formally
 reviewed proposal process (similar to applying for a grant) for projects to
 be funded by the foundation. The formal review would include estimates of
 time, level of effort, timelines, and formal requirements for documentation
 and code standards. Asking someone to think about these things in advance
 tends to sort the serious contributors from the kibitzers. I believe the
 Apache and Samba folks have adopted this approach for this very reason.

Yes, this is a good idea, but it is probably a bit early for this simply 
because we don't have sufficient numbers of contributors.  If we had 10 
programmers submitting code, this would be critical, but when it is one or 
two as it is now, there isn't much need.


 The review of the proposal would be conducted by Kern and a technical
 review body selected by him for technical relevance, usefulness, and
 furthering the general good. The proposals could then be ranked based on
 that technical review, and funded from the foundation accordingly. Some
 risk management controls would need to be implemented (along with a legal
 obligation to repay the foundation if you receive money and don't complete
 the project). Proposals would be open to anyone, and repeat proposals would
 be encouraged -- if you have a track record of doing good work, that should
 be a plus in your favor.

 Perhaps that idea could be combined with the authorized providers idea in
 that they could become part of that technical review body -- if you
 contribute resources/money, your opinion of what should be prioritized
 should (IMHO) count a little bit more than the random community at large
 (the put up or shut up model). Contributions of time should count as well
 as funding.

   What I would like to encourage is
  a few more long time contributors that work in the core code.

 See above. While most of us do this for the love of it, a little money
 coming back in makes it a lot easier to convince the PTBs of the importance
 of the work. Even a token amount goes a long way to making that case, and
 if there's a clear audit trail, I think a lot of organizations would be
 interested.

I'm thinking about transitioning into something like Debian does, where a 
certain funding is really important, but they don't actually pay programmers.  
Paying programmers is what seems to create the conflicts or crowding out.  

What I can imagine, and what I had already planned, is to make a list of 
projects.  Then rather than say that I will implement those projects for the 
next release, I step back, select one or two smaller things for me, and ask 
people to step forward for those projects.  If no one steps forward, then we 
will simply not implement those features.

As for funding those projects, I'm thinking that Bacula, at least in the near 
future, will not fund them.  However, something that has worked in the past 
is that if one or more corporations want a particular feature that is on this 
project list, then they will have several options of getting it done:
1. supply programmers to do it under Bacula supervision.
2. submit a patch (not really recommended -- not so long ago,
I rejected a pretty big patch).
3. provide funding incentives for programmers.

For item 3, in the past, I have simply put qualified programmers in touch with 
the corporate sponsors, and they worked out the funding between them. This 
was the case, for example, for Landon, who wanted the funding to go to EFF.  
However, other programmers may want to receive the funding themselves.  In 
any case, Bacula would not be directly involved with the funding.

This is probably not the best long term solution, but it is a solution for the 
short term (I think) that avoids getting Bacula into the 

RE: [Bacula-users] Tape ejecting problem

2005-08-31 Thread Chris Lee
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Florian Schnabel
 Sent: Tuesday, 30 August, 2005 02:34
 To: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Tape ejecting problem
 
 LHERBIER Lois wrote
 
 Hello,
 
 Can you show us the content of the file 
 '/etc/bacula/eject_tape', please ?
 
   Loïs Lherbier
   
 
 whoops .. sorry, of course :-)
 
 #!/bin/sh
 bconsole -c /etc/bacula/bconsole.conf END_OF_DATA
 unmount storage=Tape
 END_OF_DATA
 # the following is a shell command
 mt -f /dev/st0 rewind
 mt -f /dev/st0 eject
 

AFAIK the rewind isn't really necessary since bacula rewinds the tape as
soon as it's mounted but this is up to you.

You might try using 'mt -f /dev/st0 offline' instead of 'mt -f /dev/st0
eject' since offline is supposed to be the same as eject according to mt(1).
From the driver/hardware point of view I don't know what the difference is
between 'offline' and 'eject' but 'offline' works fine here.

The OfflineOnUnmount directive shouldn't eject the tape until the tape is
unmounted by bacula (either automatically or by the unmount command in the
console).  I suspect that what's happening here is that you're still using
the eject_tape script in the RunAfterJob and regardless of whether the 'mt
eject' is working it's still unmounting storage=Tape which is causing bacula
to eject the tape.

Personally, I would handle this by leaving the OfflineOnUnmount turned on
and creating an Admin job which executes your eject_tape script.  Then
comment out the mt rewind and eject lines so that the script just tells
bacula to unmount the drive.  Comment out the RunAfterJob which calls
eject_tape in your other Job(s).  Set a high number for Priority on this
Admin job, and schedule it to run at the same time as your other jobs.  In
theory this would let your jobs run normally, then when all of your jobs
have finished the Admin job will run, the script will unmount the storage
resource, and bacula will eject your tape.

Hope this helps. :-)

 
 
 ---
 SF.Net email is Sponsored by the Better Software Conference  EXPO
 September 19-22, 2005 * San Francisco, CA * Development 
 Lifecycle Practices
 Agile  Plan-Driven Development * Managing Projects  Teams * 
 Testing  QA
 Security * Process Improvement  Measurement * 
 http://www.sqe.com/bsce5sf
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


Thanks,
Chris  



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-devel] Re: [Bacula-users] Re: Open Source Funding idea (Kern Sibbald)

2005-08-31 Thread Ludovic Strappazon

Arno Lehmann a écrit :


Phil Stracchino wrote:


Kern Sibbald wrote:

If we want, we could implement a donor only list where subscription 
would be conditional on making a donation or being a Bacula support 
provider. For such a list to work, I'll need Bacula support 
providers.  This is just a thought.  In fact, it wouldn't require 
any more commitment than what you guys are doing today, just that 
enough of you are willing to be designated as a support provider. 
I'm not planning to implement this idea unless I get sufficient 
positive feedback and and a good number of support providers.




I'd be willing to commit to being a support provider, ...



Me too.

Arno


And me too.

Ludovic.


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installing Bacula on CentOS 4.1

2005-08-31 Thread Matt Cowger

You need to look into yum.



On Aug 31, 2005, at 9:22 AM, Jo wrote:

People don't like Mandriva around here, so I'm forced to use a RH  
clone. Anyway, this is what I had to to in order to get it to install:


Who knows? It might be useful for somebody.

MySQL:

rpm -ivh mysql-4.1.10a-2.RHEL4.1.i386.rpm mysql- 
devel-4.1.10a-2.RHEL4.1.i386.rpm mysql- 
server-4.1.10a-2.RHEL4.1.i386.rpm perl-DBD- 
MySQL-2.9004-3.1.i386.rpm perl-DBI-1.40-8.i386.rpm


rpm -ivh mysqlclient10-3.23.58-4.RHEL4.1.i386.rpm mysqlclient10- 
devel-3.23.58-4.RHEL4.1.i386.rpm


I didn't install a compiler during installation:

rpm -ivh gcc-3.4.3-22.1.i386.rpm gcc-c++-3.4.3-22.1.i386.rpm glibc- 
devel-2.3.4-2.9.i386.rpm glibc-headers-2.3.4-2.9.i386.rpm glibc- 
kernheaders-2.4-9.1.87.i386.rpm libstdc++-devel-3.4.3-22.1.i386.rpm


For conio:

rpm -ivh ncurses-devel-5.4-13.i386.rpm
rpm -ivh libtermcap-devel-2.0.8-39.i386.rpm

For compression:

rpm -ivh zlib-devel-1.2.1.2-1.i386.rpm

cd /root
mkdir bacula
cd bacula

wget http://heanet.dl.sourceforge.net/sourceforge/bacula/ 
bacula-1.36.3.tar.gz


tar xvzf bacula-1.36.3.tar.gz

cd bacula-1.36.3

make distclean

./configure --with-mysql --enable-conio

make

make install


Now I can start testing.

Jo


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle  
Practices
Agile  Plan-Driven Development * Managing Projects  Teams *  
Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/ 
bsce5sf

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Confusion over /lib/tls

2005-08-31 Thread Marcus
(Suse 9.2 with 2.6.8)

Hi list,
The docs say to break /lib/tls, or preferably set the
environment variable ``LD_ASSUME_KERNEL=2.4.19'' prior
to executing Bacula.

How do I do that if the system is set to start Bacula
automatically, can it fit in the init.d scripts or
somelike? Thanks!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Confusion over /lib/tls

2005-08-31 Thread Phil Stracchino
Marcus wrote:
 (Suse 9.2 with 2.6.8)
 
 Hi list,
 The docs say to break /lib/tls, or preferably set the
 environment variable ``LD_ASSUME_KERNEL=2.4.19'' prior
 to executing Bacula.
 
 How do I do that if the system is set to start Bacula
 automatically, can it fit in the init.d scripts or
 somelike? Thanks!

method 1:

LD_ASSUME_KERNEL=2.4.19 /etc/rc.d/rc.bacula start

method 2:

add the line LD_ASSUME_KERNEL=2.4.19 to the bacula startup script

other variations are possible.  These are the simplest two that sprang
immediately to mind.


-- 
 Phil Stracchino   [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037 Landline: 603-886-3518


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula error with message delivery

2005-08-31 Thread dave
Hello,
I'm having an issue with bacula 1.37.37, i'm getting a malformed reply
error 501 from message.c and my run before job is giving me a permission
denied message when it is run. If i manually run that script it works fine.
Below is my information, any help appreciated.
Thanks.
Dave.

# messages #
# Reasonable message delivery -- send most everything to email address
#  and to the console
Messages {
  Name = Standard
#
# NOTE! If you send to two email or more email addresses, you will need
#  to replace the %r in the from field (-f part) with a single valid
#  email address in both the mailcommand and the operatorcommand.
#
  mailcommand = /usr/local/bacula-1.37.37/sbin/bsmtp -h localhost -f
\\(Bacula\) %r\ -s \Bacula: %t %e of %c %l\ %r
  operatorcommand = /usr/local/bacula-1.37.37/sbin/bsmtp -h localhost -f
\\(Bacula\) %r\ -s \Bacula: Intervention needed for %j\ %r
  mail = [EMAIL PROTECTED] = all, !skipped
  operator = [EMAIL PROTECTED] = mount
  console = all, !skipped, !saved
#
# WARNING! the following will create a file that you must cycle from
#  time to time as it will grow indefinitely. However, it will
#  also keep all your messages if they scroll off the console.
#
  append = /usr/local/bacula-1.37.37/var/bacula/log = all, !skipped
}

#
# Message delivery for daemon messages (no job).
Messages {
  Name = Daemon
  mailcommand = /usr/local/bacula-1.37.37/sbin/bsmtp -h localhost -f
\\(Bacula\) %r\ -s \Bacula daemon message\ %r
  mail = [EMAIL PROTECTED] = all, !skipped
  console = all, !skipped, !saved
  append = /usr/local/bacula-1.37.37/var/bacula/log = all, !skipped
}
31-Aug 05:18 zeus-dir: BackupCatalog.2005-08-31_03.30.00 Fatal error:
RunBeforeJob error: ERR=Permission denied
31-Aug 05:18 zeus-dir: message.c:454 Mail prog: bsmtp: bsmtp.c:85 Fatal
malformed reply from localhost: 501 Bad address syntax
31-Aug 05:18 zeus-dir: BackupCatalog.2005-08-31_03.30.00 Error:
message.c:465 Mail program terminated in error.
CMD=/usr/local/bacula-1.37.37/sbin/bsmtp -h localhost -f (Bacula)
[EMAIL PROTECTED] -s Bacula: Backup Fatal Error of zeus-fd Full
[EMAIL PROTECTED]
ERR=Child exited with code 1



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] First day in bconsole: words missing in display?

2005-08-31 Thread Marcus
Hi again,
Maybe this is normal, but it's different then what was
shown in the 'structions so I wonder.

show filesets supposedly reveals this:

FileSet: name=Full Set
  Inc: /home/kern/bacula/bacula-1.30
  Exc: /proc
  Exc: /tmp
  Exc: /.journal
  Exc: /.fsck
FileSet: name=Catalog
  Inc:
/home/kern/bacula/testbin/working/bacula.sql

But I get:
*show filesets
FileSet: name=Full Set
  O M
  N
  I /dlt
  N
  E /proc
  E /tmp
  E /.journal
  E /.fsck
  N
FileSet: name=Catalog
  O M
  N
  I /var/bacula/working/bacula.sql
  N

I and E are short for in/exclude I guess but what
are all the NOM's for? Just wondering if this is
normal, haven't noticed anything else like that in
console yet.

**Also, thanks Phil for the earlier init script helps!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula error with message delivery

2005-08-31 Thread Phil Stracchino
dave wrote:
 Hello,
 I'm having an issue with bacula 1.37.37, i'm getting a malformed reply
 error 501 from message.c and my run before job is giving me a permission
 denied message when it is run. If i manually run that script it works fine.
 Below is my information, any help appreciated.

If bsmtp isn't working for you, by no means feel compelled to use it.
It's primarily provided in case nothing else is available.  Feel free to
substitute any other mail-originating tool you can drive from the
command line.  I've been using mutt for this purpose since I first
started using Bacula, and it works just fine.


-- 
 Phil Stracchino   [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037 Landline: 603-886-3518


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula error with message delivery

2005-08-31 Thread Jeffrey L. Taylor
Have you tried running the script as the bacula user?  With
environment and permissions, i.e. su - bacula not su bacula.

Jeffrey

Quoting dave [EMAIL PROTECTED]:
 Hello,
 I'm having an issue with bacula 1.37.37, i'm getting a malformed reply
 error 501 from message.c and my run before job is giving me a permission
 denied message when it is run. If i manually run that script it works fine.
 Below is my information, any help appreciated.
 Thanks.
 Dave.
 


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users