pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pgsql-Admin (E-mail) <pgsql-admin@postgresql.org>
Subject: Re: Moving pg_xlog problem
Date: Tue, 08 Nov 2005 18:57:28 +0100
Message-ID: <1131472648.6025.15.camel@Panoramix> (raw)
In-Reply-To: <Pine.LNX.4.64.0511080910590.13663@discord.dyndns.org>
References: <A3D1526C98B7C1409A687E0943EAC410605FA6@obelix.askesis.nl>
	<Pine.LNX.4.64.0511080910590.13663@discord.dyndns.org>

Hi Jeff,

On Tue, 2005-11-08 at 09:11 -0800, Jeff Frost wrote:
> On Tue, 8 Nov 2005, Joost Kraaijeveld wrote:
> 
> >> Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> writes:
> >>> PANIC:  could not open file
> >>> "/var/lib/postgresql/8.0/main/pg_xlog/00000001.history": Permission
> >>> denied
> 
> So what happens if you do:
> 
> ls -l /var/lib/postgresql/8.0/main/pg_xlog/00000001.history
> 
> Can you post the output?
There is not a file with that name. Never has been. Not even with a
running version of PostgreSQL. The full listing of the directories
(edited a bit for readability, removed size, date and part of the
symlink for the certicate stuff):

Panoramix:/var/lib/postgresql/8.0/main# ls -al
total 36
drwx------   7 postgres postgres .
drwxr-xr-x   3 postgres postgres ..
drwx------  10 postgres postgres base
drwx------   2 postgres postgres global
drwx------   2 postgres postgres pg_clog
drwx------   2 postgres postgres pg_subtrans
drwx------   2 postgres postgres pg_tblspc
-rw-------   1 postgres postgres PG_VERSION
lrwxrwxrwx   1 root     root     pg_xlog -> /opt/pg_xlog
-rw-------   1 postgres postgres postmaster.opts
lrwxrwxrwx   1 root     root     root.crt -> /etc/postgre...
lrwxrwxrwx   1 root     root     server.crt -> /etc/postg...
lrwxrwxrwx   1 root     root     server.key -> /etc/postg...

Panoramix:/var/lib/postgresql/8.0/main# ls /opt/ -al
total 56
drwxrwxrw-  14 root     staff    .
drwxr-xr-x  22 root     root     ..
drwx------   3 postgres postgres pg_xlog

Panoramix:/var/lib/postgresql/8.0/main# ls /opt/pg_xlog/ -al
total 295284
drwx------   3 postgres postgres .
drwxrwxrw-  14 root     staff    ..
-rw-------   1 postgres postgres 0000000100000033000000A4
-rw-------   1 postgres postgres 0000000100000033000000A5
-rw-------   1 postgres postgres 0000000100000033000000A6
-rw-------   1 postgres postgres 0000000100000033000000A7
-rw-------   1 postgres postgres 0000000100000033000000A8
-rw-------   1 postgres postgres 0000000100000033000000A9
-rw-------   1 postgres postgres 0000000100000033000000AA
-rw-------   1 postgres postgres 0000000100000033000000AB
-rw-------   1 postgres postgres 0000000100000033000000AC
-rw-------   1 postgres postgres 0000000100000033000000AD
-rw-------   1 postgres postgres 0000000100000033000000AE
-rw-------   1 postgres postgres 0000000100000033000000AF
-rw-------   1 postgres postgres 0000000100000033000000B0
-rw-------   1 postgres postgres 0000000100000033000000B1
-rw-------   1 postgres postgres 0000000100000033000000B2
-rw-------   1 postgres postgres 0000000100000033000000B3
-rw-------   1 postgres postgres 0000000100000033000000B4
-rw-------   1 postgres postgres 0000000100000033000000B5
drw-------   2 postgres postgres archive_status



-- 
Groeten,

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





view thread (16+ messages)  latest in thread

Message-ID: <1131472648.6025.15.camel@Panoramix>
Permalink:  ../1131472648.6025.15.camel@Panoramix/
Also on:    postgresql.org/message-id/1131472648.6025.15.camel@Panoramix

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: J.Kraaijeveld@Askesis.nl, jeff@frostconsultingllc.com, tgl@sss.pgh.pa.us
  Subject: Re: Moving pg_xlog problem
  In-Reply-To: <1131472648.6025.15.camel@Panoramix>
  References: <A3D1526C98B7C1409A687E0943EAC410605FA6@obelix.askesis.nl> <Pine.LNX.4.64.0511080910590.13663@discord.dyndns.org> <1131472648.6025.15.camel@Panoramix>

* 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