9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] replica weirdness
@ 2008-03-12 22:51 john
  2008-03-12 22:55 ` erik quanstrom
  2008-03-13  0:40 ` Russ Cox
  0 siblings, 2 replies; 3+ messages in thread
From: john @ 2008-03-12 22:51 UTC (permalink / raw)
  To: 9fans

Perhaps I've screwed something up along the way, but when I
run 'replica/pull -nv /dist/replica/network' I get the
following error:

replica/compactdb: opendb /n/boot/dist/replica/client/plan9.db: '/n/boot/dist/replica/client/plan9.db' does not exist
replica/compactdb /n/boot/dist/replica/client/plan9.db: compactdb 192196: opendb /n/boot/dist/replica/client/plan9.db: '/n/boot/dist/replica/client/plan9.db' does not exist

What's going on?

John



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] replica weirdness
  2008-03-12 22:51 [9fans] replica weirdness john
@ 2008-03-12 22:55 ` erik quanstrom
  2008-03-13  0:40 ` Russ Cox
  1 sibling, 0 replies; 3+ messages in thread
From: erik quanstrom @ 2008-03-12 22:55 UTC (permalink / raw)
  To: 9fans

On Wed Mar 12 18:53:01 EDT 2008, john@csplan9.rit.edu wrote:
> Perhaps I've screwed something up along the way, but when I
> run 'replica/pull -nv /dist/replica/network' I get the
> following error:
>
> replica/compactdb: opendb /n/boot/dist/replica/client/plan9.db: '/n/boot/dist/replica/client/plan9.db' does not exist
> replica/compactdb /n/boot/dist/replica/client/plan9.db: compactdb 192196: opendb /n/boot/dist/replica/client/plan9.db: '/n/boot/dist/replica/client/plan9.db' does not exist
>
> What's going on?
>
> John

i can't speak to the particulars of how you got to the state
your in, but compactdb requires that the database actually
exist.
	; touch /n/boot/dist/replica/client/plan9.db
should allow you continue.

- erik


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] replica weirdness
  2008-03-12 22:51 [9fans] replica weirdness john
  2008-03-12 22:55 ` erik quanstrom
@ 2008-03-13  0:40 ` Russ Cox
  1 sibling, 0 replies; 3+ messages in thread
From: Russ Cox @ 2008-03-13  0:40 UTC (permalink / raw)
  To: 9fans

> replica/compactdb: opendb /n/boot/dist/replica/client/plan9.db: '/n/boot/dist/replica/client/plan9.db' does not exist
> replica/compactdb /n/boot/dist/replica/client/plan9.db: compactdb 192196: opendb /n/boot/dist/replica/client/plan9.db: '/n/boot/dist/replica/client/plan9.db' does not exist

It is possible that you interrupted replica
at a bad time, and there is no plan9.db
But there should be an nplan9.db and
a _plan9.db.  If nplan9.db looks big enough
(about as big as _plan9.db) then you can
copy it to plan9.db.  Otherwise copy _plan9.db.

Russ



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-13  0:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-12 22:51 [9fans] replica weirdness john
2008-03-12 22:55 ` erik quanstrom
2008-03-13  0:40 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).