Thanks for the response! I tried the -t option, but got the same Segmentation fault. Here is my bat.conf:

#
# Bacula Administration Tool (bat) configuration file
#

Director {
 Name = bacula-dir
 DIRport = 9101
 address = 127.0.0.1
 Password = "rK5CFDg1ovB2Z2CkevCLBntb"
}

Here is the first part of my bacula-dir.conf:

Director {                            # define myself
 Name = bacula-dir
 DIRport = 9101
 QueryFile = "/etc/bacula/query.sql"
 WorkingDirectory = /var/lib/bacula
 PidDirectory = "/var/run"
 Maximum Concurrent Jobs = 1
 Password = "rK5CFDg1ovB2Z2CkevCLBntb"         # Console password
 Messages = Daemon
}

I have tried the address parameter with "127.0.0.1", "localhost", and the actual IP address of eth0 - I always get the same result.

Thanks!




Arno Lehmann wrote:
Hi,

16.01.2008 20:11, Greg Miller wrote:
Hi everyone!

I have an issue with Bat that I hope someone has an answer to.

CentOS 5 x86_64
Bacula 2.2.7-1 (installed from fschwarz RPMS on Sourceforge)
QT4 4.2.1-1
QWT 5.0.2-5

All components installed via Yum (should have taken care of all
dependencies?).  This server was set up as a "base" server without X or
anything else on it originally.  Then, all dependencies were loaded by
Yum.  The server is at Runlevel 3.  I am attempting to run Bat as I do
all other Linux server GUI programs by forwarding the X display back to
Xming running on my WinXP workstation.

When I attempt to run Bat, I get the following message:
Config error: Cannot open config file "./bat.conf": No such file or
directory

If I "cd /usr/bin" and then "ln /etc/bacula/bat.conf", I get the
following error:
Segmentation fault

Is there any way to debug this further to troubleshoot the cause of this
issue?

Sure... verify the contents of your bat.conf file - it should have the basic configuration needed to reach a director.

Perhaps even bat -t works to test the config file, though I suppose that, even if "-t" is implemented, it would also crash in case of config file problems.

Arno

Big thanks from a Bacula Newbie!




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to