pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_ctl reload seems to not work
2+ messages / 2 participants
[nested] [flat]
* pg_ctl reload seems to not work
@ 2003-09-16 07:38 Frédéric Burlet <fburlet@kiala.com>
2003-09-16 13:16 ` Re: pg_ctl reload seems to not work scott.marlowe <scott.marlowe@ihs.com>
0 siblings, 1 reply; 2+ messages in thread
From: Frédéric Burlet @ 2003-09-16 07:38 UTC (permalink / raw)
To: pgsql-admin
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>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pg_ctl reload seems to not work
2003-09-16 07:38 pg_ctl reload seems to not work Frédéric Burlet <fburlet@kiala.com>
@ 2003-09-16 13:16 ` scott.marlowe <scott.marlowe@ihs.com>
0 siblings, 0 replies; 2+ messages in thread
From: scott.marlowe @ 2003-09-16 13:16 UTC (permalink / raw)
To: Frédéric Burlet <fburlet@kiala.com>; +Cc: pgsql-admin
Read the administrator docs again, and look for the line:
This option can only be set at server start.
At the end of a lot of the entries. This is one of them.
I.e. reload won't do, only restart.
On 16 Sep 2003, Frédéric Burlet wrote:
>
> 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>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-09-16 13:16 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-16 07:38 pg_ctl reload seems to not work Frédéric Burlet <fburlet@kiala.com>
2003-09-16 13:16 ` scott.marlowe <scott.marlowe@ihs.com>
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