Hi list,

Bacula was working fine but for now, i can't launch my bconsole anymore. The following error occures:

bconsole: ERROR TERMINATION at parse_conf.c:821
Config error: Keyword "QueryFile" not permitted in this resource.
Perhaps you left the trailing brace off of the previous resource.
            : line 18, col 12 of file /etc/bacula/bacula-dir.conf
  QueryFile = "/etc/bacula/scripts/query.sql"

I've checked both my bacula-dir.conf and my bconsole.conf for syntax error but I didn't find anything which seems wrong...

Here is a sample of my bacula-dir.conf with the concerned paragraph:

Director {
  Name = backup-dir
  DIRport = 9101
  QueryFile = "/etc/bacula/scripts/query.sql"
  WorkingDirectory = "/var/lib/bacula"
  PidDirectory = "/var/run/bacula"
  Maximum Concurrent Jobs = 1
  Password = "mypassword"
  Messages = Daemon
}

Here is my bconsole.conf:

Director {
  Name = backup-dir
  DIRport = 9101
  Address = localhost
  Password = "mypassword"
}

I've tryed to change the both Name = backup-dir by Name = "backup-dir" and try to change Address = localhost by DirAddress = localhost ....but it was useless.

Any idea ?

Thks in advance,

Thomas Ginestet

Reply via email to