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 "localhost" 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=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to