Hi all,
I'm trying to get this final part of bweb running before I turn our 
Bacula system live, and cannot seem to get my head around it. Various 
mailing searches and config documentation doesn't seem to point me in 
the right place, so I'd appreciate if anyone can spot the problem.

Whenever I try to view the log for a job I get the error
"Can't get log for jobid 147"
via the url:
/cgi-bin/bweb/bweb.pl?action=job_zoom;jobid=147



So I realise that this is where it does a select from the MySQL db, 
however I can't see the table Log in MySQL, plus when I add:
catalog = all, !skipped, !saved
I am told:
26-Jul 10:41 backups-dir: ERROR in parse_conf.c:853 Config error: 
Keyword "catalog" not permitted in this resource.
Perhaps you left the trailing brace off of the previous resource.
             : line 76, col 10 of file /etc/bacula/bacula-dir.conf
   catalog = all, !skipped, !saved





A few details of my setup:
using Debian Etch with debian packages installed:

bacula-common 1.38.11-8
bacula-console 1.38.11-8
bacula-director-common 1.38.11-8
bacula-director-mysql 1.38.11-8
bacula-doc 1.38.11.1-3
bacula-fd 1.38.11-8
bacula-sd 1.38.11-8
bacula-sd-mysql 1.38.11-8
bweb 2.0.3-3
bweb-common 2.0.3-3

/etc/bacula/bweb.conf
$VAR1 = bless( {
                  'graph_font' => 
'/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf',
                  'name' => undef,
                  'config_file' => '/etc/bacula/bweb.conf',
                  'bconsole' => '/usr/bin/bconsole -c 
/etc/bacula/bconsole.conf',
                  'password' => '123',
                  'fv_write_path' => '/var/spool/bweb',
                  'template_dir' => '/usr/share/bweb/tpl',
                  'dbi' => 'DBI:mysql:database=bacula',
                  'email_media' => 'root',
                  'user' => 'rem',
                  'error' => '',
                  'debug' => 0,
                  'stat_job_table' => 'Job'
                }, 'Bweb::Config' );

/etc/bacula/bacula-dir.conf
  (I've just cut the messages sections, as I believe the other sections 
are working correctly, as backups/jobs/clients work correctly)
Messages {
   Name = Standard
   mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) 
%r\" -s \"Bacula: %t %e of %c %l\" %r"
   operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) 
%r\" -s \"Bacula: Intervention needed for %j\" %r"
   mail = root = all, !skipped
   operator = root = mount
   console = all, !skipped, !saved
   append = "/var/lib/bacula/log" = all, !skipped

   catalog = all, !skipped, !saved
}

Messages {
   Name = Daemon
   mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) 
%r\" -s \"Bacula daemon message\" %r"
   mail = root = all, !skipped
   console = all, !skipped, !saved
   append = "/var/lib/bacula/log" = all, !skipped
}


Thanks for any info anyone can give me :-)

-- 
Andy


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to