Received: from nameserve.inetmi.com ([204.146.136.253]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f27FDNx87817 for ; Wed, 7 Mar 2001 10:13:24 -0500 (EST) (envelope-from BJames@inetmi.com) Received: (qmail 26923 invoked from network); 7 Mar 2001 15:19:48 -0000 Received: from unknown (HELO inetmi.com) (204.146.136.1) by 204.146.136.253 with SMTP; 7 Mar 2001 15:19:48 -0000 Message-ID: <3AA64F95.F9323A84@inetmi.com> Date: Wed, 07 Mar 2001 10:11:17 -0500 From: William L James Organization: I/NET, Inc. X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Postgres/Postmaster logging and log rotation Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/52 X-Sequence-Number: 898 Hi there: We are running PostgreSQL 7.0.2 on RedHat Linux 6.2 and have encountered a few strange problems that continue to elude us - namely INSERT and DELETE functions that end abnormally, but do not include any information as to why (the JDBC connection just seems to have gone away). Trying to further diagnose the situation, I have been successful in starting the Postgres logging (by including the following in the postgresql script - su -l postgresql -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start >>/var/log/postgresql 2>&1"), but when the weekly logrotate.d function kicks in, Postgres logging stops. We also have trouble doing a simple restart - I wind up having to do a stop and then a start minutes later. Can anyone explain how to get Postgres to log and to be able to rotate the log periodically? Any information would be appreciated. Thanks, Bill James I/NET, Inc. Email: mailto:bjames@inetmi.com WWW: http://www.inetmi.com