Opened 8 years ago

Closed 8 years ago

#398 closed defect (fixed)

i20 0.8.3 fails to start properly

Reported by: halebopp Owned by:
Priority: major Milestone: 0.8.7
Component: unspecified Version: 0.8.3
Keywords: Cc:
Parent Tickets:

Description (last modified by zzz)

java -server -Xmx128m -cp /media/mediahub/i2p:/media/mediahub/i2p/lib/* -Djava.library.path=/media/mediahub/i2p:/ net.i2p.router.RouterLaunch?
ERROR: The resource libjcpuid-x86-linux.so was not a valid library for this platform
java.lang.UnsatisfiedLinkError?: /tmp/i2p-ocxVMv0f.tmp/libjcpuid.so: /tmp/i2p-ocxVMv0f.tmp/libjcpuid.so: cannot open shared object file: No such file or directory (Possible cause: can't load IA 32-bit .so on a ARM-bit platform)

at java.lang.ClassLoader?$NativeLibrary?.load(Native Method)
at java.lang.ClassLoader?.loadLibrary0(ClassLoader?.java:1750)
at java.lang.ClassLoader?.loadLibrary(ClassLoader?.java:1646)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at freenet.support.CPUInformation.CPUID.loadFromResource(CPUID.java:611)
at freenet.support.CPUInformation.CPUID.loadNative(CPUID.java:527)
at freenet.support.CPUInformation.CPUID.<clinit>(CPUID.java:56)
at net.i2p.util.NativeBigInteger?.resolveCPUType(NativeBigInteger?.java:147)
at net.i2p.util.NativeBigInteger?.<clinit>(NativeBigInteger?.java:134)
at net.i2p.crypto.DHSessionKeyBuilder.generateMyValue(DHSessionKeyBuilder.java:214)
at net.i2p.crypto.DHSessionKeyBuilder.getMyPublicValue(DHSessionKeyBuilder.java:240)
at net.i2p.crypto.DHSessionKeyBuilder$DHSessionKeyBuilderPrecalcRunner.precalc(DHSessionKeyBuilder.java:517)
at net.i2p.crypto.DHSessionKeyBuilder$DHSessionKeyBuilderPrecalcRunner.run(DHSessionKeyBuilder.java:490)
at java.lang.Thread.run(Thread.java:636)
at net.i2p.util.I2PThread.run(I2PThread.java:77)

WARNING: Native CPUID library jcpuid not loaded - will not be able to read CPU information using CPUID
OK, 0.8.3 on an debian armel box (sheevaplug).

After finding that i2psvc wouldn't work and discovering runplain.sh I started it this way. However, the router console wouldn't come up and it consumed 100% CPU. So, I compiled jbigi.so for armel and threw that in.

My start looks now like this:

INFO: Locally optimized native BigInteger library loaded from the library path
Feb 3, 2011 11:13:59 AM org.mortbay.http.HttpServer doStart
INFO: Version Jetty/5.1.15
Feb 3, 2011 11:14:01 AM org.mortbay.util.FileResource <clinit>
INFO: Checking Resource aliases
Adding /media/mediahub/i2p/lib/jstl.jar to classpath for susidns
Adding /media/mediahub/i2p/lib/standard.jar to classpath for susidns
[Fatal Error] :12:1: Content is not allowed in trailing section.
[Fatal Error] :6:1: Content is not allowed in trailing section.
[Fatal Error] :6:1: Content is not allowed in trailing section.

looking at the listening ports, I see:

tcp6 sheevaplug:7652
tcp6 localhost:7654
tcp6 localhost:4444       -               
udp6 [::]:1900       
udp6 [::]:16578       
udp6 [::]:7653

(Initially, it opens a tcp 16578 but as I am firewalled, I guess it gives up and closes that one down after a while?)

Note the lack of a router console at 7657.

Subtickets

Change History (2)

comment:1 Changed 8 years ago by zzz

  • Description modified (diff)

debian "armel"? Is this an arm architecture? Please add information from the top of /logs.jsp .

The 'trailing section' error is just a harmless UPnP message.

I don't see any reason why the console didn't start. Jetty started. I don't see anything in the part of the wrapper.log you pasted. May be an ipv4/ipv6 thing.

comment:2 Changed 8 years ago by zzz

  • Milestone changed from 0.8.4 to 0.8.7
  • Resolution set to fixed
  • Status changed from new to closed

No response, closing ticket.
Also, 0.8.7 release contains wrapper and jbigi for ARM, so at least that part is fixed.

Note: See TracTickets for help on using tickets.