Re: [freenet-support] Error When starting

2005-02-01 Thread Matthew Toseland
That is DEFINITELY the problem I described. The wierd thing is, it has
actually loaded the native support!

On Mon, Jan 31, 2005 at 09:10:20PM -, Col.Steve Austin Ret. wrote:
 -BEGIN PGP SIGNED MESSAGE-
 
 have never seen an error like this one before.
 
 Freenet started and ran fine last night. this morning attempted restart
 after rebooting(NO setting or file changes at all) and came up with this
 for (so far) three consecutive startup attempts.  here is log for the last
 two tries:
 
 
 Jan 31, 2005 12:44:21 PM (freenet.node.Main, main): Starting Freenet (Fred)
 0.5 node, build #5100 on JVM Sun Microsystems Inc.:Java HotSpot(TM) Client
 VM:1.4.2_05-b04
 INFO: Native CPUID library
 'freenet/support/CPUInformation/jcpuid-x86-windows.dll' loaded from
 resource
 INFO: Optimized native BigInteger library
 'net/i2p/util/jbigi-windows-athlon.dll' loaded from resource
 Jan 31, 2005 12:44:25 PM (freenet.node.Main, main): loading node keys: node
 Jan 31, 2005 12:44:25 PM (freenet.node.Main, main): Read node file
 Jan 31, 2005 12:44:26 PM (freenet.node.Main, main): starting filesystem
 Jan 31, 2005 12:44:30 PM (freenet.node.Main, main): loading data store
 Jan 31, 2005 12:44:30 PM (freenet.node.Main, main): loading routing table
 Jan 31, 2005 12:44:31 PM (freenet.node.rt.DataObjectRoutingStore, main):
 Removing orphaned property 0x0 :
 f03d1e33c135009f8b3f0f23f30d5afa3536062d2e6e67723164617461
 Jan 31, 2005 12:44:31 PM (freenet.node.Main, main): From input: 640.0
 Jan 31, 2005 12:44:31 PM (freenet.node.Main, main): Setting default
 initTransferRate to 640.0
 Jan 31, 2005 12:44:34 PM (freenet.node.Main, main): Unexpected Exception:
 java.lang.NumberFormatException
 java.lang.NumberFormatException: For input string: 5?28eb0
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.math.BigInteger.init(Unknown Source)
   at net.i2p.util.NativeBigInteger.init(NativeBigInteger.java:207)
   at freenet.crypt.DSAPublicKey.init(DSAPublicKey.java:32)
   at freenet.DSAIdentity.init(DSAIdentity.java:62)
   at freenet.DSAIdentity.init(DSAIdentity.java:73)
   at
 freenet.node.rt.DataObjectRoutingMemory.init(DataObjectRoutingMemory.java
 :73)
   at
 freenet.node.rt.DataObjectRoutingStore.getNode(DataObjectRoutingStore.java:
 229)
   at
 freenet.node.rt.DataObjectRoutingStore.access$000(DataObjectRoutingStore.ja
 va:19)
   at
 freenet.node.rt.DataObjectRoutingStore$RoutingMemoryEnumeration.step(DataOb
 jectRoutingStore.java:202)
   at
 freenet.node.rt.DataObjectRoutingStore$RoutingMemoryEnumeration.nextElement
 (DataObjectRoutingStore.java:219)
   at 
 freenet.node.rt.NGRoutingTable.loadEstimators(NGRoutingTable.java:324)
   at freenet.node.rt.NGRoutingTable.init(NGRoutingTable.java:315)
   at freenet.node.Main.main(Main.java:783)
 
 java.lang.NumberFormatException: For input string: 5?28eb0
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.math.BigInteger.init(Unknown Source)
   at net.i2p.util.NativeBigInteger.init(NativeBigInteger.java:207)
   at freenet.crypt.DSAPublicKey.init(DSAPublicKey.java:32)
   at freenet.DSAIdentity.init(DSAIdentity.java:62)
   at freenet.DSAIdentity.init(DSAIdentity.java:73)
   at
 freenet.node.rt.DataObjectRoutingMemory.init(DataObjectRoutingMemory.java
 :73)
   at
 freenet.node.rt.DataObjectRoutingStore.getNode(DataObjectRoutingStore.java:
 229)
   at
 freenet.node.rt.DataObjectRoutingStore.access$000(DataObjectRoutingStore.ja
 va:19)
   at
 freenet.node.rt.DataObjectRoutingStore$RoutingMemoryEnumeration.step(DataOb
 jectRoutingStore.java:202)
   at
 freenet.node.rt.DataObjectRoutingStore$RoutingMemoryEnumeration.nextElement
 (DataObjectRoutingStore.java:219)
   at 
 freenet.node.rt.NGRoutingTable.loadEstimators(NGRoutingTable.java:324)
   at freenet.node.rt.NGRoutingTable.init(NGRoutingTable.java:315)
   at freenet.node.Main.main(Main.java:783)
 
 and:
 
 Jan 31, 2005 1:29:13 PM (freenet.node.Main, main): Starting Freenet (Fred)
 0.5 node, build #5100 on JVM Sun Microsystems Inc.:Java HotSpot(TM) Client
 VM:1.4.2_05-b04
 INFO: Native CPUID library
 'freenet/support/CPUInformation/jcpuid-x86-windows.dll' loaded from
 resource
 INFO: Optimized native BigInteger library
 'net/i2p/util/jbigi-windows-athlon.dll' loaded from resource
 Jan 31, 2005 1:29:14 PM (freenet.node.Main, main): loading node keys: node
 Jan 31, 2005 1:29:14 PM (freenet.node.Main, main): Read node file
 Jan 31, 2005 1:29:15 PM (freenet.node.Main, main): starting filesystem
 Jan 31, 2005 1:29:17 PM (freenet.node.Main, main): loading data store
 Jan 31, 2005 1:29:17 PM (freenet.node.Main, main): loading routing table
 Jan 31, 2005 1:29:17 PM (freenet.node.rt.DataObjectRoutingStore, main):
 Removing orphaned property 0x0 :
 

Re: [freenet-support] Error when starting up

2002-06-30 Thread Gerrit P. Haase

Hallo Jarle,

Am Sonntag, 30. Juni 2002 um 04:06 schriebst du:

 Hi all,

 I'm having some problems getting started with freenet. I have set up a
 server with Debian GNU/Linux Woody, and downloaded the latest snapshot of
 freenet. I've the run ./update.sh.

 The first time it runs, it will create the storage file and it _seems_ to be
 doing well. That is. I'm unable to fetch anything. When  I start it again,
 it bails out with the error below.

 I've tried the packaged version for Debial Linux, but it seems to have
 similar problems.  It will only run the first time it's started.

 === START SCREENDUMP ===
 jgaa@freedom:~/freenet/freenet-run$ ./start-freenet.sh
 usage: kaffe [-options] class

Java
Freenet requires that Java is installed on your computer. While we are working
to ensure that Freenet can work with free JVMs such as Kaffe, currently we
suggest that users download Sun's 1.4 JVM from here for reliability, speed,
and stability reasons.


Gerrit
-- 
=^..^=


___
support mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support



RE: [freenet-support] Error when starting up

2002-06-30 Thread u Uler


Jarle,

Hello. I'm more familiar with the windows distribution of Freenet, but I may
be able to help you solve your problem. First of all, it is normal for a
node to not be able to download anything at first. It takes some time for a
node to be integrated into the network. Also, you have to make sure that
your node has a sufficient amount of node references in it's seed file. You
can check this by looking in your seednodes.ref file located in the main
Freenet directory. If you don't understand what you're looking at, and easy
way to count the references your node knows is the count the number of times
the word signature comes up. When you first install your node, it most
likely only knows one other node. You must download the default seeds as
well as any others you can get your hands on.

After you have a sufficient amount of references (about 30 is good), just
run your node for a while. Keep it on over night. Keep trying it and it
should work eventually.

Okay, now I'll get into the part where your node just doesn't work. This
error that you reported bothers me:

 30-Jun-02 3:47:03 AM (freenet.node.rt.DataObjectRoutingStore, main): bad
 reference while resolving: 0x0 : d1d585f4b776ecc9667c1701a654ca01bf146134
 freenet.node.BadReferenceException: NodeReference self signature check
 failed.

Truthfully, I'm not sure what it means. But it has something to do with your
node's own nodereference, which is located in the myOwn.ref file in the main
Freenet directory. If you keep getting this kind of error AND your node
doesn't start working after you've tried the above, you may want to consider
DELETING the myOwn.ref file WHILE YOUR NODE IS TURNED OFF. When you restart
your node, this file should be recreated correctly.


Obviously, there is a chance that none of my suggestions will work. It that
case, you may want to consider completely removing your installation and
starting again from scratch. Also, if you want you can send me the following
files so that I can check your configuration and see if it is nominal:

freenet.conf
myOwn.ref
seednodes.ref

Also, you can tell me what the size of the following files are, BUT DON'T
SEND ME THE ACTUAL FILES:

node_16966
store_16966

The numbers will of course vary with what port you are running on.

Feel free to send me any additional snippets of your log file that concern
you.


Good luck, Wesley.






 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Jarle Aase
 Sent: Saturday, 29 June, 2002 21:07
 To: [EMAIL PROTECTED]
 Subject: [freenet-support] Error when starting up


 Hi all,

 I'm having some problems getting started with freenet. I have set up a
 server with Debian GNU/Linux Woody, and downloaded the latest
 snapshot of
 freenet. I've the run ./update.sh.

 The first time it runs, it will create the storage file and it
 _seems_ to be
 doing well. That is. I'm unable to fetch anything. When  I start it again,
 it bails out with the error below.

 I've tried the packaged version for Debial Linux, but it seems to have
 similar problems.  It will only run the first time it's started.

 === START SCREENDUMP ===
 jgaa@freedom:~/freenet/freenet-run$ ./start-freenet.sh
 usage: kaffe [-options] class
 Options are:
 -help   Print this message
 -versionPrint version number
 -ss size  Maximum native stack size
 -mx size  Maximum heap size
 -ms size  Initial heap size
 -as size  Heap increment
 -classpath path   Set classpath
 -verify *   Verify all bytecode
 -verifyremote * Verify bytecode loaded from network
 -noverify   Do not verify any bytecode
 -Dproperty=valueSet a property
 -verbosegc  Print message during garbage collection
 -noclassgc  Disable class garbage collection
 -v, -verboseBe verbose
 -verbosejit Print message during JIT code generation
 -verbosemem Print detailed memory allocation
 statistics
 -nodeadlock Disable deadlock detection
 -prof   Enable profiling of Java methods
 -debug *Trace method calls
 -noasyncgc *Do not garbage collect asynchronously
 -cs, -checksource * Check source against class files
 -oss size *   Maximum java stack size
 -jarExecutable is a JAR
   * Option currently ignored.
 jgaa@freedom:~/freenet/freenet-run$ freenet.fs.dir.DirectoryException:
 cannot delete an active ticket
 at java.lang.Throwable.init(Throwable.java:38)
 at java.lang.Exception.init(Exception.java:24)
 at java.lang.RuntimeException.init(RuntimeException.java:21)
 at
 freenet.fs.dir.DirectoryException.init

Re: [freenet-support] Error when starting up

2002-06-30 Thread Greg Wooledge

u Uler ([EMAIL PROTECTED]) wrote:

  30-Jun-02 3:47:03 AM (freenet.node.rt.DataObjectRoutingStore, main): bad
  reference while resolving: 0x0 : d1d585f4b776ecc9667c1701a654ca01bf146134
  freenet.node.BadReferenceException: NodeReference self signature check
  failed.

I think the error message quoted above is actually being produced while
Freenet is processing the seednodes.ref file, which contains a list of
node refs (public keys) for *other* nodes.  One or more of the node refs
in that file is probably corrupted, which causes Freenet to ignore it,
and to produce that error message.  If I'm right, then we can safely
ignore the message.

 Truthfully, I'm not sure what it means. But it has something to do with your
 node's own nodereference, which is located in the myOwn.ref file in the main
 Freenet directory.

The file myOwn.ref is created by the Windows installer as a convenience
for people who want to share their node reference with others.  That file
is not read by Freenet at all.

The node's private key is in the node_X file.  That is the file
that Freenet reads upon startup.  The myOwn.ref file is basically
the public key which matches it.

 If you keep getting this kind of error AND your node
 doesn't start working after you've tried the above, you may want to consider
 DELETING the myOwn.ref file WHILE YOUR NODE IS TURNED OFF. When you restart
 your node, this file should be recreated correctly.

That will have no useful effect.  Also, I'm pretty sure that Freenet
will *not* re-create that file automatically simply by being executed.
You'd have to use the --export switch:

Command-line switches
-
  -h|--helpprints this help message
  --system prints JVM properties
  -v|--version prints out version info
  --manual prints a manual in HTML
  -x|--export file|- exports a signed NodeReference
  -s|--seed file|-   seeds routing table with refs
  -c|--config file   generates or updates config file
  -p|--paramFile filepath to a config file in a non-default location

If you just install Freenet's jar files on a Unix box and set it up
according to the readme files, you don't get a myOwn.ref file.  You
have to run CLASSPATH=mumble java freenet.node.Main --export myOwn.ref
to get one.  The Windows installer does that for you.

-- 
Greg Wooledge  |   Truth belongs to everybody.
[EMAIL PROTECTED]  |- The Red Hot Chili Peppers
http://wooledge.org/~greg/ |



msg00809/pgp0.pgp
Description: PGP signature