From: | Thomas Pundt <mlists(at)rp-online(dot)de> |
---|---|
To: | iuri(dot)sampaio(at)computer(dot)org, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: psql command |
Date: | 2006-09-14 14:24:28 |
Message-ID: | 200609141624.28834.mlists@rp-online.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi,
On Thursday 07 September 2006 08:00, Iuri Sampaio wrote:
| oacsbr(at)desktop:~$ env | grep PATH
| PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
|
| Funny thing, speaking about full paths... there is no psql command in
| "/usr/bin/"
that's because it's presumably installed under /usr/local/pgsql/bin --
look at the PATH variable for user postgres or check with "which psql"
as user postgres.
| oacsbr(at)desktop:~$ ls -l /usr/bin/psql
|
| ls: /usr/bin/psql: No such file or directory
[...]
| The postgres commands work fine to postgres user but it doesn't work to a
| random user account
| and set on .bashrc
|
| LD_LIBRARY_PATH=:/usr/local/pgsql/lib:/usr/local/pgsql/lib
|
| PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/pgsql/
|b in:/usr/local/pgsql/bin
|
you want to repeat this step for other users required to run the "psql"
command.
Ciao,
Thomas
--
Thomas Pundt <thomas(dot)pundt(at)rp-online(dot)de> ---- http://rp-online.de/ ----
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Fuhr | 2006-09-14 15:01:57 | Re: Beginning SSL Questions |
Previous Message | Jeanna Geier | 2006-09-14 14:17:00 | Beginning SSL Questions |