Bacula-users

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

2013-04-04 17:14:16
Subject: Re: [Bacula-users] bweb error when trying to view defined jobs
From: Courtney Kibbe <Courtney.Kibbe AT tanner DOT com>
To: "bacula-users (Bacula-users AT lists.sourceforge DOT net)" <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 4 Apr 2013 21:09:45 +0000

When I put apache in for the user I get an error on the Main page, “Can’t connect to your database: Access denied for user ‘apache’@’localhost’”  If I put bacula or root for the user, I don’t get an error on the Main page, but I still cannot get data on the Defined Jobs page.  I have apache as a member of the bacula group (bacula:x:11051:apache), bconsole has 750 root:bacula and bconsole.conf has 640 root:bacula.

 

SELinux is disabled

 

Thanks,

 

From: Radosław Korzeniewski [mailto:radoslaw AT korzeniewski DOT net]
Sent: Tuesday, April 02, 2013 11:35 PM
To: Courtney Kibbe
Cc: bacula-users (Bacula-users AT lists.sourceforge DOT net)
Subject: Re: [Bacula-users] bweb error when trying to view defined jobs

 

Hello,

 

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

 

Check if your webserver user (apache, http_user, etc.) can run a bconsole app above. If not correct permissions or other errors then try again.

 

best regards

--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net

------------------------------------------------------------------------------
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>