pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marco Lechner <marco.lechner@geographie.uni-freiburg.de>
To: pgsql-admin@postgresql.org
Subject: Problems with starting/stoping Postmaster if homedir is not available
Date: Thu, 21 Jul 2005 00:17:01 +0200
Message-ID: <web-60358273@uni-freiburg.de> (raw)

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



Message-ID: <web-60358273@uni-freiburg.de>
Permalink:  ../web-60358273@uni-freiburg.de/
Also on:    postgresql.org/message-id/web-60358273@uni-freiburg.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: marco.lechner@geographie.uni-freiburg.de
  Subject: Re: Problems with starting/stoping Postmaster if homedir is not available
  In-Reply-To: <web-60358273@uni-freiburg.de>
  References: <web-60358273@uni-freiburg.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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