| From: | "D'Arcy" "J(dot)M(dot)" Cain <darcy(at)druid(dot)net> |
|---|---|
| To: | pgsql-hackers(at)PostgreSQL(dot)org |
| Subject: | getcwd failing suddenly |
| Date: | 1999-01-22 13:26:19 |
| Message-ID: | m103gbL-0000bnC@druid.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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(at){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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Oleg Broytmann | 1999-01-22 14:17:49 | SET encoding |
| Previous Message | Oleg Broytmann | 1999-01-22 09:46:52 | Re: [HACKERS] GROUP BY / ORDER BY string is very slow |