Re: Moving pg_xlog problem

From: "Joost Kraaijeveld" <J(dot)Kraaijeveld(at)Askesis(dot)nl>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Pgsql-Admin (E-mail)" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Moving pg_xlog problem
Date: 2005-11-08 15:30:02
Message-ID: A3D1526C98B7C1409A687E0943EAC410605FA6@obelix.askesis.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Tom,

> Joost Kraaijeveld <J(dot)Kraaijeveld(at)Askesis(dot)nl> writes:
> > PANIC: could not open file
> > "/var/lib/postgresql/8.0/main/pg_xlog/00000001.history": Permission
> > denied
>
> Read the error message! You have a permissions problem ---
> most likely,
> some directory in the path to the new xlog directory isn't readable by
> postgres.
No, that is not the case as far as I can see: I could do a "touch myfile" in all directories in the path to the pg_xlog directory, as root and as postgres. I also could do "ls -al" in every directory in the path.

I checked all this with another Debian box which has a slightly other PostgreSQL version and there it works as advertised. So PostgreSQL 8.0.3-7 works with symlinked pg_xlog directory and PostgreSQL 8.0.3-15 does not.

Can I downgrade to 8.0.3-7 without dump/restore?

TIA

Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J(dot)Kraaijeveld(at)Askesis(dot)nl
web: www.askesis.nl

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Hoover 2005-11-08 15:59:47 Problems with 8.1 initdb
Previous Message Tom Lane 2005-11-08 14:25:25 Re: Moving pg_xlog problem