Re: [ADMIN] Encountering errors while using pg_ctl

2007-06-06 Thread Ali, Luqman
All, I realize what the problem is. Somehow multiple versions on pg_ctl exists... [EMAIL PROTECTED] pgsql]$ find / -name pg_ctl -print 2>/dev/null /usr/bin/pg_ctl /usr/local/pgsql/bin/pg_ctl /opt/postgresql-8.0.4/src/bin/pg_ctl /opt/postgresql-8.0.4/src/bin/pg_ctl/pg_ctl [EMAIL PROTECTED] pgsql]$

Re: [ADMIN] Encountering errors while using pg_ctl

2007-06-06 Thread Ali, Luqman
Phillip, As you can see it, > Where did you install Postgres to? Did you install a binary package or > compile from source? Its from a binary source. The files are in various places but $PGDATA will be in /usr/local/pgsql. Someone else did the installation. >You may just need to sym link pos

Re: [ADMIN] Encountering errors while using pg_ctl

2007-06-06 Thread Phillip Smith
> [EMAIL PROTECTED] pgsql]$ pg_ctl -D /usr/local/pgsql/data stop -l log > The programs "postmaster" and "psql" are needed by pg_ctl but > were not found in the directory "/usr/bin". > Check your installation. Where did you install Postgres to? Did you install a binary package or compile from sourc

[ADMIN] Encountering errors while using pg_ctl

2007-06-06 Thread Ali, Luqman
Hi All, We're using postgresql v.8.0.4 on a RHEL ES 4. Its newly installed by my sys-admin and when trying to use pg_ctl I get this error: [EMAIL PROTECTED] pgsql]$ pg_ctl -D /usr/local/pgsql/data stop -l log The programs "postmaster" and "psql" are needed by pg_ctl but were not found in the dire