Re: psql thinks we should be listening on port 5432

From: "Day, David" <dday(at)redcom(dot)com>
To: "Struckhoff, Kevin" <StruckhoffK(at)gsicommerce(dot)com>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: psql thinks we should be listening on port 5432
Date: 2012-02-22 17:56:13
Message-ID: 401084E5E73F4241A44F3C9E6FD7942828755A59@exch-01
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi

I suggest you start psql with the port declaration switch -p 8432,
By default it is using 5432

Rgds

Dave

From: pgsql-novice-owner(at)postgresql(dot)org [mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Struckhoff, Kevin
Sent: Tuesday, February 21, 2012 7:00 PM
To: pgsql-novice(at)postgresql(dot)org
Subject: [NOVICE] psql thinks we should be listening on port 5432

Hello,

I'm running postgres 8.4.5, it was bundled w/ Actuate 11 Iserver. It was configured to run on port 8432 (not sure why or if that can be changed, I suspect it doesn't matter in the long run). When I try to run psql, I get this error:

/usr/local/actuate11/AcServer/postgresql/bin->psql -d ac_dr_reports
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
/usr/local/actuate11/AcServer/postgresql/bin->

How do I tell it to look on port 8432?

Here's the files in /tmp:

srwxrwxrwx 1 actuate actuate 0 Feb 21 15:23 .s.PGSQL.8432
-rw------- 1 actuate actuate 62 Feb 21 15:23 .s.PGSQL.8432.lock

Thanks.

Kevin

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Ganesh Borse 2012-02-23 01:48:43 Re: select on bytea column returns hex encoded data instead of binary data
Previous Message Tom Lane 2012-02-22 15:13:16 Re: Export Control Classification Number (ECCN) Request