starting postgres/psql

From: Robert Morgan <robert_(at)ihug(dot)co(dot)nz>
To: postgres <pgsql-novice(at)postgresql(dot)org>
Subject: starting postgres/psql
Date: 2004-04-28 20:12:32
Message-ID: 1083183151.3502.11.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Back again,I still cant access the dbms I have created the user postgres
and started postgres.

[root(at)localhost bob]# su postgres
bash-2.05b$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l
logfile start
/usr/local/pgsql/bin/pg_ctl: line 341: logfile: Permission denied
postmaster successfully started

this brings me to the bash-2. 05b$ prompt where I tried

bash-2.05b$ psql -d template1
bash: psql: command not found
bash-2.05b$

so how do I get access?

Bob

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Ron St-Pierre 2004-04-28 20:58:42 Re: starting postgres/psql
Previous Message Martin Hampl 2004-04-28 18:50:17 Does not use index