Re: Lock file

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

 



Użytkownik Marek Dabrowski napisał:

Hello

I've server with two addresses IP on one net interface. I would like start on it two instances postgresql, eg: 192.168.1.2:5432 (7.4.6) and 192.168.1.3:5432 (8.0.2). But when try to start second one, postmaster write error that /tmp/.s.PGSQL.5432.lock alredy exist. How to avoid this problem?

Hi,

You have to change port parameter in postgresql.conf - default is 5432 so leave 5432 for first instance and change to 5433 for the second one. That's all.

BR,
Marcin

Regards
Marek

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend




[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