From: | "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net> |
---|---|
To: | Guido <lampo(dot)14(at)iol(dot)it> |
Cc: | <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: |
Date: | 2001-11-09 21:45:13 |
Message-ID: | Pine.LNX.4.30.0111091643590.31182-100000@chapelperilous.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Thu, 8 Nov 2001, Guido wrote:
> I can't run postmaster.
>
> The terms of the problems are:
>
> Distro - RH 7.1
> PGSQL - 7.1.3
> I've setup the rc.d script with <chkconfig -add> so to have Postgresql
> start at system boot and it works fine!
> Now, in order to connect to the DB with a Java application, I need to
> configure the Postgres server in order to accept TCP/IP connection. The
> Programmer's Guide says to supply the -i flag when starting the postmaster,
> but, I think, I'm already running the postmaster.
> My question is :
> How can I enable the TCP/IP connection with the database already
> running?
>
> I've tried with the postmaster -i but I receive the following message:
> Lock file "/var/lib/pgsql/data/postmaster.pid" already exists.
> Is another postmaster (pid 801) running in "/var/lib/pgsql/data"?
You need to shut the postmaster down ('kill 801' will do it), then start
it back up with the -i parameter.
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
Another megabytes the dust.
From | Date | Subject | |
---|---|---|---|
Next Message | Francisco Reyes | 2001-11-10 16:09:31 | Different results based on number of records out of same query |
Previous Message | Francisco Reyes | 2001-11-09 18:12:15 | Using output of pg_ctl for benchmarking? |