Hi

Bennett, Silas (GE Infrastructure) wrote:

Where can one find this php script?

Cheers,
Silas


You could look in the bacula source tree, in the cvs at sourceforge.

Or, search the list archives.

Or, use google.

The best solution would be to go to http://cvs.sourceforge.net/viewcvs.py/bacula/gui/bacula-web/ and download from there.

Arno

=0)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Arno
Lehmann
Sent: Thursday, September 01, 2005 11:18 AM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: Re-2: [Bacula-users] Bacula web config


Hi,

[EMAIL PROTECTED] wrote:


Thanks for your help

The command

mysql -h192.168.1.220 -ubacula -p bacula

asks for a password. If I type bacula it fails to log in. Just pressing return 
logs in OK.


This means that your database is not protected by a password, and accordingly, in bacula-web you don't need one either. Provided you did this from the same machine with the same username, of course.

Just set up bacula-web to use no password, then. And probably take the time to look up how MySQLs authentcation and acces rights work - depending on the machine you come from, the username, and the database and tables you want to access that can get a liiitle complex...


Then, check this:

host = 127.0.0.1

I'm not sure what you mean? I do have localhost defined as 127.0.0.1 in my 
hosts file.


This is probably meant only to verify if you can connect through he local loop network. Which is not the best idea, though - on the same machine, you would use MySQLs socket.



I have been trying to learn a bit of PHP and dig down to where it goes wrong. 
It fails to connect in the constructor Bweb (defined in classes.inc). The 
parameters are correctly being picked up from the config file.


I guess it's just a question of finding the right setup.

Arno


Graham Dicker


-------- Original Message --------
Subject: Re: [Bacula-users] Bacula web config (31-Aug-2005 14:34)
From:    [EMAIL PROTECTED]
To:      [email protected]



Hello,

El Martes 30 Agosto 2005 12:49, [EMAIL PROTECTED] escribió:


The BaculaWeb test.php works OK (and the graphics show up just fine) but
when I try to load index.php into my browser I just get the error message
"DB Error: not found". I presume something is not right with the config.
This is what appears in bacula.conf (omitting comments):

[.DATABASE]
host = 192.168.1.220

login = bacula
pass =
db_name = bacula
db_type = mysql

This is a PEAR::DB error and is a generic error that could mean that a field or table went missing.

Check that the access to the database is right:
mysql -h192.168.1.220 -ubacula -p bacula




One of the comments says "create a user or give it permissions to access

from web machine". In my case everything is running on the same SuSE 9.1

machine. Do I still need to do something with permissions? If so, what?

Then, check this:

host = 127.0.0.1





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users




--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to