From: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
To: pgsql-general@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: psql : Error: Cannot stat /pgdata/8.2/main
Date: Wed, 13 Jun 2007 07:44:12 +0200
Message-ID: <1181713452.3856.12.camel@panoramix> (raw)
Hi,
I have moved my database files from their default location to their own
partition on with their own controller and disks. PostgreSQL works OK
and I can connect with Pgadmin (Debian Lenny AMD64, PostgreSQL 8.2.4).
When I want to connect with psql however (with a non-root account) I get
the following:
panoramix:~$ psql -d my_database
Error: Cannot stat /pgdata/8.2/main
/pgdata/8.2/main is the location where the database files are actually
located.
Why do I get this error and what should I do to be able to connect to
the database?
TIA
--
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: J.Kraaijeveld@Askesis.nl, pgsql-general@postgresql.org
Subject: Re: psql : Error: Cannot stat /pgdata/8.2/main
In-Reply-To: <1181713452.3856.12.camel@panoramix>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox