Problems with starting/stoping Postmaster if homedir is not available - Mailing list pgsql-admin

From Marco Lechner
Subject Problems with starting/stoping Postmaster if homedir is not available
Date
Msg-id web-60358273@uni-freiburg.de
Whole thread Raw
List 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

pgsql-admin by date:

Previous
From: Guido Barosio
Date:
Subject: Re: Add new column
Next
From: Tom Lane
Date:
Subject: Re: FATAL: could not read statistics message