[prev in list] [next in list] [prev in thread] [next in thread]
List: twig
Subject: Re: [twig] Twig unable to connect to PostgresSQL server
From: "Craig Foster" <craig () wiw ! org>
Date: 2001-08-29 2:31:21
[Download RAW message or body]
Are you able to connect to the server using the postgres client? If you do
a 'ps -A', does postmaster show up? Do you have postgres setup to listen on
localhost? Check your access permissions, too. Then you may also want to do
a:
/etc/init.d/postgres restart
(or is is '/etc/init.d/postgresql restart'?)
and see if any errors occur. A reinstall of postgres might not be a bad idea
if your filesystem has gotten corrupted in the power outages.
If all else fails, you can always:
apt-get install postgresql-doc
and RTFM.
--
Craig Foster
craig@wiw.org
craig ramsay <craig@halcyonmultimedia.com> said:
> Hi Im sorry if this is a very stupid newbie question but im a bit out of my
> depth. Im having to look after a debian server running twig and this is the
> error I get when it tries to connect to the database
>
> Warning: Unable to connect to PostgresSQL server: connectDB() -- connect()
> failed: Connection refused Is the postmaster running (with -i) at
> 'localhost' and accepting connections on TCP/IP port '5432'? in
> lib/db/pgsql.db.inc.php3 on line 86
> Error: Could not connect to database
> There has been a couple of powercuts of late so these ight be the root of
> the problem.
> Thanks for any help
> Craig
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic