Bacula-users

Re: [Bacula-users] bacula start|stop|restart|status fails.

2012-06-29 20:47:05
Subject: Re: [Bacula-users] bacula start|stop|restart|status fails.
From: Bryan Harris <bryanlharris AT me DOT com>
To: "Erik P. Olsen" <epodata AT gmail DOT com>
Date: Fri, 29 Jun 2012 19:44:16 -0500
Hello,

On Jun 29, 2012, at 11:58 AM, Erik P. Olsen wrote:

> I am on Fedora 14 migrating to 16 running bacula 5.0.3 and I've noticed that 
> the 
> script /usr/libexec/bacula/bacula does not perform the functions it is 
> supposed 
> to do. Looking into the script reveals that it actually executes three 
> different 
> scripts, namely bacula-ctl-dir, bacula-ctl-fd and bacula-ctl-sd. However, 
> none 
> of those scripts are found on the system. Where can I find them?

When bacula is built, the option is supplied on the ./configure line:

--with-scriptdir=/path/to/scripts-dir

On my configure line (Slackware), it's /usr/bin.  However, I thought
on Red Hat it was some other path.  Perhaps it's in /usr/libexec/bacula?
Do you need to add that to your path or modify the $SCRIPTDIR
variable in the /usr/libexec/bacula/bacula script?

E.g.
SCRIPTDIR=/usr/bin is what it says in my /etc/rc.d/rc.bacula script.

You could run a command like this to show you the file list associated with your
RPM package.

rpm -ql bacula-mysql | grep bacula-ctl

Substitute "bacula-mysql" with whatever the package is named in your
Fedora system.  (rpm -qa | grep bacula if you don't know the name)

Also here you can see the place where these scripts come from:

http://www.bacula.org/git/cgit.cgi/bacula/tree/bacula/scripts

Bryan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users