Yep. that is it.
The problem is likely that I have too many locations mapped to the same
directory and overwrote bconsole with the script so that the script calls
itself.
The documentation suggests a directory structure:
./configure \
--sbindir=$HOME/bacula/bin \
--sysconfdir=$HOME/bacula/bin \
--with-pid-dir=$HOME/bacula/bin/working \
--with-subsys-dir=$HOME/bacula/bin/working \
--with-mysql=$HOME/mysql \
--with-working-dir=$HOME/bacula/bin/working \
--with-dump-email=$USER
I replace $HOME with /usr/local so that mine read something like this
./configure \
--sbindir=/usr/local/bacula/bin \
--sysconfdir=/usr/local/bacula/bin \
--with-pid-dir=/usr/local/bacula/bin/working \
--with-subsys-dir=/usr/local/bacula/bin/working \
--with-mysql=/usr/local/mysql \
--with-working-dir=/usr/local/bacula/bin/working \
[EMAIL PROTECTED]
I gather that this will overwrite the one of the 2 bconsoles.
I think that I will try
./configure \
--sbindir=/usr/local/bacula/bin \
--sysconfdir=/etc/bacula/bin \
--with-pid-dir=/usr/local/bacula/bin/working \
--with-subsys-dir=/usr/local/bacula/bin/working \
--with-mysql=/usr/local/mysql \
--with-working-dir=/usr/local/bacula/bin/working \
[EMAIL PROTECTED]
which is what I think that I had the last time.
Someone might suggest fixing the documentation.
Ron
-----Original Message-----
From: Phil Stracchino [mailto:[EMAIL PROTECTED]
Sent: August 10, 2005 6:27 PM
To: Paul Heinlein
Cc: Ron Wheeler; [email protected]
Subject: Re: FW: [Bacula-users] bconsole spawns thousands of copies of
itself
Paul Heinlein wrote:
> On Wed, 10 Aug 2005, Ron Wheeler wrote:
>
>> ldd just says that it is not a dynamic executable.
>
>
> Are you running ldd against /etc/bacula/bconsole or against
> /usr/sbin/bconsole? The former is a shell script, but the latter should
> be a compiled binary.
Ohhhhhh............
I'll bet there's a path problem, and the bconsole script is recursively
spawning *ITSELF* instead of starting the bconsole binary. That'd do it
for sure. A configure error could cause that.
Check the paths *inside* the bconsole script.
--
Phil Stracchino [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
Mobile: 603-216-7037 Landline: 603-886-3518
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users