From: Tom Lane <tgl@sss.pgh.pa.us>
To: lfedden@contextworld.com
Cc: pgsql-admin@postgresql.org
Subject: Re: OID and filesystem issues
Date: Tue, 15 Apr 2008 11:51:20 -0400
Message-ID: <15276.1208274680@sss.pgh.pa.us> (raw)
In-Reply-To: <4F91850CA8.07DC00FATFSFQGQL@contextworld.com>
References: <4F91850CA8.07DC00FATFSFQGQL@contextworld.com>
lfedden@contextworld.com writes:
> Even when logged in as root, a 'ls -l' command returns:
> mm2:/var/lib/pgsql82/data/base/16673 # ls -lash | more
> /bin/ls: 19357877: Permission denied
> /bin/ls: 19569529: Permission denied
You get that as root? I think you've got filesystem problems that are
beyond the ken of us mere database weenies. Better ask some kernel
hackers.
(If you're on a SELinux-enabled system it might have to do with SELinux
permissions, although I thought that those typically weren't enforced
against interactive shells. It might be useful to look in the kernel
log and see if anything comes out when you do this.)
> So can we assume it is safe to remove these none accessible files and also the couple of orphaned OID files from pg_class we can still access?
If it won't let you chown it, it likely won't let you rm it, either...
regards, tom lane
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, lfedden@contextworld.com
Subject: Re: OID and filesystem issues
In-Reply-To: <15276.1208274680@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