Re: Problems Restarting PostgreSQL Daemon

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: Postgres General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problems Restarting PostgreSQL Daemon
Date: 2008-07-27 22:44:37
Message-ID: Pine.LNX.4.64.0807271541340.21408@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 28 Jul 2008, Andrej Ricnik-Bay wrote:

> Can you do a 'locate pg_ctl|xargs ls -l' and see whether you have more
> than one installed, and if so, which one comes first in the PATH?

Andrej,

There are two:

-rwxr-xr-x 1 root root 24320 2008-06-17 16:18 /usr/bin/pg_ctl
-rw-r--r-- 1 root root 17286 2007-11-10 13:48
/usr/doc/postgresql-8.3.3/src/sgml/ref/pg_ctl-ref.sgml
-rw-r--r-- 1 root root 3536 2008-06-17 16:18 /usr/man/man1/pg_ctl.1.gz
-rwxr-xr-x 1 root root 32316 2008-06-18 09:50 /usr3/pg813/bin/pg_ctl
-rw-r--r-- 1 root root 8888 2008-06-18 09:50 /usr3/pg813/man/man1/pg_ctl.1

and /usr3/pg813 is not in anyone's path. It's a data storage filesystem and
holds the earlier version during the upgrade. And, now that 8.3.3 is
running, I'll remove that directory.

Postgres' path is: /bin:/usr/bin:/home/postgres/bin:/sbin:/usr/sbin.

Rich

--
Richard B. Shepard, Ph.D. | Integrity Credibility
Applied Ecosystem Services, Inc. | Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Martin 2008-07-27 23:04:56 Re: Substitute a variable in PL/PGSQL.
Previous Message Patrick TJ McPhee 2008-07-27 21:33:43 Re: PostgreSQL vs FreeBSD 7.0 as regular user