pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Cc: pgsql-general@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [GENERAL] psql : Error: Cannot stat /pgdata/8.2/main
Date: Wed, 13 Jun 2007 09:45:52 -0400
Message-ID: <9233.1181742352@sss.pgh.pa.us> (raw)
In-Reply-To: <1181713452.3856.12.camel@panoramix>
References: <1181713452.3856.12.camel@panoramix>

Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> writes:
> 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.

psql itself has no business touching the database directory, and a quick
search of the source code shows no instance of "Cannot stat" anywhere in
released PG sources.

I think you are being burnt by some misbehavior of Debian's wrapper
patches, and a complaint directed there is the next step for you.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <9233.1181742352@sss.pgh.pa.us>
Permalink:  ../9233.1181742352@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9233.1181742352@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, J.Kraaijeveld@Askesis.nl, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] psql : Error: Cannot stat /pgdata/8.2/main
  In-Reply-To: <9233.1181742352@sss.pgh.pa.us>

* 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