X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 179DFD1B4F2 for ; Tue, 16 Sep 2003 07:37:21 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 49246-01 for ; Tue, 16 Sep 2003 04:37:10 -0300 (ADT) Received: from hercules.kiala.com (unknown [62.102.3.152]) by svr1.postgresql.org (Postfix) with ESMTP id BE8CBD1B500 for ; Tue, 16 Sep 2003 04:37:07 -0300 (ADT) Received: from olympus.lan.kiala.com (olympus.lan.kiala.com [192.168.10.247]) by hercules.kiala.com (8.11.6/8.11.6) with ESMTP id h8G7b8726315 for ; Tue, 16 Sep 2003 09:37:08 +0200 Received: from eddie.dev.kiala.com ([192.168.6.32]) by olympus.lan.kiala.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 16 Sep 2003 09:37:02 +0200 Subject: pg_ctl reload seems to not work From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Burlet Reply-To: fburlet@kiala.com To: pgsql-admin@postgresql.org Content-Type: text/plain Organization: KIALA Message-Id: <1063697903.19896.17.camel@eddie.dev.kiala.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 16 Sep 2003 09:38:23 +0200 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Sep 2003 07:37:02.0769 (UTC) FILETIME=[51FD3A10:01C37C25] X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/261 X-Sequence-Number: 10349 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. 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. Duh!? if I set tcpip_socket to false, normally I should not be able to connect to the db anymore by using -h option!