Re: cannot access directory /pg_tblspc/*

From: Charlie <perezchar(at)gmail(dot)com>
To:
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: cannot access directory /pg_tblspc/*
Date: 2006-06-19 15:03:30
Message-ID: op.tbeer4qcak9zf1@lepa
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

the error says (translated from spanish):
"it wasn't possible to access directory <<pg_tblspc/16388/16389>>:
permission denied."

The directory is mounted when the service is called, as I have tested
inserting some 'ls' statements before postmaster is called.

I think this is more a problem of user permissions. any idea?

> Charlie <perezchar(at)gmail(dot)com> writes:
>> The problem is when I want to access my database 'test' once the system
>> is
>> up, it says it cannot access directory /pg_tblspc/<xxx> where <xxx> is a
>> number.
>
> I suspect it says more than that. Please provide the complete, exact
> error message.
>
>> This error can be solved by MANUALLY restarting the service 'postgresql'
>> ('service postgresql restart').
>
> That seems pretty strange. Is it possible your boot sequence is trying
> to launch the database before the /bdd volume is mounted? We've seen
> some pretty strange bug reports that turned out to be due to the
> postmaster connecting to a working directory that was then hidden by a
> subsequent mount operation ...
>
> regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Charlie 2006-06-19 15:14:34 Re: cannot access directory /pg_tblspc/*
Previous Message Damian C 2006-06-19 02:42:34 Re: Postgres advice for Java/Hibernate project