Bacula-users

Re: [Bacula-users] bweb error when trying to view defined jobs

2013-04-06 17:22:30
Subject: Re: [Bacula-users] bweb error when trying to view defined jobs
From: Marcin Haba <ganiuszka AT gmail DOT com>
To: Courtney Kibbe <Courtney.Kibbe AT tanner DOT com>
Date: Sat, 6 Apr 2013 23:20:11 +0200
2013/4/3 Courtney Kibbe <Courtney.Kibbe AT tanner DOT com>

Hi,

I’m running bacula 5.2.6 with mysql and installed bweb from the 5.2.6 gui download.  Bacula has been working fine for me.  I think I have bweb working as I can see the Main page and other information on the website, except for Defined Jobs.  When I select Defined Jobs I get an error “Bconsole returns an error, check your setup. ERR=1”.  Can anyone help with this?  This is a new setup of bweb.

 

This is my bweb configuration

SQL Connection               

DBI:        DBI:mysql:database=bacula

user:      root

password:

General Options              

email_media:    me AT me DOT com

Bweb Configuration       

config_file:         /var/www/bweb/bweb.conf

graph_font:       

fv_write_path:                 /tmp/

stat_job_table:                 Job

bconsole:            /etc/bacula/bconsole -n


That may be due to above bconsole configuration line. Do you really have bconsole binary file in /etc/bacula/bconsole localization?

If not, you can try to define "bconsole" option eg.:
/usr/sbin/bconsole -n -c /etc/bacula/bconsole.conf

Other way is using sudo:

sudo /usr/sbin/bconsole -n -c /etc/bacula/bconsole.conf

but before that you should add bconsole definition to /etc/sudoers file.

Regards.
Marcin "gani" Haba
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>