Обсуждение: RPM postmaster -i ?
The docs say to startup, using postmaster -i (Internet?) switch - for TCP/IP
use. They don't elaborate on where to properly implement postmaster -i.
Some of the places, I've uncovered where one *might* invoke postmaster -i
are:
/etc/tc.d/init.d/postgresql
pg_ctl
pg_hba.conf
CMDNAME
Maybe I'm missing something, but it seems like PostgreSQL won't even work
from another PC without postmaster -i ? If so, I'm amazed at how vague the
docs are, regarding the proper place to implemement postmaster -i. The docs
seem to assume that one is going to *manually* start PostgreSQL, rather than
auto-start it upon boot. I'm also surprised that the RPM installation
doesn't setup postmaster -i.
Thanks for whatever light you might shed on this. It's been a several-days
hunt, already - to find out.
Michael Coughlin
In /var/lib/pgsql/data/postgresql.conf : set # # Connection Parameters # tcpip_socket = true #ssl = false #max_connections = 32 # 1-1024 port = 5432 #hostname_lookup = false #show_source_port = false "Michael Coughlin" <MickCoughlin@Hotmail.com> wrote in message news:11Dz7.4647$W91.23840@news1.wwck1.ri.home.com... > The docs say to startup, using postmaster -i (Internet?) switch - for TCP/IP > use. They don't elaborate on where to properly implement postmaster -i. > > Some of the places, I've uncovered where one *might* invoke postmaster -i > are: > /etc/tc.d/init.d/postgresql > pg_ctl > pg_hba.conf > CMDNAME > > Maybe I'm missing something, but it seems like PostgreSQL won't even work > from another PC without postmaster -i ? If so, I'm amazed at how vague the > docs are, regarding the proper place to implemement postmaster -i. The docs > seem to assume that one is going to *manually* start PostgreSQL, rather than > auto-start it upon boot. I'm also surprised that the RPM installation > doesn't setup postmaster -i. > > Thanks for whatever light you might shed on this. It's been a several-days > hunt, already - to find out. > > Michael Coughlin > > >
On Thu, 18 Oct 2001, Michael Coughlin wrote:
> The docs say to startup, using postmaster -i (Internet?) switch - for TCP/IP
> use. They don't elaborate on where to properly implement postmaster -i.
Have you read the administrator's manual? It gives tips on what to put
into start up scripts.
> Some of the places, I've uncovered where one *might* invoke postmaster -i
> are:
> /etc/tc.d/init.d/postgresql
If this script is there, this is the one to use. You may even have it
syumlinked in one of the rc#.d directories, and it should be automatically
starting at boot time. This was probably installed by the RPMs.
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
All the troubles you have will pass away very quickly.