Bacula-users

[Bacula-users] Mail error: bsmtp cannot find libbac-5.0.1.so after upgrade from 3.0.3 to 5.0.2

2010-05-12 07:04:14
Subject: [Bacula-users] Mail error: bsmtp cannot find libbac-5.0.1.so after upgrade from 3.0.3 to 5.0.2
From: Foo <bfoo33 AT yahoo.co DOT uk>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 12 May 2010 13:01:51 +0200
Just a FYI if someone else runs into this:

after upgrading from 2.4.3 to 3.0.3 and then to 5.0.2 I'm getting  
(ironically) the following mail from logcheck:

May 12 11:45:10 HOSTNAME bacula-dir: 12-May 11:45  Message delivery ERROR:  
Mail prog: /sbin/bsmtp: error while loading shared libraries:  
libbac-5.0.1.so: cannot open shared object file: No such file or directory

May 12 11:45:10 HOSTNAME bacula-dir: 12-May 11:45  Message delivery ERROR:  
Mail program terminated in error. CMD=/sbin/bsmtp -h mailgw -f '"Bacula"  
<bacula-dir@domain>' -s "Bacula: Backup OK of OTHERHOST-fd Incremental"  
foo@domain ERR=Child exited with code 127

But it does exist:
-rwxr-x--- 1 root root 1010330 2010-05-12 11:11 /usr/lib/libbac-5.0.1.so


The fix was to do a chown root:bacula on /usr/lib/libbac*

The bacula group has the bacula-dir and -sd users in it here, as well as  
some people who need to run bconsole (so executables like /sbin/bconsole  
are all also root:bacula)

Not sure if this is handled correctly by packaging, I used source for all  
versions so far.

------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>