Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id F14899FB348 for ; Mon, 12 Feb 2007 15:02:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 59124-06 for ; Mon, 12 Feb 2007 15:02:23 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by postgresql.org (Postfix) with ESMTP id 7917C9FB5C0 for ; Mon, 12 Feb 2007 15:02:24 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id x4so2269877nfb for ; Mon, 12 Feb 2007 11:02:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=SIx1ZyNnSg2k1akXnRVR73UDxAHoh1Znv49s8x6D+Pdsn6pPDSA2Tq+97Iws+JdXug07ZhOXSTQRn86L0vRwLGtPoLbI2kIvnVTmyDVcdKmFzlEdc3F5p3g6A3wWZi8R8Lk/A66n/AqWv0e42+Z4+6LgVx4511+2eee9z73jOBE= Received: by 10.49.92.18 with SMTP id u18mr4884698nfl.1171306943204; Mon, 12 Feb 2007 11:02:23 -0800 (PST) Received: by 10.48.212.12 with HTTP; Mon, 12 Feb 2007 11:02:22 -0800 (PST) Message-ID: Date: Mon, 12 Feb 2007 20:02:22 +0100 From: "Peter Kovacs" To: pgsql-admin@postgresql.org Subject: pid file problem MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 1333125f434eb6a5 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=BAYES_50, SPF_PASS X-Spam-Level: X-Archive-Number: 200702/164 X-Sequence-Number: 24629 Hi, On system startup PostgreSQL 8.1.4 refuses to start due to the pid file is left over from previous "session" on Solaris 10 x86. After removing the old pid file, PG start up and creates a new pid file: [root@sungift] /# ls -l /var/opt/postgresql/data/postmaster.pid -rw------- 1 postgres dba 50 Feb 12 19:47 /var/opt/postgresql/data/postmaster.pid In the logfile I find: LOCATION: SocketBackend, postgres.c:295 LOG: 00000: received smart shutdown request LOCATION: pmdie, postmaster.c:1885 LOG: 00000: shutting down LOCATION: ShutdownXLOG, xlog.c:5031 FATAL: 58P01: could not remove old lock file "postmaster.pid": No such file or directory HINT: The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again. The start and stop entries for SVC look like the following: Please, could you tell me why the pid file is not deleted on shutdown? Thanks Peter