SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
bacula start|stop|restart|status fails.
Author Message
Post bacula start|stop|restart|status fails. 
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?

--
Erik

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post bacula start|stop|restart|status fails. 
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post bacula start|stop|restart|status fails. 
Hello,

On 29 June 2012 18:58, Erik P. Olsen <epodata < at > gmail.com> 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?

Bacula in Fedora does not contain those scripts, in fact also Fedora
16 does not have /usr/libexec/bacula/bacula installed. They are
removed as part of the rpm packaging.

You can see the git logs of the Fedora packages at:

http://pkgs.fedoraproject.org/gitweb/?p=bacula.git;a=summary

The Fedora 16 branch is at the bottom.

Since 5.0.3 is quite old, first of all I suggest you to upgrade to
Fedora 17 that contains the latest Bacula with systemd support.
If you can't upgrade, there's a repository for Fedora packages that
contains the latest Fedora ones at:

http://repos.fedorapeople.org/repos/slaanesh/bacula/

By updating on Fedora 16 you will also get systemd as well. Please
read the included README.txt.

Regards,
--Simone

--
You cannot discover new oceans unless you have the courage to lose
sight of the shore (R. W. Emerson).

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post bacula start|stop|restart|status fails. 
On 30/06/12 02:44, Bryan Harris wrote:
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)

yum whatprovides */bacula-ctl-dir doesn't find them, so they definitely aren't
in the rpm package.

--
Erik

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post bacula start|stop|restart|status fails. 
On 30/06/12 11:35, Simone Caronni wrote:
Hello,

On 29 June 2012 18:58, Erik P. Olsen<epodata < at > gmail.com> 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?

Bacula in Fedora does not contain those scripts, in fact also Fedora
16 does not have /usr/libexec/bacula/bacula installed. They are
removed as part of the rpm packaging.

Maybe /usr/libexec/bacula/bacula should have ben removed but it isn't.


You can see the git logs of the Fedora packages at:

http://pkgs.fedoraproject.org/gitweb/?p=bacula.git;a=summary

The Fedora 16 branch is at the bottom.

Since 5.0.3 is quite old, first of all I suggest you to upgrade to
Fedora 17 that contains the latest Bacula with systemd support.
If you can't upgrade, there's a repository for Fedora packages that
contains the latest Fedora ones at:

http://repos.fedorapeople.org/repos/slaanesh/bacula/

Thanks for this info. I wasn't aware of that.


By updating on Fedora 16 you will also get systemd as well. Please
read the included README.txt.

Will do.

--
Erik

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post bacula start|stop|restart|status fails. 
On 02/07/12 11:10, Simone Caronni wrote:
Hello,

On 30 June 2012 18:43, Erik P. Olsen<epodata < at > gmail.com> wrote:
Maybe /usr/libexec/bacula/bacula should have ben removed but it isn't.

can you tell me which package does the file belong to?

rpm -qf /usr/libexec/bacula/bacula

[root < at > epohost ~]# rpm -qf /usr/libexec/bacula/bacula
error: file /usr/libexec/bacula/bacula: No such file or directory
[root < at > epohost ~]# rpm -qf /usr/sbin/bacula
bacula-common-5.0.3-28.fc16.x86_64

--
Erik

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post bacula start|stop|restart|status fails. 
On 2 July 2012 11:58, Erik P. Olsen <epodata < at > gmail.com> wrote:
[root < at > epohost ~]# rpm -qf /usr/libexec/bacula/bacula
error: file /usr/libexec/bacula/bacula: No such file or directory

And in fact this is correct.

[root < at > epohost ~]# rpm -qf /usr/sbin/bacula
bacula-common-5.0.3-28.fc16.x86_64

This is not correct, it's a left-over in the f16 package. I will
create 5.0.3-29.fc16 with the file removed and post an update in
Fedora.
Fedora 17 and rawhide packages are ok.

Regards,
--Simone


--
You cannot discover new oceans unless you have the courage to lose
sight of the shore (R. W. Emerson).

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post bacula start|stop|restart|status fails. 
On 02/07/12 12:05, Simone Caronni wrote:
On 2 July 2012 11:58, Erik P. Olsen<epodata < at > gmail.com> wrote:
[root < at > epohost ~]# rpm -qf /usr/libexec/bacula/bacula
error: file /usr/libexec/bacula/bacula: No such file or directory

And in fact this is correct.

[root < at > epohost ~]# rpm -qf /usr/sbin/bacula
bacula-common-5.0.3-28.fc16.x86_64

This is not correct, it's a left-over in the f16 package. I will
create 5.0.3-29.fc16 with the file removed and post an update in
Fedora.
Fedora 17 and rawhide packages are ok.

Actually it could work correctly if this script were changed to use systemctl
rather than bacula-ctl-*

--
Erik

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post bacula start|stop|restart|status fails. 
On 2 July 2012 17:12, Erik P. Olsen <epodata < at > gmail.com> wrote:
Actually it could work correctly if this script were changed to use
systemctl rather than bacula-ctl-*

That's the point, you don't need it as you can use Fedora's native
systemctl directly.

Regards,
--Simone


--
You cannot discover new oceans unless you have the courage to lose
sight of the shore (R. W. Emerson).

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB