Problems with starting/stoping Postmaster if homedir is not available

From: "Marco Lechner" <marco(dot)lechner(at)geographie(dot)uni-freiburg(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Problems with starting/stoping Postmaster if homedir is not available
Date: 2005-07-20 22:17:01
Message-ID: web-60358273@uni-freiburg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-07-21 05:13:54 Re: FATAL: could not read statistics message
Previous Message Guido Barosio 2005-07-20 22:04:10 Re: Add new column