On Fri, Jan 18, 2002 at 08:24:10PM -0500, Gianni Johansson wrote:
> I just got this error at startup time.
> 
> java freenet.node.Main
> freenet.fs.acct.AccountingException: duplicate entry
>         at java.lang.Throwable.<init>(Throwable.java:96)
>         at java.lang.Exception.<init>(Exception.java:44)
>         at java.lang.RuntimeException.<init>(RuntimeException.java:49)
>         at 
> freenet.fs.acct.AccountingException.<init>(AccountingException.java:9)
>         at freenet.fs.acct.sys.SerialTree.<init>(SerialTree.java:124)
>         at 
> freenet.fs.acct.sys.AccountingTree$BlockNode.<init>(AccountingTree.java:259)
>         at freenet.fs.acct.sys.AccountingTree.found(AccountingTree.java:40)
>         at 
> freenet.fs.acct.SharedAccountingInitializer.found(SharedAccountingInitializer.java:75)
>         at 
> freenet.fs.acct.AccountingInitializer.initialize(AccountingInitializer.java:220)
>         at freenet.fs.dir.FSDirectory.<init>(FSDirectory.java:159)
>         at freenet.node.Main.main(Main.java:334)  

Do you still have a copy of that node installation?
If so, I checked in a change to freenet.fs.acct.sys.SerialTree that puts
information about the guilty accounting block in the exception message.
That should report the block number, transaction number, and struct ID
(look at freenet.fs.dir.FSDirectory for the struct ID mappings).

The program freenet.node.FSTool can be used to further investigate the
data structures reported in the exception message.  I'm working on
adding usage docs to it now.

-tc


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to