Re: [Bacula-users] Bacula-web: a status request

2005-12-20 Thread John Kodis
On Mon, Dec 19, 2005 at 11:14:20PM +0100, Kern Sibbald wrote:
 On Monday 19 December 2005 20:41, John Kodis wrote:

  - Although the web page itself doesn't give any information beyond DB
Connect error, there is excellent diagnostic information in the web
server log files.
 
 Can you give me an example of what information you found, and are
 you talking about the apache (httpd) server log files?

Yes, that's right, the apache we server error log file.  The message
that got me past my initial hurdle was:

PHP Warning: pg_connect(): Unable to connect to PostgreSQL server:
could not connect to server: Connection refused\n\tIs the server
running on host quot;localhostquot; and accepting\n\tTCP/IP
connections on port 5432? in /usr/share/pear/DB/pgsql.php on line
124

This looks as though it was meant to be displayed as part of a web
page, but instead ends up in the web server's error.log file.

  My current stumbling block is this error:
 
  PHP Fatal error:  Call to undefined method DB_Error::numRows()
  in /home/kodis/public_html/classes.inc on line 158
 
  I do seem to have the dbsize Postgres extension module installed, so I
  don't think that that's the problem.  Does this look familiar?
 
 Probably you need to update your version of pear.

Nope.  Thanks for the suggestion, as it's probably worth doing anyway,
but even after using pear upgrade pear archive_tar to bring pear up
to version 1.4.5 and restarting the web server I'm still seeing the
same error message.  This is on a PC running the current release of
Fedora Core Linux, so shouldn't be an uncommon setup and none of the
software should be too far out of date.  At this point, I suspect that
this is related to my use of Postgres rather than the apparently more
common Mysql setup.

-- John Kodis.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-web: a status request

2005-12-20 Thread Arno Lehmann

Hello,

wasn't this discussed a few days ago? I *think* I recall that someone 
had to install the php-postres-integration, usually a package or some 
libraries.


Arno

On 12/20/2005 4:42 PM, John Kodis wrote:

On Mon, Dec 19, 2005 at 11:14:20PM +0100, Kern Sibbald wrote:


On Monday 19 December 2005 20:41, John Kodis wrote:




- Although the web page itself doesn't give any information beyond DB
 Connect error, there is excellent diagnostic information in the web
 server log files.


Can you give me an example of what information you found, and are
you talking about the apache (httpd) server log files?



Yes, that's right, the apache we server error log file.  The message
that got me past my initial hurdle was:

PHP Warning: pg_connect(): Unable to connect to PostgreSQL server:
could not connect to server: Connection refused\n\tIs the server
running on host quot;localhostquot; and accepting\n\tTCP/IP
connections on port 5432? in /usr/share/pear/DB/pgsql.php on line
124

This looks as though it was meant to be displayed as part of a web
page, but instead ends up in the web server's error.log file.



My current stumbling block is this error:

   PHP Fatal error:  Call to undefined method DB_Error::numRows()
   in /home/kodis/public_html/classes.inc on line 158

I do seem to have the dbsize Postgres extension module installed, so I
don't think that that's the problem.  Does this look familiar?


Probably you need to update your version of pear.



Nope.  Thanks for the suggestion, as it's probably worth doing anyway,
but even after using pear upgrade pear archive_tar to bring pear up
to version 1.4.5 and restarting the web server I'm still seeing the
same error message.  This is on a PC running the current release of
Fedora Core Linux, so shouldn't be an uncommon setup and none of the
software should be too far out of date.  At this point, I suspect that
this is related to my use of Postgres rather than the apparently more
common Mysql setup.

-- John Kodis.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-web: a status request

2005-12-19 Thread Kern Sibbald
On Monday 19 December 2005 17:05, John Kodis wrote:
 I have a couple of questions about the current status of bacula-web:

 - I understand that there's been some recent development work on this
   package, and Google finds a reference to bacula-web 1.2, but I can't
   find this newer release on the web.  What is the current release,
   and where can I find a copy?

The *most* current version is always in the Bacula gui CVS.  The released 
version is 1.2 and can be found on Source Forge in the bacula-gui tar file.


 - I've tried to use version 1.1 of bacula-web, since I had grabbed a
   copy prior to the great Sourceforge rearrangement, but can't get it
   working.  The test page displays correctly and shows that I have all
   the prerequisites installed, but all I can get from the main
   bacula-web page is an error saying that a database error has
   occurred.  Has anyone gotten this to work with a Postgres database?
   Is there any way to get further debugging information?

 As always, thanks for any assistance that anyone can offer.

 -- John Kodis.


 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log
 files for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Bacula-web: a status request

2005-12-19 Thread Heigl Florian - Munich-MR - external
Hi John,

 - I understand that there's been some recent development work on this
   package, and Google finds a reference to bacula-web 1.2, but I can't
   find this newer release on the web.  What is the current release,
   and where can I find a copy?

You'll find bacula-web included in the bacula-gui package.
See the bacula 1.38.2 release notes for more info on the integration.

 - I've tried to use version 1.1 of bacula-web, since I had grabbed a
   copy prior to the great Sourceforge rearrangement, but can't get it
   working.  The test page displays correctly and shows that I have all
   the prerequisites installed, but all I can get from the main
   bacula-web page is an error saying that a database error has
   occurred.  Has anyone gotten this to work with a Postgres database?
   Is there any way to get further debugging information?

I had some problems, too when using it with postgres; on 1.1 they're
known
and fixed in 1.2 (see above)

Regards,
Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-web: a status request

2005-12-19 Thread Kern Sibbald
On Monday 19 December 2005 20:41, John Kodis wrote:
 On Mon, Dec 19, 2005 at 05:10:25PM +0100, Heigl Florian - Munich-MR - 
external wrote:
  You'll find bacula-web included in the bacula-gui package.
  See the bacula 1.38.2 release notes for more info on the integration.

 Got it.  Thanks Florian!  Thanks Kern!  I had thought that bacula-web
 was a seperately-released package.

  I had some problems, too when using it with postgres; on 1.1 they're
  known and fixed in 1.2 (see above)

 I've installed 1.2, and made some progress.  For the archives:

 - Although the web page itself doesn't give any information beyond DB
   Connect error, there is excellent diagnostic information in the web
   server log files.

Can you give me an example of what information you found, and are you talking 
about the apache (httpd) server log files?


 - The bacula-web interface requires a TCP/IP interface to Postgres,
   even though Bacula itself does not.  In at least some distributions,
   this has to be enabled by adding tcpip_socket = true to the
   /var/lib/pgsql/data/postgresql.conf file, and restarting Postgres.
   TCP/IP access must also be allowed by the pg_hba.conf file.

I'll add a note to this in the manual.


 My current stumbling block is this error:

 PHP Fatal error:  Call to undefined method DB_Error::numRows()
 in /home/kodis/public_html/classes.inc on line 158

 I do seem to have the dbsize Postgres extension module installed, so I
 don't think that that's the problem.  Does this look familiar?

Probably you need to update your version of pear.

 -- John Kodis.


 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log
 files for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users