Re: Moving pg_xlog problem - Mailing list pgsql-admin

From Joost Kraaijeveld
Subject Re: Moving pg_xlog problem
Date
Msg-id 1131472648.6025.15.camel@Panoramix
Whole thread Raw
In response to Re: Moving pg_xlog problem  (Jeff Frost <jeff@frostconsultingllc.com>)
Responses Re: Moving pg_xlog problem
Re: Moving pg_xlog problem
Re: Moving pg_xlog problem
Re: Moving pg_xlog problem
List pgsql-admin
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



pgsql-admin by date:

Previous
From: Jeff Frost
Date:
Subject: Re: upgrade from 8.0.3 to 8.1.0
Next
From: Tom Lane
Date:
Subject: Re: Moving pg_xlog problem