Re: Postgresql startup script on RH9

From: Oliver Fromme <olli(at)lurza(dot)secnetix(dot)de>
To: balazs(at)neusolutions(dot)com (Balazs Wellisch)
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Postgresql startup script on RH9
Date: 2003-09-19 23:27:18
Message-ID: 200309192327.h8JNRIG3033875@lurza.secnetix.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Moin,

Balazs Wellisch wrote:
> Can anyone please tell me how to modify the postgresql startup script to
> accept TCP/IP connections? This is on a Redh Hat 9 machine running
> Postgresql 7.3.4 RPM installation. The RPMs were compiled from the SRPM
> available at postgresql.org.

I would recommend not to modify that script, if possible.
Instead, you should enable the appropriate option in your
postgres.conf file: tcpip_socket = on

For details on the configuration file, see the official docs
(look for "TCPIP_SOCKET"):
http://www.postgresql.org/docs/7.3/static/runtime-config.html

Note that you should also have a look at the pg_hba.conf
file, which controls access to databases by hosts and
usernames.

Regards
Oliver

--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

cat man du : where Unix geeks go when they die

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2003-09-19 23:46:00 Re: Postgresql startup script on RH9
Previous Message Balazs Wellisch 2003-09-19 23:10:33 Postgresql startup script on RH9