postmaster

Started by eoghanover 20 years ago2 messagesgeneral
Jump to latest
#1eoghan
postgres@redry.net

Hi
Im running postgres on OS X 10.4.2. Im having a problem starting
postgres though... but its maybe something dumb im doing...
So i su -l postgres and cd to my /opt/local/bin where postmaster is...
But i always get a:
-su: postmaster: command not found
Its there. Anyone know what im doing wrong? I can run postmaster asaa
another user but i dont own the data folder in that case...
Eoghan

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: eoghan (#1)
Re: postmaster

eoghan <postgres@redry.net> writes:

Im running postgres on OS X 10.4.2. Im having a problem starting
postgres though... but its maybe something dumb im doing...
So i su -l postgres and cd to my /opt/local/bin where postmaster is...
But i always get a:
-su: postmaster: command not found
Its there. Anyone know what im doing wrong?

On most Unixen, "." is not in the default PATH, for pretty good security
reasons. You can either say "./postmaster ...", or forget the "cd" and
just do "/opt/local/bin/postmaster ...".

regards, tom lane