Bacula-users

[Bacula-users] Please replace this null libbaccats library with a proper one

2014-07-31 19:17:49
Subject: [Bacula-users] Please replace this null libbaccats library with a proper one
From: Dan Langille <dan AT langille DOT org>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 31 Jul 2014 19:15:23 -0400
I’m in the process of updating the FreeBSD port to 7.0.4 and I have had a 
difficult time.  The current issue seems to be a null libbaccats library.

I have managed to get bacula-fd and bacula-sd running. bacula-dir is having 
issues.  Running with -d 999 gave these messages (the output has been trimmed):

bacula-dir: priv.c:48-0 uname=bacula gname=bacula
bacula-dir: message.c:1347-0 Enter Jmsg type=3
bacula-dir: message.c:811-0 Enter dispatch_msg type=3 msg=bacula-dir JobId 0: 
Fatal error: Please replace this null libbaccats library with a proper one.
bacula-dir: message.c:957-0 MAIL for following msg: bacula-dir JobId 0: Fatal 
error: Please replace this null libbaccats library with a proper one.
bacula-dir: message.c:517-0 
mailname=/var/db/bacula/bacula-dir.bacula-dir.54924440.mail
bacula-dir: message.c:903-0 CONSOLE for following msg: bacula-dir JobId 0: 
Fatal error: Please replace this null libbaccats library with a proper one.
bacula-dir: message.c:906-0 Console file not open.
bacula-dir: message.c:985-0 APPEND for following msg: bacula-dir JobId 0: Fatal 
error: Please replace this null libbaccats library with a proper one.
bacula-dir: dird.c:972-0 Could not open Catalog "Catalog", database "bacula".
bacula-dir: message.c:1347-0 Enter Jmsg type=3
bacula-dir: message.c:811-0 Enter dispatch_msg type=3 msg=bacula-dir JobId 0: 
Fatal error: Could not open Catalog "Catalog", database "bacula".
bacula-dir: message.c:957-0 MAIL for following msg: bacula-dir JobId 0: Fatal 
error: Could not open Catalog "Catalog", database "bacula".
bacula-dir: message.c:903-0 CONSOLE for following msg: bacula-dir JobId 0: 
Fatal error: Could not open Catalog "Catalog", database "bacula".
bacula-dir: message.c:906-0 Console file not open.
bacula-dir: message.c:985-0 APPEND for following msg: bacula-dir JobId 0: Fatal 
error: Could not open Catalog "Catalog", database "bacula".
bacula-dir: message.c:1347-0 Enter Jmsg type=11
bacula-dir: message.c:811-0 Enter dispatch_msg type=11 msg=bacula-dir ERROR 
TERMINATION
Please correct configuration file: /usr/local/etc/bacula/bacula-dir.conf

These are the libraries we have installed:

[root@testing /usr/ports/sysutils/bacula-client]# ls -l /usr/local/lib/libbac*
-rwxr-xr-x  1 root  wheel     920 Jul 31 22:25 /usr/local/lib/libbac.la
lrwxr-xr-x  1 root  wheel      11 Jul 31 22:25 /usr/local/lib/libbac.so -> 
libbac.so.7
-rwxr-xr-x  1 root  wheel  446132 Jul 31 22:25 /usr/local/lib/libbac.so.7
-rwxr-xr-x  1 root  wheel    1010 Jul 31 22:26 
/usr/local/lib/libbaccats-postgresql.la
lrwxr-xr-x  1 root  wheel      26 Jul 31 22:26 
/usr/local/lib/libbaccats-postgresql.so -> libbaccats-postgresql.so.7
-rwxr-xr-x  1 root  wheel   42622 Jul 31 22:26 
/usr/local/lib/libbaccats-postgresql.so.7
-rwxr-xr-x  1 root  wheel     944 Jul 31 22:26 /usr/local/lib/libbaccats.la
lrwxr-xr-x  1 root  wheel      15 Jul 31 22:26 /usr/local/lib/libbaccats.so -> 
libbaccats.so.7
-rwxr-xr-x  1 root  wheel    6376 Jul 31 22:26 /usr/local/lib/libbaccats.so.7
-rwxr-xr-x  1 root  wheel     938 Jul 31 22:25 /usr/local/lib/libbaccfg.la
lrwxr-xr-x  1 root  wheel      14 Jul 31 22:25 /usr/local/lib/libbaccfg.so -> 
libbaccfg.so.7
-rwxr-xr-x  1 root  wheel   51654 Jul 31 22:25 /usr/local/lib/libbaccfg.so.7
-rwxr-xr-x  1 root  wheel     944 Jul 31 22:25 /usr/local/lib/libbacfind.la
lrwxr-xr-x  1 root  wheel      15 Jul 31 22:25 /usr/local/lib/libbacfind.so -> 
libbacfind.so.7
-rwxr-xr-x  1 root  wheel   66460 Jul 31 22:25 /usr/local/lib/libbacfind.so.7
-rwxr-xr-x  1 root  wheel     938 Jul 31 22:26 /usr/local/lib/libbacsql.la
lrwxr-xr-x  1 root  wheel      14 Jul 31 22:26 /usr/local/lib/libbacsql.so -> 
libbacsql.so.7
-rwxr-xr-x  1 root  wheel  190378 Jul 31 22:26 /usr/local/lib/libbacsql.so.7
[root@testing /usr/ports/sysutils/bacula-client]# 


Configuration on Thu Jul 31 22:25:58 UTC 2014:

   Host:                    amd64-portbld-freebsd9.2 -- freebsd 9.2-RELEASE-p10
   Bacula version:          Bacula 7.0.4 (04 June 2014)
   Source code location:    .
   Install binaries:        /usr/local/sbin
   Install libraries:       /usr/local/lib
   Install config files:    /usr/local/etc/bacula
   Scripts directory:       /usr/local/share/bacula
   Archive directory:       /tmp
   Working directory:       /var/db/bacula
   PID directory:           /var/run
   Subsys directory:        /var/run/subsys
   Man directory:           /usr/local/man
   Data directory:          /usr/local/share
   Plugin directory:        /usr/local/lib
   C Compiler:              cc 4.2.1
   C++ Compiler:            /usr/bin/c++ 4.2.1
   Compiler flags:           -O2 -pipe -fno-strict-aliasing
   Linker flags:              -Wl,-rpath,/usr/lib:/usr/local/lib 
-L/usr/local/lib
   Libraries:               -lpthread  -lintl
   Statically Linked Tools: no
   Statically Linked FD:    no
   Statically Linked SD:    no
   Statically Linked DIR:   no
   Statically Linked CONS:  no
   Database backends:       PostgreSQL
   Database port:            
   Database name:           bacula
   Database user:           bacula

   Job Output Email:        root@localhost
   Traceback Email:         root@localhost
   SMTP Host Address:       localhost

   Director Port:           9101
   File daemon Port:        9102
   Storage daemon Port:     9103

   Director User:           bacula
   Director Group:          bacula
   Storage Daemon User:     bacula
   Storage DaemonGroup:     operator
   File Daemon User:        
   File Daemon Group:       

   Large file support:      yes
   Bacula conio support:    no -lreadline -lhistory -ltinfo
   readline support:        yes 
   TCP Wrappers support:    yes -lwrap
   TLS support:             yes
   Encryption support:      yes
   ZLIB support:            yes
   LZO support:             yes
   enable-smartalloc:       yes
   enable-lockmgr:          no
   bat support:             no
   client-only:             no
   build-dird:              yes
   build-stored:            yes
   Plugin support:          yes
   AFS support:             no
   ACL support:             yes
   XATTR support:           yes
   systemd support:         no 
   Batch insert enabled:    PostgreSQL


— 
Dan Langille

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users