Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group