Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm new to Bacula and just finished an install on Ubuntu 14.04.

I have installed mySQL then Bacula. However getting the error below.

user@Bacula:/$ sudo bacula-dir -tc /etc/bacula-sd.conf
13-May 18:42 bacula-dir; ERROR TERMINATION at parse_conf.c:991 Config error: Keywod "WorkingDirectory" not permitted in this previous resourse.
      : line 16, col 19 of file /etc/bacula/bacula-sd.conf
   WorkingDirectory = "var/lib/bacula"

I looked into this however I have not made changes around here. I also looked for trailing braces and found none.

share|improve this question
    
Why are you trying to use the director to test the storage daemon's config? It's not likely to be a valid director config; use the sd to test the sd's config. –  MadHatter May 14 at 7:16
    
Got it. Thank you. –  n1c0 May 14 at 9:00
1  
Oh, good! I'll write it up as an answer, then; if you could accept it (by clicking the tick outline next to it) then the question will be put to bed, and won't keep floating around like a querulous albatross. –  MadHatter May 14 at 9:07

1 Answer 1

up vote 1 down vote accepted

You are trying to use the director to test the storage daemon's config. This probably won't work, as an SD's config is not generally a valid director config. Try using the storage daemon to test its own config:

sudo bacula-sd -tc /etc/bacula-sd.conf
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.