mga5rc and bacula

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

mga5rc and bacula

Postby wintpe » May 22nd, '15, 16:37

is there a problem with the bacula client in mga5rc

I can start the client manually and it works, ie bacula-fd -c /etc/bacula/bacula-fd.conf

but when started with systemctl

Code: Select all
[root@localhost bacula]# systemctl status bacula-fd.service
● bacula-fd.service - Bacula-FileDaemon, a Backup-client
   Loaded: loaded (/usr/lib/systemd/system/bacula-fd.service; enabled)
   Active: failed (Result: start-limit) since Fri 2015-05-22 15:15:47 BST; 7s ago
     Docs: man:bacula-fd(8)
  Process: 16399 ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG (code=exited, status=203/EXEC)

May 22 15:15:47 localhost systemd[1]: bacula-fd.service: control process exited, code=exited status=203
May 22 15:15:47 localhost systemd[1]: Failed to start Bacula-FileDaemon, a Backup-client.
May 22 15:15:47 localhost systemd[1]: Unit bacula-fd.service entered failed state.
May 22 15:15:47 localhost systemd[1]: bacula-fd.service failed.
May 22 15:15:47 localhost systemd[1]: start request repeated too quickly for bacula-fd.service
May 22 15:15:47 localhost systemd[1]: Failed to start Bacula-FileDaemon, a Backup-client.
May 22 15:15:47 localhost systemd[1]: Unit bacula-fd.service entered failed state.
May 22 15:15:47 localhost systemd[1]: bacula-fd.service failed.
[root@localhost bacula]# /usr/sbin/bacula-checkconf /etc/bacula/bacula-fd.conf
-bash: /usr/sbin/bacula-checkconf: No such file or directory


it looks like someone failed to provide [root@localhost bacula]# /usr/sbin/bacula-checkconf

Code: Select all
[root@localhost bacula]# rpm -ql bacula-fd-7.0.5-14.mga5
/etc/bacula/bacula-fd.conf
/etc/sysconfig/bacula-fd
/usr/lib/systemd/system/bacula-fd.service
/usr/lib/tmpfiles.d/bacula-fd.conf
/usr/lib64/bacula/bpipe-fd.so
/usr/sbin/bacula-fd
/usr/share/man/man8/bacula-fd.8.xz

[root@localhost bacula]# rpm -ql lib64bacula7-7.0.5-14.mga5
/usr/lib64/libbac-7.0.5.so
/usr/lib64/libbaccfg-7.0.5.so
/usr/lib64/libbacfind-7.0.5.so
/usr/share/doc/lib64bacula7
/usr/share/doc/lib64bacula7/AUTHORS
/usr/share/doc/lib64bacula7/ChangeLog
/usr/share/doc/lib64bacula7/LICENSE
/usr/share/doc/lib64bacula7/ReleaseNotes
/usr/share/doc/lib64bacula7/SUPPORT
[root@localhost bacula]#


ive proved this is the case by creating the missing file as simple as a quick and dirty fix

Code: Select all
#!/bin/sh
exit 0


and it now works fine.

Code: Select all
root@localhost bacula]# systemctl start bacula-fd.service
[root@localhost bacula]# /usr/sbin/bacula-checkconf
[root@localhost bacula]# echo $?
0
[root@localhost bacula]# ps -ef|grep bacula
root     22250     1  0 15:42 ?        00:00:00 /usr/sbin/bacula-fd -f -c /etc/bacula/bacula-fd.conf -u root -g root
root     22262 26082  0 15:42 pts/2    00:00:00 grep --color bacula
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: mga5rc and bacula

Postby doktor5000 » May 22nd, '15, 19:23

Seems like a missing dependency on bacula-dir
Code: Select all
┌─[doktor5000@Mageia5]─[19:11:53]─[~]
└──╼ urpmf bacula-checkconf
bacula-dir:/usr/sbin/bacula-checkconf
bacula-dir:/usr/sbin/bacula-checkconf


Forwarded to package maintainer via https://bugs.mageia.org/show_bug.cgi?id=16022
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest

cron