Bacula-users

Re: [Bacula-users] Problems with Quantum SuperLoader 3 LTO-6

2014-12-04 18:22:45
Subject: Re: [Bacula-users] Problems with Quantum SuperLoader 3 LTO-6
From: mark.bergman AT uphs.upenn DOT edu
To: Rainer Hackel <rainer.hackel AT degnerpartner DOT com>
Date: Thu, 04 Dec 2014 18:18:00 -0500
In the message dated: Wed, 03 Dec 2014 10:45:51 +0000,
The pithy ruminations from Rainer Hackel on 
<[Bacula-users] Problems with Quantum SuperLoader 3 LTO-6> were:
=> Hello Bacula users, we run bacula backup for a while now. We had to
=> replace our Tandberg Tape-Library (StorageLoader LTO-5) by a Quantum
=> device (Superloader LTO-6) and have some problems now. Maybe someone can
=> help.
=> 
=> First problem: Starting Bacula this way doesn't work anymore:
=>      cd /etc/init.d
=>      ./bacula-dir start

What's the error message? Does the init script (/etc/init.d/bacula-dir) run,
but fail to find the proper configuration file? Does the init script point to
a different config file (/opt/bacula/etc/bacula-dir.conf, for example)? 

You don't give many details about your environment, but it's possible that,
over time:

        there was a working install of bacula, with /etc/init.d/bacula-dir
        pointing to a config file outside of /etc/bacula.

        the init script was modified at some point

        the bacula package was later updated

        the updater recognized that /etc/init.d/bacula-dir had been
        modified, and [rightly] refused to overwrite the init script
        (often creating an alternative, such as 'bacula-dir.rpmnew')

this would leave you with an init script that doesn't correspond to the paths
used for the config file of the current version of bacula.

=> 
=> Starting this way works fine:
=>      cd /etc/init.d
=>      bacula-dir /etc/bacula/bacula-dir.conf
=> 
=> I could live with that, but I wonder why this happened...

Um, if the commands shown above are accurate, you shouldn't 
'live with' that.

If you are running bacula as root (the most common method), then the above
commands imply that:

        1. The PATH variable for root contains "." (the current dir),
           which is a seriously insecure misconfiguration.

           Can you start the bacula director from any directory with
           "bacula-dir /etc/bacula/bacula-dir.conf", or only when you
           are in /etc/init.d?

    -or-

        2. The bacula-dir executable that's being run is not in
           /etc/init.d

What's the result of the command:

        which bacula-dir


=> 
=> 

[SNIP!]

=> 
=> It would be great if someone could help. Rainer

-- 
Mark Bergman                                           voice: 215-662-7310
mark.bergman AT uphs.upenn DOT edu                              fax: 
215-614-0266
http://www.cbica.upenn.edu/                
IT Technical Director, Center for Biomedical Image Computing and Analytics
Department of Radiology                         University of Pennsylvania
          PGP Key: http://www.cbica.upenn.edu/sbia/bergman 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users