What have you configured
What os are you using
What version of postgresql
Have you run netstat to check for port 5432
Regards,
Serge Fonville
On Wed, Nov 5, 2008 at 4:11 PM, Joshua Tolley <eggyknap@xxxxxxxxx> wrote:
On Wed, Nov 05, 2008 at 08:34:55PM +0530, Shashank Mujumdar wrote:Look for pg_ctl.
> After installing dspace when I tried to connect it to the postgresql
> server it gave the following error.
>
> psql -U postgres -h localhost ( command used )
>
> the error was
>
> psql: could not connect to server: Connection refused (0X0000274D/10061)
> Is the server running on host "localhost" and accepting
> TCP/IP connections on port 5432?
>
> I searched for a solution on the net and I found that server might not
> be running or postgresql might not have been configured properly.
> As far as I know I've configured the postgresql properly..But I'm
> unable to find out how to start the pgsql server !!!
> Please help me out...
>
http://www.postgresql.org/docs/current/static/app-pg-ctl.html
- Josh / eggyknap
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkkRt6gACgkQRiRfCGf1UMMMPACeOTvJA3/vqtyS3gngIpEYv701
rxYAn2rKMrm8Wjro+nLTVUauuxrSNsAe
=AP9L
-----END PGP SIGNATURE-----