Hey guys,
OK I was able to get bacula-client version 7 installed on a CentOS 7
machine.
[root@web1:~/certs] #rpm -qa | grep bacula
bacula-libs-7.0.5-1.el7.x86_64
bacula-common-7.0.5-1.el7.x86_64
bacula-client-7.0.5-1.el7.x86_64
But the service fails to start:
[root@web1:~/certs] #service bacula-fd status -l
Redirecting to /bin/systemctl status -l bacula-fd.service
bacula-fd.service - Bacula-FileDaemon, a Backup-client
Loaded: loaded (/usr/lib/systemd/system/bacula-fd.service; disabled)
Active: failed (Result: start-limit) since Sun 2015-03-01 19:59:57 EST;
2min 11s ago
Docs: man:bacula-fd(8)
Process: 28324 ExecStart=/usr/sbin/bacula-fd -f $OPTS -c $CONFIG -u
$FD_USER -g $FD_GROUP (code=exited, status=1/FAILURE)
Main PID: 28324 (code=exited, status=1/FAILURE)
Mar 01 19:59:57 web1 systemd[1]: bacula-fd.service: main process exited,
code=exited, status=1/FAILURE
Mar 01 19:59:57 web1 systemd[1]: Unit bacula-fd.service entered failed
state.
Mar 01 19:59:57 web1 systemd[1]: bacula-fd.service holdoff time over,
scheduling restart.
Mar 01 19:59:57 web1 systemd[1]: Stopping Bacula-FileDaemon, a
Backup-client...
Mar 01 19:59:57 web1 systemd[1]: Starting Bacula-FileDaemon, a
Backup-client...
Mar 01 19:59:57 web1 systemd[1]: bacula-fd.service start request repeated
too quickly, refusing to start.
Mar 01 19:59:57 web1 systemd[1]: Failed to start Bacula-FileDaemon, a
Backup-client.
Mar 01 19:59:57 web1 systemd[1]: Unit bacula-fd.service entered failed
state.
Here's my bacula-fd config:
[root@web1:~/certs] #cat /etc/bacula/bacula-fd.conf
#
# Default Bacula File Daemon Configuration file
#
# For Bacula release 5.2.13 (19 February 2013) -- redhat
#
# There is not much to change here except perhaps the
# File daemon Name to
#
#
# List Directors who are permitted to contact this File daemon
#
Director {
Name = ops.jokefire.com
Password = Duk30fZh0u
TLS Certificate = /etc/pki/tls/certs/web1.jokefire.com.crt
TLS Key = /etc/pki/tls/private/web1.jokefire.com.key
TLS CA Certificate File = /etc/pki/CA/certs/ca.crt
TLS Enable = yes
TLS Require = yes
}
#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = web1.jokefire.com
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/bacula
Pid Directory = /var/run
Maximum Concurrent Jobs = 20
TLS Certificate = /etc/pki/tls/certs/web1.jokefire.com.crt
TLS Key = /etc/pki/tls/private/web1.jokefire.com.key
TLS CA Certificate File = /etc/pki/CA/certs/ca.crt
TLS Enable = yes
TLS Require = yes
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = cloud-dir = all, !skipped, !restored
}
And here are my certs and how they're permissioned:
-r-------- 1 root root 2212 Feb 13 18:24 /etc/pki/CA/certs/ca.crt
-r-------- 1 bacula bacula 1428 Mar 1 19:58
/etc/pki/tls/certs/web1.jokefire.com.crt
-r-------- 1 bacula bacula 891 Mar 1 19:58
/etc/pki/tls/private/web1.jokefire.com.key
I'd appreciate any advice you guys can give on how to troubleshoot this. I
am not at all familiar with CentOS 7 just yet. It seems they do things a
little differently on this latest version of the OS.
Thanks
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users