Skip site navigation (1) Skip section navigation (2)

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:14:34
Message-ID: op.tbefaknqak9zf1@lepa (view raw or flat)
Thread:
Lists: pgsql-novice
Thanks a lot, I disabled security for postgresql service and it's running  
perfectly now.
Will you please tell me what was selinux doing that prevented it from  
working properly? Thanx a lot again!

> On Fri, Jun 16, 2006 at 21:10:44 +0200,
>   Charlie <perezchar(at)gmail(dot)com> wrote:
>> Hi everybody,
>> I've got a problem starting a database under fedora core 5.
>> I've created a database 'test' in a custom tablespace /bdd/data (/bdd is
>> root of a partition -ext3-). i.e.:
>> #df
>> /dev/hdb1             14877060   4913288   9195868  35% /
>> /dev/hdb2             31738420    212100  29888092   1% /bdd
>> /dev/hdb5             30407804    176288  28661968   1% /bdd_backup
>>
>> 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.
>> This file links to /bdd/data (drwx------  3 postgres postgres  4096 jun  
>> 16
>> 19:17 data )
>
> Are you running selinux in enforcement mode? If so it might help to know
> what policy you are using.


In response to

Responses

pgsql-novice by date

Next:From: Christo RombergDate: 2006-06-19 18:09:17
Subject: SQL-commands does not work
Previous:From: CharlieDate: 2006-06-19 15:03:30
Subject: Re: cannot access directory /pg_tblspc/*

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group