pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedold db on a new system
4+ messages / 3 participants
[nested] [flat]
* old db on a new system
@ 2002-09-27 23:13 Willy Wonka <lunchtime@onethirty.org>
2002-09-30 14:33 ` Re: old db on a new system Andrew Sullivan <andrew@libertyrms.info>
0 siblings, 1 reply; 4+ messages in thread
From: Willy Wonka @ 2002-09-27 23:13 UTC (permalink / raw)
To: pgsql-admin
ok, so i've got a pretty bad problem.
my system go borked last week, and i had to back everything up and reinstall.
i was running postgresql 7.0.* on openbsd2.8.
i switched to gentoo 1.2, and it emerged postgresql 7.2.2.
now i've got some old databases on a new system that can't use them.
my brother tried installing postgresql 7.0.3 on his openbsd 3.1
system [so i could do what the docs say, pg_dumpall], but can't get
it started because of some nasty shmget errors.
specifically:
IpcMemoryCreate: shmget failed (Permission denied) key=5432010,
size=144, permission=700
i really need to get these databases back online. is there anything i can do?
--
=-=--------------------------------------------=-=
-.c.-
My mistress when she walks treads on the ground.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: old db on a new system
2002-09-27 23:13 old db on a new system Willy Wonka <lunchtime@onethirty.org>
@ 2002-09-30 14:33 ` Andrew Sullivan <andrew@libertyrms.info>
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Sullivan @ 2002-09-30 14:33 UTC (permalink / raw)
To: pgsql-admin
On Fri, Sep 27, 2002 at 07:13:26PM -0400, Willy Wonka wrote:
> system [so i could do what the docs say, pg_dumpall], but can't get
> it started because of some nasty shmget errors.
> specifically:
> IpcMemoryCreate: shmget failed (Permission denied) key=5432010,
> size=144, permission=700
This is a kernel problem. You should read the administrator's guide
section about kernel resources.
A
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: old db on a new system
@ 2002-09-27 23:51 Willy Wonka <lunchtime@onethirty.org>
2002-09-28 03:24 ` Re: old db on a new system Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Willy Wonka @ 2002-09-27 23:51 UTC (permalink / raw)
To: pgsql-admin
after some playing, we finally got postgres 7.0.3 running, now on
pg_dump, i get an error:
> ./bin/pg_dumpall > dumped
ERROR: Cannot insert a duplicate key into unique index pg_type_typname_index
ERROR: Relation 'tmp_pg_shadow' does not exist
ERROR: Relation 'tmp_pg_shadow' does not exist
if i try just one database, i get this:
> pg_dump immedia > immediadb
Connection to database 'immedia' failed.
FATAL 1: Database 'immedia', OID 18784, has disappeared from pg_database
but the database is in pg_database.
if i sound a bit lost, it's because i am. up until this point, all i
had to do was install postgres, and somebody else used/maintained it.
>ok, so i've got a pretty bad problem.
>my system go borked last week, and i had to back everything up and reinstall.
>i was running postgresql 7.0.* on openbsd2.8.
>i switched to gentoo 1.2, and it emerged postgresql 7.2.2.
>
>now i've got some old databases on a new system that can't use them.
>my brother tried installing postgresql 7.0.3 on his openbsd 3.1
>system [so i could do what the docs say, pg_dumpall], but can't get
>it started because of some nasty shmget errors.
>specifically:
>IpcMemoryCreate: shmget failed (Permission denied) key=5432010,
>size=144, permission=700
>
>i really need to get these databases back online. is there anything i can do?
>--
>=-=--------------------------------------------=-=
> -.c.-
>
> My mistress when she walks treads on the ground.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: old db on a new system
2002-09-27 23:51 Re: old db on a new system Willy Wonka <lunchtime@onethirty.org>
@ 2002-09-28 03:24 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2002-09-28 03:24 UTC (permalink / raw)
To: Willy Wonka <lunchtime@onethirty.org>; +Cc: pgsql-admin
Willy Wonka <lunchtime@onethirty.org> writes:
> after some playing, we finally got postgres 7.0.3 running, now on
> pg_dump, i get an error:
>> pg_dump immedia > immediadb
> Connection to database 'immedia' failed.
> FATAL 1: Database 'immedia', OID 18784, has disappeared from pg_database
Try "vacuum pg_database".
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2002-09-30 14:33 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-09-27 23:13 old db on a new system Willy Wonka <lunchtime@onethirty.org>
2002-09-30 14:33 ` Andrew Sullivan <andrew@libertyrms.info>
2002-09-27 23:51 Re: old db on a new system Willy Wonka <lunchtime@onethirty.org>
2002-09-28 03:24 ` Tom Lane <tgl@sss.pgh.pa.us>
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