Hi all!
I'm installing Bacula 5.0.2 on RHEL 5.5 using the following procedure
after having downloaded the bacula-5.0.2.tar.gz tarball:
# ./configure \
--prefix=/usr \
--sbindir=/usr/sbin \
--sysconfdir=/etc/bacula \
--with-scriptdir=/etc/bacula/scripts \
--enable-smartalloc \
--with-openssl \
--with-mysql \
--with-working-dir=/var/lib/bacula \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/lock \
--with-dir-user=bacula \
--with-dir-group=bacula \
--with-sd-user=bacula \
--with-sd-group=bacula \
--with-fd-user=root
# make -j6
# make install
# cp -a /etc/bacula/bacula /etc/init.d/
# /usr/sbin/groupadd -g 90 bacula
# /usr/sbin/useradd -c "Bacula" -d /var/lib/bacula -m -k /dev/null -g bacula -u
90 -s /bin/bash bacula
/etc/bacula/scripts# ./grant_mysql_privileges
/etc/bacula/scripts# ./create_mysql_database
/etc/bacula/scripts# ./make_mysql_tables
But when trying to run the startup script, I get the following errors:
[root@localhost scripts]# /etc/init.d/bacula start
Starting the Bacula Storage daemon /usr/sbin/bacula-sd: error while loading
shared libraries:
libbacpy-5.0.1.so: cannot open shared object file: No such file or directory
Starting the Bacula File daemon /usr/sbin/bacula-fd: error while loading shared
libraries:
libbacfind-5.0.1.so: cannot open shared object file: No such file or directory
Starting the Bacula Director daemon /usr/sbin/bacula-dir: error while loading
shared libraries:
libbacfind-5.0.1.so: cannot open shared object file: No such file or directory
But the files are:
[root@localhost scripts]# ll /usr/lib/libbacpy-5.0.1.so
-rwxr-xr-- 1 root root 24083 jul 22 12:25 /usr/lib/libbacpy-5.0.1.so
[root@localhost scripts]# ll /usr/lib/libbacfind-5.0.1.so
-rwxr-xr-- 1 root root 228325 jul 22 12:25 /usr/lib/libbacfind-5.0.1.so
It is some permissions problem perhaps? One of the differences I found
that I have with an installation of Bacula 5.0.1 is that both the
'scripts' directory and the files inside of it are with user and group
bacula:bacula. I changed these permissions because they were with
root:root, but I still have this problem.
Thanks in advance for your reply.
Regards,
Daniel
--
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
signature.asc
Description: Digital signature
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|