Skip site navigation (1) Skip section navigation (2)

Postgresql startup script on RH9

From: "Balazs Wellisch" <balazs(at)neusolutions(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Postgresql startup script on RH9
Date: 2003-09-19 23:10:33
Message-ID: 007401c37f03$40dd72f0$3a00a8c0@MOBILE01 (view raw or flat)
Thread:
Lists: pgsql-novice
Hi all,
 
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.
 
The script in question is: /etc/rc.d/init.d/postgresql
 
The relevent line, I think, is: 
 
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl  -D $PGDATA -p
/usr/bin/postmaster -o '-p ${PGPORT}' start  > /dev/null 2>&1" <
/dev/null
 
However, when I stick a -i  in there the server fails to start up. Can
anyone tell me how to do this correctly?
 
TIA,
 
Balazs
 
 
 

Responses

pgsql-novice by date

Next:From: Oliver FrommeDate: 2003-09-19 23:27:18
Subject: Re: Postgresql startup script on RH9
Previous:From: Jonathan MontgomeryDate: 2003-09-19 14:21:59
Subject: Calling a plpgsql function using a trigger in pgadmin III

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group