pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frédéric Burlet <fburlet@kiala.com>
To: pgsql-admin@postgresql.org
Subject: pg_ctl reload seems to not work
Date: 16 Sep 2003 09:38:23 +0200
Message-ID: <1063697903.19896.17.camel@eddie.dev.kiala.com> (raw)


Hi,

When I'm using pg_ctl to reload the config of postgres and nothing
happens. I mean that the new configuration seems to not be reloaded
(even if the logs say that a SIGHUP has been sent to postmaster).

The command line I'm using is the following:
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl reload -D $PGDATA -s"

($PGDATA is well defined before the call)

The conf file I modified is postgresql.conf which is located in
/var/lib/pgsql/data and I changed the value of tcpip_socket from true to
false (setting this value from false to true has the same effect).

The postgresql version I'm running is 7.3.2

Here below you will find an extract of what i have done.

Thanx for your help.

Fred.


<extract>

Before perfoming the following command line, I set tcpip_socket to
false.

# su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl reload -D $PGDATA -s"

In the log, only this line appears:
LOG:  Received SIGHUP, reloading configuration files

# psql -h localhost kp kp
Welcome to psql 7.3.2, the PostgreSQL interactive terminal.
<blablabla...>

Duh!? if I set tcpip_socket to false, normally I should not be able to
connect to the db anymore by using -h option!

</extract>




view thread (2+ messages)  latest in thread

Message-ID: <1063697903.19896.17.camel@eddie.dev.kiala.com>
Permalink:  ../1063697903.19896.17.camel@eddie.dev.kiala.com/
Also on:    postgresql.org/message-id/1063697903.19896.17.camel@eddie.dev.kiala.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: fburlet@kiala.com
  Subject: Re: pg_ctl reload seems to not work
  In-Reply-To: <1063697903.19896.17.camel@eddie.dev.kiala.com>
  References: <1063697903.19896.17.camel@eddie.dev.kiala.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox