[Bacula-users] webacula + logbook

2007-10-26 Thread Yuri Timofeev
Hi, there

Allow to disturb dear community once again ;)
For this purpose there is a following occasions.

1. In the new version (1.0.beta build 2007.10.25, SVN revision 45) of the
webacula has a LogBook.
Logbook - is simple electronic journal of backups. Records in LogBook are
insert, modify, delete manually by the operator. Records can contain links
(usual web-links on which it is possible to click) to Bacula Jobs or links
to other records of this LogBook.
In logbook insert records, for example, about Jobs, failures of the
equipment, supernumerary situations, etc.

See screenshots http://webacula.sourceforge.net//screenshot.php for details.

Logbook stored in a separate database webacula, now it is supported MySQL
only.
After the structure of a DB webacula will be tested, support of other DBMS
will be immediately added.

2. The webacula had a website http://webacula.sourceforge.net/

Thanks for your attention.



-- 
have a nice day
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Encryption and hardware compression

2007-10-26 Thread Eric Böse-Wolf
Hello Bacula Users,

I want to do encrypted backups and asked myself wether it 
makes sense to turn off the hardware compression of the 
tape drive. 

AFAIK does encryption do some kind of compression (the entropy
of the messages is significantly reduced) and so an additional
hardware compression could make things worse. 

Is my reasoning ok?

A second thing, if I turn on data encryption and TLS, will the
data on the wire be twice encrypted?

Yours sincerely,

Eric

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mtx-changer and number of slots [MSL6000]

2007-10-26 Thread Peter Mann
On Thu, Oct 25, 2007 at 10:47:54PM +0200, Arno Lehmann wrote:
 I'm quite sure that MSLs can be used with Bacula...

yes: http://www.bacula.org/dev-manual/Supported_Autochangers.html

OSMan. Media Model   Slots Cap/Slot

Linux HP   Ultrium-2/LTO MSL 6000/60030/5052 28200/400GB


but i have problem ;-(

-- 

5o   Peter.Mann at tuke.sk



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Compiling a statically linked fd with openssl

2007-10-26 Thread Chris Howells
Hi,

I'm trying to compile a statically linked fd with openssl support from
bacula 2.2.5. Should this configuration work?

My configure line is:

./configure --enable-static-fd --enable-client-only --with-openssl

Unfortunately the compile fails whilst it's trying to link the fd:

/usr/bin/g++   -L../lib -L../findlib -o bacula-fd filed.o authenticate.o
acl.o backup.o estimate.o filed_conf.o heartbeat.o job.o pythonfd.o
restore.o status.o verify.o verify_vol.o \
-lacl -lz   -lfind -lbac -lm  -lpthread -ldl  \
  -lssl -lcrypto
/usr/bin/g++   -static -L../lib -L../findlib -o static-bacula-fd filed.o
authenticate.o acl.o backup.o estimate.o filed_conf.o heartbeat.o job.o
pythonfd.o restore.o status.o verify.o verify_vol.o \
 -lacl -lz  -lfind -lbac -lm  -lpthread -ldl  \
   -lssl -lcrypto
../lib/libbac.a(bsys.o): In function `drop(char*, char*)':
/home/chris/bacula-2.2.5/src/lib/bsys.c:694: warning: Using 'initgroups'
in statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libacl.a(__acl_to_any_text.o):
 

In function `__acl_to_any_text':
(.text+0x452): warning: Using 'getgrgid' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libacl.a(acl_from_text.o): 

In function `acl_from_text':
(.text+0x5b0): warning: Using 'getgrnam' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libacl.a(acl_from_text.o): 

In function `acl_from_text':
(.text+0x485): warning: Using 'getpwnam' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libacl.a(__acl_to_any_text.o):
 

In function `__acl_to_any_text':
(.text+0x5f7): warning: Using 'getpwuid' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
../lib/libbac.a(bnet.o): In function `resolv_host':
/home/chris/bacula-2.2.5/src/lib/bnet.c:424: warning: Using
'gethostbyname2' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
../lib/libbac.a(address_conf.o): In function `add_address':
/home/chris/bacula-2.2.5/src/lib/address_conf.c:310: warning: Using
'getservbyname' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
In function `dlfcn_bind_func':
(.text+0x2d6): undefined reference to `dlsym'
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
In function `dlfcn_bind_func':
(.text+0x3b7): undefined reference to `dlerror'
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
In function `dlfcn_bind_var':
(.text+0x446): undefined reference to `dlsym'
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
In function `dlfcn_bind_var':
(.text+0x527): undefined reference to `dlerror'
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
In function `dlfcn_unload':
(.text+0x595): undefined reference to `dlclose'
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
In function `dlfcn_load':
(.text+0x676): undefined reference to `dlopen'
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
In function `dlfcn_load':
(.text+0x6e0): undefined reference to `dlclose'
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
In function `dlfcn_load':
(.text+0x715): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[1]: *** [static-bacula-fd] Error 1
make[1]: Leaving directory `/home/chris/bacula-2.2.5/src/filed'

I can reproduce this failure on both Ubuntu 6.06 and 7.04.

Thanks for any help.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] webacula logbook

2007-10-26 Thread Yuri Timofeev
Hi, there

Allow to disturb dear community once again ;)
For this purpose there is a following occasions.

1. In the new version (1.0.beta build 2007.10.25, SVN revision 45) of the
webacula has a LogBook.
Logbook - is simple electronic journal of backups. Records in LogBook are
insert, modify, delete manually by the operator. Records can contain links
(usual web-links on which it is possible to click) to Bacula Jobs or links
to other records of this LogBook.
In logbook insert records, for example, about Jobs, failures of the
equipment, supernumerary situations, etc.

See screenshots http://webacula.sourceforge.net//screenshot.php for details.

Logbook stored in a separate database webacula, now it is supported MySQL
only.
After the structure of a DB webacula will be tested, support of other DBMS
will be immediately added.

2. The webacula had a website http://webacula.sourceforge.net/

Thanks for your attention.



-- 
have a nice day
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] python support

2007-10-26 Thread Rich
i've recompiled bacula 2.2.5 with python. configure output claims it is 
enabled :
Python support: yes

but even starting director with -f -d90 doesn't produce any messages - 
manual claims that a message should be printed :

09-Jun 15:14 bacula-dir: ERROR in pythonlib.c:131 Could not import
Python script /etc/bacula/scripts/DirStartUp. Python disabled.

i did not do 'make clean' after enabling python - was that required ?
-- 
  Rich

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 2.2.4 ok to run?

2007-10-26 Thread Janco van der Merwe
Michael,

I tried replying to the mail that you sent last night but shortly after
we had power failures but in short:

We run Bacula 2.2.5 with Postgres 8.1.4 Release 1.1 (The version on the
DVD) and had no problems.

My colleague seems to think, from the errors that you received, that you
require certain libs or that the versions of your postgres,
postgres_server and postgres_devel differ or, again from the error, that
the version 8.2.x is not compatible with Bacula - I don't know going on
what he said!

 


On Thu, 2007-10-25 at 15:20 -0400, Michael Galloway wrote:
 ok, since i cannot get 2.2.5 to build, i guess i will have to drop back to 
 the 2.2.4 EL5/centOS5
 rpms off sourceforge. is 2.2.4 ok to run, or are there outstanding bugs in it?
 
 -- michael
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 
-- 
Janco van der Merwe
Open Solutions
Tel: 011 305 2887
Cell: 083 291 8536
Fax: 0866978875
__
Think not those faithful who praise all thy words and actions; but those
who kindly reprove thy faults.
Socrates




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula Administration Console

2007-10-26 Thread Augusto Lima
I'm using BAT to handle my backup routine every day. But it has some weird 
things that i think could be changed.
 
   First, there are anyway to change that behavior of showing a selection 
window to choose the item as a result of a command? Example, typing 'status' at 
BAT console shows a Selection Dialog to choose which option I want. Instead, i 
would prefer the normal behavior of showing the list with the options which I 
could just type a number. Its faster and more confortable to just stick at the 
keyboard and don't have do get the mouse to choose(i know i could still use the 
keyboard, but i would have to press 'TAB' and the arrows a couple of times).
   Second, at the JobPlot window, it could be more human readable numbers 
at the bytes axis, for me, its showing that the last backup it saved almost 
2.5e+07 bytes, not so easy to read. 
I didnt realize how to change this settings, does anybody know how?
 
Thank you very much for the attention
 
Augusto Camarotti

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 3573-TL tape autochanger

2007-10-26 Thread kiew yuen kit
who have used this tape autochanger with bacula?
Vendor: IBM Model: 3573-TL
i check in the bacula autochanger list and cant seem to find this model.
As it using mtx where as amanda also using the same mtx, but amanda support
this model.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Encryption and hardware compression

2007-10-26 Thread Arno Lehmann
Hi,

26.10.2007 10:52,, Eric Böse-Wolf wrote::
 Hello Bacula Users,
 
 I want to do encrypted backups and asked myself wether it 
 makes sense to turn off the hardware compression of the 
 tape drive. 
 
 AFAIK does encryption do some kind of compression (the entropy
 of the messages is significantly reduced) and so an additional
 hardware compression could make things worse. 
 
 Is my reasoning ok?

I think so.

 A second thing, if I turn on data encryption and TLS, will the
 data on the wire be twice encrypted?

I have no idea.

Arno

 Yours sincerely,
 
 Eric
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compiling a statically linked fd with openssl

2007-10-26 Thread Arno Lehmann
Hello,

26.10.2007 12:06,, Chris Howells wrote::
 Hi,
 
 I'm trying to compile a statically linked fd with openssl support from
 bacula 2.2.5. Should this configuration work?

If I recall correctly, the glibc is no always available as an .a file, 
i.e. glibc requires dynamic loading of shared objects.

For reasons, look at 
http://people.redhat.com/drepper/no_static_linking.html and 
http://gcc.gnu.org/ml/gcc/1998-12/msg00083.html for example.

In short, I doubt it's worth the effort. Better spend your time on 
setting up a usable emergency rescue system with the necessary files 
and configuration, that may be easier.

Arno

 My configure line is:
 
 ./configure --enable-static-fd --enable-client-only --with-openssl
 
 Unfortunately the compile fails whilst it's trying to link the fd:
 
 /usr/bin/g++   -L../lib -L../findlib -o bacula-fd filed.o authenticate.o
 acl.o backup.o estimate.o filed_conf.o heartbeat.o job.o pythonfd.o
 restore.o status.o verify.o verify_vol.o \
 -lacl -lz   -lfind -lbac -lm  -lpthread -ldl  \
   -lssl -lcrypto
 /usr/bin/g++   -static -L../lib -L../findlib -o static-bacula-fd filed.o
 authenticate.o acl.o backup.o estimate.o filed_conf.o heartbeat.o job.o
 pythonfd.o restore.o status.o verify.o verify_vol.o \
  -lacl -lz  -lfind -lbac -lm  -lpthread -ldl  \
-lssl -lcrypto
 ../lib/libbac.a(bsys.o): In function `drop(char*, char*)':
 /home/chris/bacula-2.2.5/src/lib/bsys.c:694: warning: Using 'initgroups'
 in statically linked applications requires at runtime the shared
 libraries from the glibc version used for linking
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libacl.a(__acl_to_any_text.o):
  
 
 In function `__acl_to_any_text':
 (.text+0x452): warning: Using 'getgrgid' in statically linked
 applications requires at runtime the shared libraries from the glibc
 version used for linking
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libacl.a(acl_from_text.o): 
 
 In function `acl_from_text':
 (.text+0x5b0): warning: Using 'getgrnam' in statically linked
 applications requires at runtime the shared libraries from the glibc
 version used for linking
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libacl.a(acl_from_text.o): 
 
 In function `acl_from_text':
 (.text+0x485): warning: Using 'getpwnam' in statically linked
 applications requires at runtime the shared libraries from the glibc
 version used for linking
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libacl.a(__acl_to_any_text.o):
  
 
 In function `__acl_to_any_text':
 (.text+0x5f7): warning: Using 'getpwuid' in statically linked
 applications requires at runtime the shared libraries from the glibc
 version used for linking
 ../lib/libbac.a(bnet.o): In function `resolv_host':
 /home/chris/bacula-2.2.5/src/lib/bnet.c:424: warning: Using
 'gethostbyname2' in statically linked applications requires at runtime
 the shared libraries from the glibc version used for linking
 ../lib/libbac.a(address_conf.o): In function `add_address':
 /home/chris/bacula-2.2.5/src/lib/address_conf.c:310: warning: Using
 'getservbyname' in statically linked applications requires at runtime
 the shared libraries from the glibc version used for linking
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
 In function `dlfcn_bind_func':
 (.text+0x2d6): undefined reference to `dlsym'
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
 In function `dlfcn_bind_func':
 (.text+0x3b7): undefined reference to `dlerror'
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
 In function `dlfcn_bind_var':
 (.text+0x446): undefined reference to `dlsym'
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
 In function `dlfcn_bind_var':
 (.text+0x527): undefined reference to `dlerror'
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
 In function `dlfcn_unload':
 (.text+0x595): undefined reference to `dlclose'
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
 In function `dlfcn_load':
 (.text+0x676): undefined reference to `dlopen'
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
 In function `dlfcn_load':
 (.text+0x6e0): undefined reference to `dlclose'
 /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libcrypto.a(dso_dlfcn.o):
 In function `dlfcn_load':
 (.text+0x715): undefined reference to `dlerror'
 collect2: ld returned 1 exit status
 make[1]: *** [static-bacula-fd] Error 1
 make[1]: Leaving directory `/home/chris/bacula-2.2.5/src/filed'
 
 I can reproduce this failure on both Ubuntu 6.06 and 7.04.
 
 Thanks for any help.
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your 

Re: [Bacula-users] FreeBSD port bacula-client

2007-10-26 Thread Silver Salonen
On Friday 12 October 2007 12:25, Dan Langille wrote:
 On 12 Oct 2007 at 12:19, Silver Salonen wrote:
 
  On Friday 12 October 2007 12:13, Dan Langille wrote:
   On 12 Oct 2007 at 9:14, Silver Salonen wrote:
   
Hi!

Is there a reason why wx-console should use WX 2.4? Every time I
start upgrading bacula-client, I just set USE_WX=2.8 in
bacula-server's Makefile and it builds and works perfectly. I've
also tried compiling it with 2.6 and there wasn't any problem with
it neither.

So is the 2.4 really necessary there or would the WX-defaults
suffice?
   
   No idea. :)  That predates me I believe.  
  
  Maybe so :)
  
  But what do you think of removing the flag?
 
 If it works, no problem.  I suggest asking on the FreeBSD channels 
 too.  And waiting a bit here to see what others say.

Well, it seems noone has anything to say against it :)

From FreeBSD channel I got the answer:
=
If it works with wxWidgets 2.8, please test it with 2.6 and then you
can set USE_WX to 2.4+, which will use 2.8 by default (at least
2.4/2.6 is installed but not 2.8).

Then if all went fine submit a PR with the patch.
=

I tried it with 2.6 too, so I think the WX version can be set to 2.4+ then.

-- 
Silver

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Client-only configure option (but why no analogous Storage-only option?)

2007-10-26 Thread Hydro Meteor
Hi all,

I noticed in the Bacula User's guide there is a configure option (when
building Bacula from Source):

--enable-client-only


Described as:

This option causes the make process to build only the File daemon and the
 libraries that it needs. None of the other daemons, storage tools, nor the
 console will be built. Likewise a make install will then only install the
 File daemon. To cause all daemons to be built, you will need to do a
 configuration without this option. This option greatly facilitates building
 a Client on a client only machine.


This is fantastic. But why is there also not an equivalent option for
building only the Storage Daemon? For example, I will be running the Storage
Daemon only on a Debian Linux machine. The Storage Daemon need not
communicate directly with the Catalog (e.g., PostgreSQL database) so I don't
want to be required to build an entire Bacula system (e.g. including
requisite database) for my Debian machine which will only run the Storage
Daemon.

Thanks for shedding any light on this!
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Client-only configure option (but why no analogous Storage-only option?)

2007-10-26 Thread Martin Simmons
 On Fri, 26 Oct 2007 02:24:29 -1000, Hydro Meteor said:
 
 Hi all,
 
 I noticed in the Bacula User's guide there is a configure option (when
 building Bacula from Source):
 
 --enable-client-only
 
 
 Described as:
 
 This option causes the make process to build only the File daemon and the
  libraries that it needs. None of the other daemons, storage tools, nor the
  console will be built. Likewise a make install will then only install the
  File daemon. To cause all daemons to be built, you will need to do a
  configuration without this option. This option greatly facilitates building
  a Client on a client only machine.
 
 
 This is fantastic. But why is there also not an equivalent option for
 building only the Storage Daemon? For example, I will be running the Storage
 Daemon only on a Debian Linux machine. The Storage Daemon need not
 communicate directly with the Catalog (e.g., PostgreSQL database) so I don't
 want to be required to build an entire Bacula system (e.g. including
 requisite database) for my Debian machine which will only run the Storage
 Daemon.
 
 Thanks for shedding any light on this!

No good reason I suspect.  However, the Storage Daemon module also includes
bscan which need the database.

You can avoid the need for PostgreSQL to build the Storage Daemon by
configuring it to use SQLite from a local directory (i.e. not installed in the
system).

__Martin

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 3573-TL tape autochanger

2007-10-26 Thread jay
We haven't used this particular model, we have an IBM 3581, but have you
tried running the mtx commands in section 29.9 of the manual?  I found that
section, as well as the Autochanger Support section to be quite helpful in
getting mine to work.  The Bacula manual is very well written.

Jay

On 10/26/07, kiew yuen kit [EMAIL PROTECTED] wrote:

 who have used this tape autochanger with bacula?
 Vendor: IBM Model: 3573-TL
 i check in the bacula autochanger list and cant seem to find this model.
 As it using mtx where as amanda also using the same mtx, but amanda
 support this model.


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Encryption and hardware compression

2007-10-26 Thread Eric Böse-Wolf
Vladimir Doisan [EMAIL PROTECTED] writes:

 If you turn TLS and file encryption - the data will be double encrypted

If I only turn on file encryption, then the data goes encrypted over the
wire or the air, but what is not encrypted?

For example what's with the connection cookie the director presents
the [FS]D (don't know exactly)?

Yours sincerely,

Eric

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Sudden errors using bacula 2.2.5 on freebsd 6.2

2007-10-26 Thread soenke . ebert
hi,
we've been running bacula since a couple of years now without any problems. But 
since a few months we have difficulties running our backups.
the error that's occuring in bacula log:
24-Okt 23:34 server-sd JobId 951: Recycled volume Mittwoch on device DDS-2 
(/dev/nsa0), all previous data lost.
24-Okt 23:38 server-sd JobId 951: Fatal error: Unable to write EOF. 
ERR=dev.c:1669 ioctl MTWEOF error on DDS-2 (/dev/nsa0). ERR=Permission denied.
24-Okt 23:38 server-sd JobId 951: Error: Error writing final EOF to tape. This 
Volume may not be readable.
dev.c:1669 ioctl MTWEOF error on DDS-2 (/dev/nsa0). ERR=Permission denied.
24-Okt 23:38 server-sd JobId 951: Job write elapsed time = 00:04:13, Transfer 
rate = 3.946 M bytes/second
24-Okt 23:38 server-fd JobId 951: Fatal error: backup.c:892 Network send error 
to SD. ERR=Connection reset by peer
24-Okt 23:38 server-dir JobId 951: Error: Bacula server-dir 2.2.5 (09Oct07): 
24-Okt-2007 23:38:34

And in /var/log/messages we're getting:
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): WRITE FILEMARKS. CDB: 10 0 0 0 
1 0
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): CAM Status: SCSI Status Error
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): SCSI Status: Check Condition
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): DATA PROTECT asc:27,0
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): Write protected
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): Unretryable error
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): WRITE FILEMARKS. CDB: 10 0 0 0 
1 0
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): CAM Status: SCSI Status Error
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): SCSI Status: Check Condition
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): DATA PROTECT asc:27,0
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): Write protected
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): Unretryable error
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): WRITE FILEMARKS. CDB: 10 0 0 0 
2 0
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): CAM Status: SCSI Status Error
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): SCSI Status: Check Condition
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): DATA PROTECT asc:27,0
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): Write protected
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): Unretryable error
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): failed to write terminating 
filemark(s)
Oct 23 21:13:58 server kernel: (sa0:trm0:0:1:0): tape is now frozen- use an 
OFFLINE, REWIND or MTEOM command to clear this state.
Sorry, for the long logs. We're running Bacula 2.2.5 on FreeBSD 6.2-p8 using a 
Sony SDT-5000 linked to a Tekram 395U Adapter. The Adapter is new, so are the 
tapes (Sony DDS-2)
I compiled a new kernel recently, the backup went fine afterwards but only for 
a week. Now we're getting the same error again. I have no clue what could be 
wrong.
Thanks for any help

Jetzt Handykosten senken mit klarmobil - 14 Ct./Min.! Hier klicken
http://produkte.shopping.freenet.de/handy_voip_isdn/klarmobil/index.html?pid=730025
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Sudden errors using bacula 2.2.5 on freebsd 6.2

2007-10-26 Thread Brian A Seklecki (Mobile)

On Fri, 2007-10-26 at 15:32 +0200, [EMAIL PROTECTED] wrote:
 Sorry, for the long logs. We're running Bacula 2.2.5 on FreeBSD 6.2-p8
 using a Sony SDT-5000 linked to a Tekram 395U Adapter. The Adapter is
 new,

Sounds like dying hardware.  Try to eliminate hardware/software.  Stop
your storage director and load a blank tape.  Try writing zero's and
random to it (# dd if=/dev/random of=/dev/nsa0 bs=32k).  Try mt
erase, mt rewind, mt retension -- ensure that all of the basic
functionality still works.

Does the btape test still pass?

~BAS


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Client-only configure option (but why no analogous Storage-only option?)

2007-10-26 Thread Brian A Seklecki (Mobile)
   configuration without this option. This option greatly facilitates
 building
   a Client on a client only machine.
  
  
  This is fantastic. But why is there also not an equivalent option for
  building only the Storage Daemon? For example, I will be running the Storage
  Daemon only on a Debian Linux machine. The Storage Daemon need not

I plan on making this work using Pkgsrc for some embedded development
(Embedded NAS, tape controller appliances, etc.)  You can build the
entire director, but only bundle up the libraries and binaries you need
to run an SD.

~BAS


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Device blocked.

2007-10-26 Thread Gary Stainburn
Hi folks.

I ran out of disc space which has confused things. I've now freed up some 
space and I'm trying to get things rolling agin.

One of my storeage devices is blocked waiting for a volume so I try creating 
one. However, it doesn't work.

Anyone know what I need to do?

*status storage=larry2-leeds
Connecting to Storage daemon larry2-leeds at larry2.ringways.co.uk:9103

larry2-sd Version: 2.2.4 (14 September 2007) i686-pc-linux-gnu redhat
Daemon started 19-Oct-07 16:56, 141 Jobs run since started.
 Heap: heap=548,864 smbytes=370,298 max_bytes=435,743 bufs=160 max_bufs=171
Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8

Running Jobs:
Writing: Differential Backup job ladmin9 JobId=491 Volume=
pool=Leeds device=LeedsStorage (/var/bacula/leeds)
spooling=0 despooling=0 despool_wait=0
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
Writing: Full Backup job ladmin1 JobId=649 Volume=leeds0040
pool=Leeds device=LeedsStorage (/var/bacula/leeds)
spooling=0 despooling=0 despool_wait=0
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=4 fd=8


Jobs waiting to reserve a drive:


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName
===
   641  Incr124134.4 M  OK   26-Oct-07 14:08 lparts4
   642  Full  0 0   Other26-Oct-07 14:09 lpartsj
   643  Full  0 0   Other26-Oct-07 14:10 lpartsl
   644  Incr 91168.8 M  OK   26-Oct-07 14:12 lserv1
   645  Incr 9971.41 M  OK   26-Oct-07 14:13 lserv4
   646  Incr133978.9 M  OK   26-Oct-07 14:16 lserv6
   647  Incr 88560.7 M  OK   26-Oct-07 14:18 lserv9
   648  Incr186127.5 M  OK   26-Oct-07 14:19 lservg
   676  Incr1221.200 G  OK   26-Oct-07 15:43 dadmin1
   677  Incr 78283.4 M  OK   26-Oct-07 16:04 dadmin4


Device status:
Device LeedsStorage (/var/bacula/leeds) is not open.
Device is BLOCKED waiting to create a volume for:
   Pool:Leeds
   Media type:  leeds-tape
Device HalesStorage (/var/bacula/hales) is not open.
Device PrimaStorage (/var/bacula/prima) is not open.
Device DoncStorage (/var/bacula/donc) is not open.


In Use Volume status:
leeds0040 on device LeedsStorage (/var/bacula/leeds)
Reader=0 writers=0 reserved=2



*label
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
The defined Storage resources are:
 1: eddie1-File
 2: larry2-leeds
 3: larry2-donc
 4: larry2-hales
 5: larry2-prima
Select Storage resource (1-5): 2
Enter new Volume name: leeds0044
Defined Pools:
 1: Prima
 2: Scratch
 3: Hales
 4: Default
 5: Donc
 6: Leeds
Select the Pool (1-6): 6
Connecting to Storage daemon larry2-leeds at larry2.ringways.co.uk:9103 ...
Sending label command for Volume leeds0044 Slot 0 ...
3000 OK label. VolBytes=216 DVD=0 Volume=leeds0044 Device=LeedsStorage 
(/var/bacula/leeds)
Catalog record for Volume leeds0044, Slot 0  successfully created.
Requesting to mount LeedsStorage ...
3001 OK mount. Device=LeedsStorage (/var/bacula/leeds)
*

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] python support

2007-10-26 Thread Rich
On 2007.10.26. 14:04, Rich wrote:
 i've recompiled bacula 2.2.5 with python. configure output claims it is 
 enabled :
 Python support: yes
 
 but even starting director with -f -d90 doesn't produce any messages - 
 manual claims that a message should be printed :
 
 09-Jun 15:14 bacula-dir: ERROR in pythonlib.c:131 Could not import
 Python script /etc/bacula/scripts/DirStartUp. Python disabled.
 
 i did not do 'make clean' after enabling python - was that required ?

ok, this didn't help. even after a clean compile bacula dos not attempt 
to use scripts.
i even tried with strace -e file, not even a single attempt to load any 
python script.

turns out, i must explicitly add Scripts Directory parameter... from 
manual, i understood that bacula would be looking in /etc/bacula/scripts 
by default - it says normal default /etc/bacula/scripts.

so, some suggestions/problems i noticed :)

1. (normal default /etc/bacula/scripts, - unclosed parenthesis in the 
manual.
also, this paragraph probably should note that the directive has to be 
added and no actual default is enabled.

2. if Scripts Directory is specified in director configuration file, 
director can't be stopped with ctrl+c, when run in foreground;

3. if bacula is compiled with python support, maybe it is worth adding 
this parameter to the default director configuration file ?
--

now, for the actual scripts...

1. the example is using both lines with spacing and without spacing 
around equal sign (a=b and a = b). which would be a better style choice ?

2. it seems that i got it partially working by using the following lines :
  Vol = %s_%s-%s-%d % (job.Pool, job.Job, job.Level, numvol)
  job.JobReport = Exists=%d %s % (job.DoesVolumeExist(Vol), Vol)
  job.VolumeName=Vol

are there any huge mistakes ?

3. can i somehow avoid this %d, %s thing and specifying variables after 
that ? like, writing someting like {job.Pool)_{job.Job}-{job.Level} etc.

4. does somebody have example on writing out datetime string that would 
reproduce behaviour that label format currently produces for 
${Year}.${Month:p/2/0/r}.${Day:p/2/0/r}-${Hour:p/2/0/r}.${Minute:p/2/0/r} 
?

5. a (slightly modified) line reads :
job.JobReport = Exists=%d %s % (job.DoesVolumeExist(Vol), Vol)

if i understand correctly, it would only add a line to the report and 
proceed, right ?

it seems that in such a case job simply stucks, waiting for a manual 
volume specification.
can i make a check that would error out if such a volume already exists ?
-- 
  Rich

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Autochangers over Fiber Channel

2007-10-26 Thread Flak Magnet
I currently have a Quantum-SL3 autochanger working with Bacula running on 
Solaris with a LVD-SCSI connection.

We're looking at acquiring a 2nd one and attaching it via fiber channel to a 
Linux host and driving that one with Bacula too. 

The MTX compatiblity page doesn't have any indication of what kind of 
connection (SCSI vs Fiber is being used and I think that SCSI is probably 
more prevalent than fiber.

Does anyone on the list have any experience with autochangers and fiber 
channel connections working with MTX (and therefore bacula)?

I have found the following:
http://article.gmane.org/gmane.comp.bacula.user/30699/match=fiber+channel
So apparently Mike Seda a FC connection working
and:
http://article.gmane.org/gmane.comp.bacula.user/38666/match=fiber+channel
So Arno indicates that fiber channel looks like SCSI to the OS, therefore to 
MTX.  

So I'm pretty confident that we'll be all-set, right?  Anyone care to burst my 
bubble on that?

Thanks in advance for any responses. 

-- 
--
Flak Magnet (Tim)
www.flakmagnet.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autochangers over Fiber Channel

2007-10-26 Thread Alan Brown
On Fri, 26 Oct 2007, Flak Magnet wrote:

 Does anyone on the list have any experience with autochangers and fiber
 channel connections working with MTX (and therefore bacula)?

Yes.

Whether fibre channel or traditional scsi, changers are seen as scsi 
devices.

 So Arno indicates that fiber channel looks like SCSI to the OS, therefore to
 MTX.

 So I'm pretty confident that we'll be all-set, right?  Anyone care to burst my
 bubble on that?

Our FC library has been working fine (apart from 3 tape drive failures) for the 
last 3 years...


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autochangers over Fiber Channel

2007-10-26 Thread Peter Buschman

Yes. FCP (FibreChannel Protocol) is a derivative of the SCSI command 
set and looks just like it from the operating system's perspective. 
Odds are the same high-level SCSI driver in the Linux kernel would be 
used in both cases (SCSI  Fiber) so mtx will probably work 
out-of-the-box if you have the driver for your FC card installed properly.

That said, you want to watch out for a few things:

1.) FibreChannel SANs, and the cards that connect you to them, are 
tuned differently from SCSI busses.  Check and re-check parameters 
like blocksizes and make sure you know what the settings on both your 
SAN switch and interface card are.
2.) Verify whether the tape drives in your autochanger are FC-native 
(they speak to the SAN switch directly) or bridged (they use a 
SCSI-FC bridge). If they are bridged, that is another device whose 
settings you should double-check.
3.) Watch out for any kind of buffer caching in the SAN between 
Bacula and the tape drives, especially if the drives are bridged. 
Different devices might have different-sized buffers and not flush 
them before signaling the end of a write operation to the operating 
system. In order to keep Bacula sane, all buffers on all devices 
should be flushed before IO operations are reported to the OS as complete.

--PLB

At 17:24 26.10.2007, Flak Magnet wrote:
I currently have a Quantum-SL3 autochanger working with Bacula running on
Solaris with a LVD-SCSI connection.

We're looking at acquiring a 2nd one and attaching it via fiber channel to a
Linux host and driving that one with Bacula too.

The MTX compatiblity page doesn't have any indication of what kind of
connection (SCSI vs Fiber is being used and I think that SCSI is probably
more prevalent than fiber.

Does anyone on the list have any experience with autochangers and fiber
channel connections working with MTX (and therefore bacula)?

I have found the following:
http://article.gmane.org/gmane.comp.bacula.user/30699/match=fiber+channel
So apparently Mike Seda a FC connection working
and:
http://article.gmane.org/gmane.comp.bacula.user/38666/match=fiber+channel
So Arno indicates that fiber channel looks like SCSI to the OS, 
therefore to
MTX.

So I'm pretty confident that we'll be all-set, right?  Anyone care 
to burst my
bubble on that?

Thanks in advance for any responses.

--
--
Flak Magnet (Tim)
www.flakmagnet.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] error with 2.2.5

2007-10-26 Thread Craig White
CentOS 5 - MySQL 5

# uname -r -v -m -p -o
2.6.18-8.1.14.el5 #1 SMP Thu Sep 27 18:58:54 EDT 2007 i686 i686
GNU/Linux

# rpm -qa |grep bacula
bacula-mtx-2.2.5-1
bacula-mysql-2.2.5-1

# rpm -qa |grep mysql
mysql-devel-5.0.22-2.1.0.1
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-connector-odbc-3.51.12-2.2
php-mysql-5.1.6-15.el5
mysql-5.0.22-2.1.0.1
mysql-server-5.0.22-2.1.0.1
bacula-mysql-2.2.5-1

Monday through Wednesday, single tape went fine. Last night started a
'Full' backup which would span to second tape. Things went fine until it
tried to write the first file from the 3rd job onto the second tape for
this Pool, then...

26-Oct 08:30 LINSERV1-sd JobId 14: Wrote label to prelabeled Volume
1_Friday_Week_2 on device LTO (/dev/nst0)
26-Oct 08:30 LINSERV1-sd JobId 14: New volume 1_Friday_Week_2 mounted
on device LTO (/dev/nst0) at 26-Oct-2007 08:30.
26-Oct 08:30 LINSERV1 JobId 14: Fatal error: sql_create.c:732
sql_create.c:732 insert INSERT INTO batch VALUES
(16858,14,'E:/WinShares/PR/P R CLIENTS/Toll Brothers
#535/2006/Phoenix/Correspondence/Clips/Phoenix 2 April - June
Clips/','Apr Arizona Republic 4-21.jpg','A A IH/ B A A A 9S5 A A BHGA+/
BEV2T2 BEV2T2 A A L','0') failed:
Table 'bacula.batch' doesn't exist
26-Oct 08:30 LINSERV1 JobId 14: Fatal error: catreq.c:404 Attribute
create error. Query failed: DROP INDEX DelInx1: ERR=You have an error in
your SQL syntax; check the manual that corresponds to your MySQL server
version for the right syntax to use near '' at line 1
26-Oct 08:30 LINSERV1-sd JobId 14: Job NAS-Backup.2007-10-25_20.00.12
marked to be canceled.

?

Craig



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FD - SD problem

2007-10-26 Thread GDS.Marshall
On Thu, 25 October, 2007 9:53 pm, Arno Lehmann wrote:
 Hi,

 25.10.2007 15:08,, GDS.Marshall wrote::
 On Wed, 24 October, 2007 8:17 pm, Arno Lehmann wrote:
 Hi,

 24.10.2007 12:33,, GDS.Marshall wrote::
 Hello,

 Hi,

 22.10.2007 21:26,, GDS.Marshall wrote::
 version 2.2.4 patched from sourceforge
 Linux kernel 2.6.x

 I am running 10+ FD's, one SD, and one Director.  I am having
 problems
 with one of my FD's, the others are fine.
 ...
 FD+DIR   FD   FD
   |  | |
  GSW--- Gig Switch
   |
  FSW--- Fast Switch
   |
   SD
 And the problem connection is between the hosts to the left... ok.
 That is correct.

 ...
 22-Oct 18:56 backupserver-sd: Spooling data ...
 22-Oct 18:56 fileserver-fd: fileserver-backup.2007-10-22_18.54.33
 Fatal
 error: backup.c:892 Network send error to SD. ERR=Success
 So the connection breaks shortly after data starts being transferred,
 right?
 Correct, 2193816 is always written.
 Funny. Disk full on the SD, perhaps? Might be worth a look into the
 system log on both the machines.
 No, that was one of the first things I checked.  The SD spool is a
 dedicated logical volume of 740Gigs (over two tapes of data).  All FD's
 write to the same spool.  When the schedule runs the job, it is not on
 its
 own, however, when I have been running it by hand, then it is the only
 job
 running.

 So we can be more or less sure it's got to do with the scheduling process.

 ...
 Good enough... regarding network problems, you could try to enable the
 heartbeat function in the FD and / or SD. To find the cause of the
 problem, tcpdump or wireshark might help.
 I read about heart beat with the 3com issue, and switched it on for both
 the FD and SD.  I have not tried tcpdump or wireshark, will give it a
 go.

 Use the filtering options extensively - otherwise, you will be
 overloaded by the output :-)

 If you see RST packages on the connection between FD and SD it's only
 the question who generates them...

 ...
 Here it's failed, I think. A higher debug level might reveal more,
 but
 this doesn't tell me anything important.
 I am probably going to get flamed for this,
 Not by me :-)

 but what value, currently it
 is set to 200, I do not want to put it too high, and swamp the amount
 of
 data I am supplying the mailing list, but neither do I want to waste
 the
 mailing lists time by making it too low
 Really a difficult question :-)

 The best approach might be to run with debug level 400, save the
 resulting logs, and only post the part around the failure first. If
 someone needs more detail, you could post the complete log to a web
 site.

 Okay, will give 400 a go.

 ...
 backupserver ~ #
 With the information from above, I suspect a network problem. Does
 the
 client run before job you have run for a very long time? In such a
 situation, a firewall/router might close the connection between SD
 and
 FD because it seems to be idle.
 The run before job might take half an hour max.  There is no firewall
 or
 router in the setup.
 Hmm... half an hour should not trigger a RST due to idleing too long.
 Do your other FDs on the network segment with the DIR have
 long-running scripts, too, or do they transfer data almost immediately
 after the backup jobs are started?
 This is the only one with a script.  Surely if it has started to
 transfer
 data, the RST will not take place as it it no longer idle (just a
 thought).

 Well, it might happen that some device or software decides to drop
 that connection earlier, but only sends RST packets when the
 connection is (according to its assumptions) invalid. This would be a
 behaviour often found in routers, I believe.

 You could try to run that same job with a dummy Client Run Before
 script which immediately exits, just to see what happens then.

 If this case works, and the heartbeat doesn't, then it's surely time
 for some network debugging, I think.
I think I have found the problem, the equipment is on a gig network, and
should be able to handle a bigger network buffer than 65536, as a result,
it had been set manually
Maximum Network Buffer Size = 16777216
this FD is the only one to have that set.  The SD also has this set.  If I
remove it from the FD, it works fine.  Why it stopped working all of a
sudden, I do not know.

Regards,

Spencer




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Beaten about the head and shoulders with a BAT...

2007-10-26 Thread Flak Magnet
BAT won't compile for me no matter what I try.

Most recently I attempted:
http://sourceforge.net/mailarchive/message.php?msg_id=46CAB20B.9070107%40ma-c.de
 
... but with no success.  Admittedly, I was trying it on Ubuntu 7.10

So what is the state of BAT?  Is it a really handy tool that I shouldn't go 
without or a nice to have but not really important tool?

Obviously the intent is for BAT to become the former, but if it's current 
state is more the latter case then I can quite trying to get it to compile 
and move on.

-- 
--
Flak Magnet (Tim)
www.flakmagnet.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Beaten about the head and shoulders with a BAT...

2007-10-26 Thread Chris Howells
Flak Magnet wrote:
 BAT won't compile for me no matter what I try.

You need to supply the compile error to get any hope of help ;)

 So what is the state of BAT?  Is it a really handy tool that I shouldn't go 
 without or a nice to have but not really important tool?

It's nice to have, IME.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Beaten about the head and shoulders with a BAT...

2007-10-26 Thread Flak Magnet
On Friday 26 October 2007 2:52:34 pm Chris Howells wrote:

 You need to supply the compile error to get any hope of help ;)

Alright, but you asked fer it.  Sorta...

During the configure:

checking for qwt support... no
configure: error: Unable to find qwt package needed by bat

Which is weird because I told it right where it was with:

--with-qwt=/usr/local/qwt-5.0.2/lib

That is the compiled from source location as both the Ubuntu packages for qwt 
and the bacula depkgs qwt installation gave me errors to the effect 
of blahblah.h symbol not found during the compile.  Even if the initial 
configure worked.

Which has qwt libraries in it:

$ ls -l /usr/local/qwt-5.0.2/lib
total 760
lrwxrwxrwx 1 root root 15 2007-10-26 12:46 libqwt.so - libqwt.so.5.0.2
lrwxrwxrwx 1 root root 15 2007-10-26 12:46 libqwt.so.5 - libqwt.so.5.0.2
lrwxrwxrwx 1 root root 15 2007-10-26 12:46 libqwt.so.5.0 - 
libqwt.so.5.0.2 
-rwxr-xr-x 1 root root 771616 2007-10-26 12:46 libqwt.so.5.0.2

-- 
--
Flak Magnet (Tim)
www.flakmagnet.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Beaten about the head and shoulders with a BAT...

2007-10-26 Thread Chris Howells
Flak Magnet wrote:
h is weird because I told it right where it was with:
 
 --with-qwt=/usr/local/qwt-5.0.2/lib

You need '--with-qwt=/usr/local/qwt-5.0.2'

if you look at the autoconf checks it looks for include/qwt.h, not lib - 
by passing it /usr/local/qwt-5.0.2/lib it's trying to find 
/usr/local/qwt-5.0.2/lib/include/qwt.h, which clearly isn't going to work.

 
 That is the compiled from source location as both the Ubuntu packages for qwt 
 and the bacula depkgs qwt installation gave me errors to the effect 
 of blahblah.h symbol not found during the compile.  Even if the initial 
 configure worked.

Would need to see the full error to help.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Beaten about the head and shoulders with a BAT...

2007-10-26 Thread Eric Böse-Wolf
Hello Flak,

Flak Magnet [EMAIL PROTECTED] writes:

 That is the compiled from source location as both the Ubuntu packages for qwt 
 and the bacula depkgs qwt installation gave me errors to the effect 
 of blahblah.h symbol not found during the compile.  Even if the initial 
 configure worked.

Did you have the developers packages of qwt for Ubuntu installed?

It's a time ago, that I used Ubuntu, but it is similar to Debian, which
I'm using now, and on Debian you need to install libqwt5-qt4-dev package
to have the header files.

On debian there had been another problem with the linker as there is
a qwt-qt4 library but no qwt, a symlink from /usr/lib/libqwt.so to
/usr/lib/libqwt-qt4.so fixed that.

Bat is cool. It's not essential but it makes - e.g. - the selection of
files to restore much more comfortable!

Yours sincerely,

Eric


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Beaten about the head and shoulders with a BAT...

2007-10-26 Thread Craig White
On Fri, 2007-10-26 at 20:52 +0100, Chris Howells wrote:
 Flak Magnet wrote:
 h is weird because I told it right where it was with:
  
  --with-qwt=/usr/local/qwt-5.0.2/lib
 
 You need '--with-qwt=/usr/local/qwt-5.0.2'

I think that explains what's wrong with the spec file in
bacula-2.2.5-1.src.rpm spec file

Craig



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Beaten about the head and shoulders with a BAT...

2007-10-26 Thread Rupen Momaya

Craig White wrote:

On Fri, 2007-10-26 at 20:52 +0100, Chris Howells wrote:
  

Flak Magnet wrote:
h is weird because I told it right where it was with:


--with-qwt=/usr/local/qwt-5.0.2/lib
  

You need '--with-qwt=/usr/local/qwt-5.0.2'



I think that explains what's wrong with the spec file in
bacula-2.2.5-1.src.rpm spec file

Craig



  
Yeah. I faced a similar error too for re-compiling it in CentOS 5 with 
the source rpm.. .


Regards
Rupen

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
  







--
 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are
not to copy, disclose, or distribute this e-mail or its contents to any other
person and any such actions are unlawful. This e-mail may contain viruses.
NetMagic Solutions Pvt. Ltd. has taken every reasonable precaution to minimize
this risk, but is not liable for any damage you may sustain as a result of any
virus in this e-mail. You should carry out your own virus checks before
opening the e-mail or attachment. NetMagic Solutions Pvt. Ltd. reserves the
right to monitor and review the content of all messages sent to or from this
e-mail address.

Messages sent to or from this e-mail address may be stored on the NetMagic
Solutions Pvt. Ltd.'s e-mail system.
* End of Disclaimer ***

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users