Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433

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

 





On Tue, Sep 27, 2016 at 4:08 AM, Poul Kristensen <bcc5226@xxxxxxxxx> wrote:
Hi !

I have need to have to difference Postgres version runnung on the same RHEL 7.2 server.

They are listening on 2 different ports as configured but socket is still listening
on  port 5432 for  both of them.

1. What version of postgres?
2. Where did you get your binaries from ? PGDG, etc...

In your postgresql.conf for each instance, what do you have for:

listen_addresses=?
port=?
unix_socket_directories=?


Most likely, the second instance you created has the socket in /tmp/, whereas the one created by the RPMs has the socket in /tmp AND /var/run/postgresql

--Scott

 

How come and how do I change this?

TIA

Poul 




--
--
Scott Mead
Sr. Architect
OpenSCG

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux