X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 287A9D1B562 for ; Mon, 24 May 2004 00:16:04 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 35458-08 for ; Mon, 24 May 2004 00:15:43 -0300 (ADT) Received: from sycorax.affordablehost.com (sycorax.affordablehost.com [216.46.192.84]) by svr1.postgresql.org (Postfix) with ESMTP id 0BF4CD1BAAE for ; Mon, 24 May 2004 00:15:24 -0300 (ADT) Received: from h0040054d8ee4.ne.client2.attbi.com ([66.31.57.228] helo=e-greek.net) by sycorax.affordablehost.com with esmtp (TLSv1:RC4-MD5:128) (Exim 4.24) id 1BS5vq-0000Et-1g; Sun, 23 May 2004 23:15:18 -0400 Message-ID: <40B168CC.90507@e-greek.net> Date: Sun, 23 May 2004 23:15:24 -0400 From: Andrew Biagioni User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en, it, it-ch, fr-fr, fr-ch, de-de, de-ch MIME-Version: 1.0 To: Paul Gimpelj Cc: pgsql-admin@postgresql.org Subject: Re: two versions on same linux References: <001001c43f03$476e9de0$3410fea9@zoom> <000e01c43f2e$6ec4c010$b901a8c0@sdpi2k.org> <001501c44115$31bb65a0$3410fea9@zoom> In-Reply-To: <001501c44115$31bb65a0$3410fea9@zoom> Content-Type: multipart/alternative; boundary="------------000907060703000906050902" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sycorax.affordablehost.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - e-greek.net X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.7 tagged_above=0.0 required=5.0 tests=HTML_50_60, HTML_MESSAGE, HTML_TITLE_EMPTY X-Spam-Level: X-Archive-Number: 200405/244 X-Sequence-Number: 13560 This is a multi-part message in MIME format. --------------000907060703000906050902 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I would recommend one on the default port (5432). I have also used, without problems (on RedHat 7.3) ports 5434, 5435, 5436, 5437, 15437. What I would do (more experienced people, pls. correct me) is to check your /etc/services file to see what ports are used for what (e.g.: ... cfengine 5308/tcp # CFengine cfengine 5308/udp # CFengine ... Means: if you use Cold Fusion (cf) don't use port 5308. If you use outside packages that use a port but are not standard (sorry, no good examples), avoid their port(s). It used to be that any port over 10,000 was "open". I suspect it's not really true anymore, but usually safe. You can also change your port at any time by changing (or adding) the value in postgresql.conf: port = 5432 can become: port = 15432 or port = 5434 etc. Andrew Paul Gimpelj wrote: > thanks > have running simo, > Have you any suggestions on port numbers? > > > ----- Original Message ----- > *From:* Muhammad Imran > *To:* pgsql-admin@postgresql.org > *Sent:* Friday, May 21, 2004 8:23 AM > *Subject:* Re: [ADMIN] two versions on same linux > > yup, just configure both on differnt ports > > ----- Original Message ----- > *From:* Paul Gimpelj > *To:* pgsql-admin@postgresql.org > > *Sent:* Friday, May 21, 2004 12:14 PM > *Subject:* [ADMIN] two versions on same linux > > Hi, > > I have redhat 7.3 and postgres 7.2 > > Is there a way to have 7.4 installed together with postgres > 7.2 ? and both running at the same time, > with of course different data directories. > > should i use the generic postgres or the rpm'd. > > The existing redhat has no passwords for postgres, and even if > if assign one to user postgres, > postgres ignores it. > > thanks > paul > > --------------000907060703000906050902 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I would recommend one on the default port (5432).  I have also used, without problems (on RedHat 7.3) ports 5434, 5435, 5436, 5437, 15437.

What I would do (more experienced people, pls. correct me) is to check your /etc/services file to see what ports are used for what (e.g.:
    ...
    cfengine        5308/tcp                        # CFengine
    cfengine        5308/udp                        # CFengine
    ...
Means:  if you use Cold Fusion (cf) don't use port 5308.

If you use outside packages that use a port but are not standard (sorry, no good examples), avoid their port(s).

It used to be that any port over 10,000 was "open".  I suspect it's not really true anymore, but usually safe.

You can also change your port at any time by changing (or adding) the value in postgresql.conf:
    port = 5432
can become:
    port = 15432
or
    port = 5434
etc.

             Andrew


Paul Gimpelj wrote:
thanks
have running simo,
Have you any suggestions on port numbers?
 
----- Original Message -----
Sent: Friday, May 21, 2004 8:23 AM
Subject: Re: [ADMIN] two versions on same linux

yup, just configure both on differnt ports
----- Original Message -----
Sent: Friday, May 21, 2004 12:14 PM
Subject: [ADMIN] two versions on same linux

Hi,
 
I have redhat 7.3 and postgres 7.2
 
Is there a way to have 7.4 installed together with postgres 7.2 ? and both running at the same time,
with of course different data directories.
 
should i use the generic postgres or the rpm'd.
 
The existing redhat has no passwords for postgres, and even if if assign one to user postgres,
postgres ignores it.
 
thanks
paul
 
--------------000907060703000906050902--