Re: Checkpoint request failed, permission denied

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Cory Isaacson <cory(dot)isaacson(at)compuflex(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Checkpoint request failed, permission denied
Date: 2009-09-14 14:29:54
Message-ID: 16110.1252938594@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Cory Isaacson <cory(dot)isaacson(at)compuflex(dot)com> writes:
> When I try and manually perform a checkpoint with version 8.3 on CentOS 5 I
> get this error:

> ERROR: could not link file "pg_xlog/000000010000000000000000" to
> "pg_xlog/000000010000000000000002" (initialization of log file 0, segment
> 2): Permission denied

> Any ideas what is causing this? The pg_xlog dir is owned by the postgres
> user, as are the log files. Also I have temporarily disabled SELinux to make
> sure that is not causing it.

It's very hard to see how that could be anything except an
ownership/permissions problem on the pg_xlog directory. Are you sure
the directory is mode 700 as well as being owned by postgres?
(For that matter, are you sure the postmaster is running as postgres?)
Are you *really* sure selinux is disabled?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Cory Isaacson 2009-09-14 14:36:24 Re: Checkpoint request failed, permission denied
Previous Message Tom Lane 2009-09-14 14:13:45 Re: postgresql.key secure storage