Recently I have started seeing this error when starting the server.
shell-init: could not get current directory: getcwd: cannot access parent directories
Here is the command I use to start PostgreSQL.
su postgres -c "/usr/local/pgsql/bin/postmaster -S -D /usr/local/pgsql/data"
Did something change recently to cause this? I find I can get around it
by changing the command to the following.
su postgres -c "cd /usr/local/pgsql; /usr/local/pgsql/bin/postmaster -S -D /usr/local/pgsql/data"
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.