[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] [RaQ4] phpPgAdmin goes *boink*



On Fri, 29 Jun 2001, J. Patrick Lanigan wrote:

> I am having a problem as well. I did compile php with PostgreSQL support and
> I have verified with phpinfo(). This is the error I get When I try to access
> psql through phpPgAdmin:
> 
> Warning: Unable to connect to PostgreSQL server: connectDB() -- connect()
> failed: Connection refused Is the postmaster running at 'localhost' and
> accepting connections on Unix socket '5432'? in
> /home/sites/site2/web/dbadmin/phpPgAdmin/lib.inc.php on line 196
> Error - /home/sites/site2/web/dbadmin/phpPgAdmin/lib.inc.php -- Line: 224
> PostgreSQL said: Unable to connect to server
> 
> Any ideas?
> 
> Thanks,
> J. Patrick Lanigan - Web Developer
> -------------------------------------
>  w: http://www.laniganonline.com/
> -------------------------------------
> 

Try to shutdown postgre (using the init scripts), then, erase the socket
file manually, and run it again.. look for errors...

i never touched postgre as it's cobalt's stuff and i'm afraid they did
there somet things "the cobalt way" and touching would basically kill my
UI.

anyways, it *could be* that postgre was configured only to listen on a
tcp/ip socket, or only on a filesystem socket... if it was only for
tcp/ip, well, you'll need to read the man for it to know the parameters
you need to add/remove from cobalt's configuration...

HTH,

- shimi.