X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8B045529E2 for ; Wed, 20 Jul 2005 19:17:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 78721-02 for ; Wed, 20 Jul 2005 22:17:12 +0000 (GMT) Received: from mailgateway1.uni-freiburg.de (mailgateway1.uni-freiburg.de [132.230.2.211]) by svr1.postgresql.org (Postfix) with ESMTP id D7D8952984 for ; Wed, 20 Jul 2005 19:17:10 -0300 (ADT) Delivery-date: Thu, 21 Jul 2005 00:17:14 +0200 Received: from geographie.uni-freiburg.de ([132.230.2.25] helo=uni-freiburg.de) port 35971 by mailgateway1.uni-freiburg.de with esmtp (Exim 4.50 #1 built 18-Feb-2005 14:34:25 running on Gentoo) id 1DvMsK-0000lt-FX for pgsql-admin@postgresql.org; Thu, 21 Jul 2005 00:17:12 +0200 Received: from [132.230.104.107] (account marco.lechner@geographie.uni-freiburg.de) by uni-freiburg.de (CommuniGate Pro WebUser 4.3.5) with HTTP id 60358273 for pgsql-admin@postgresql.org; Thu, 21 Jul 2005 00:17:01 +0200 From: "Marco Lechner" Subject: Problems with starting/stoping Postmaster if homedir is not available To: pgsql-admin@postgresql.org X-Mailer: CommuniGate Pro WebUser Interface v.4.3.5 Date: Thu, 21 Jul 2005 00:17:01 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200507/169 X-Sequence-Number: 18225 Hi list, we found a problem on our postmaster-service. If we try to stop the postmaster-service with: su - $PGUSER -c "$PGCTL stop -D '$PGDATA' -s -m fast" echo "ok" ;; via a startup/stop-script. Our Server hangs if the $PGUSERs homedir is not available. This could happen because our homedir is mounted via NFS and is exported from a different Server. Does anybody know how to start/stop the Service in abetter way? We know that it must be possible (because it works with the mysql-Service) but there the problem is solved with a servicebinary wich reads a special-conf file (don't know how this binary handles the $USER Variable if not using "su". Marco