From: | Sim Zacks <sim(at)compulab(dot)co(dot)il> |
---|---|
To: | PostgreSQL general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: could not open relation...No such file or directory |
Date: | 2010-12-22 16:37:56 |
Message-ID: | 4D122964.2040607@compulab.co.il |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 12/22/2010 06:28 PM, Adrian Klaver wrote:
> On 12/22/2010 07:59 AM, Sim Zacks wrote:
>> We are using postgresql 8.2.17 on Gentoo
>>
>> Our postgresql database stopped working with the error
>> ERROR: could not open relation 1663/26468499/26470404: No such file or
>> directory
>>
>> After one minute of these errors on every statement run we had what
>> looks like a memory failure:
>> Dec 22 16:37:44 localhost kernel: [279820.425911] postgres invoked
>> oom-killer: gfp_mask=0x280da, order=0, oom_adj=0
>> Dec 22 16:37:44 localhost kernel: [279820.425917] postgres cpuset=/
>> mems_allowed=0
>> Dec 22 16:37:44 localhost kernel: [279820.425922] Pid: 26209, comm:
>> postgres Not tainted 2.6.32-gentoo-r7 #12
>>
>> We cannot connect to the database using psql as it gives the could not
>> open relation error. We ran fsck and did not find any problems. I
>> searched through google and found suggestions such as reindex, but we
>> can't connect to the db. We also can't take a backup of the database as
>> pg_dump gives the same error.
>
> Does the not connect also apply to starting postgres in single user mode?
Same error with single user mode.
postgres --single -D /var/lib/postgresql/8.2/data clstock
FATAL: could not open relation 1663/26468499/1259: No such file or
directory
>
>>
>> This is our production database and crashed at the end of the day. If
>> possible, I would really not like to lose a full days work by restoring
>> yesterdays backup.
>>
>> Thanks
>> Sim
>>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2010-12-22 16:45:32 | Re: could not open relation...No such file or directory |
Previous Message | Sim Zacks | 2010-12-22 16:29:33 | Re: could not open relation...No such file or directory |