Re: [Bacula-users] Error in bacula-dir.conf
2008-09-23 18:14:29
Steve Harp wrote:
> Hi All,
>
> I'm installing Bacula 2.4.2 on openSUSE 10.3. When I test the
> bacula-dir.conf file, I get the following message.
>
> /usr/sbin/bconsole -t -c ./bacula-dir.conf
> 23-Sep 16:31 bconsole: ERROR TERMINATION at parse_conf.c:902
> Config error: Keyword "WorkingDirectory" not permitted in this resource.
> Perhaps you left the trailing brace off of the previous resource.
> : line 19, col 19 of file ./bacula-dir.conf
> WorkingDirectory = "/var/lib/bacula";
>
> My Director resource in bacula-dir.conf looks like this.
>
> Director {
> Name = abel-dir;
> Description = "ASI Backup Computer";
> DIRport = 9101;
> WorkingDirectory = "/var/lib/bacula";
> PidDirectory = "/var/run";
> Maximum Concurrent Jobs = 1;
> QueryFile = "/usr/lib/bacula/query.sql";
> Password = "xxxxxxxxxxxxxxxxxx";
> Messages = Daemon;
> Heartbeat Interval = 30 sec;
> }
>
> The User Manual says the WorkingDirectory directive is mandatory in this
> resource. What am I doing wrong?
>
> Thanks,
> Steve
Hi Steve,
You're using bconsole (the CLI) to test the director's configuration
file, try
/usr/sbin/bacula-dir -t -c ./bacula-dir.conf
instead.
--
Regards,
Andrew Palmer
Systems Administrator
XCalibre Communications Ltd.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|