Problems with starting/stoping Postmaster if homedir is not available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux