ALSO PLEASE NOTE - As my system was reinstalled, it now has the sever
version of ubuntu on it - PPC. There will therefore be packages missing that
is normally in a default install of Ubuntu desktop version.

On Tue, Aug 5, 2008 at 9:09 PM, Peter Allebone <[EMAIL PROTECTED]>
wrote:

> Hi there*
>
> *Its been a long while since i logged this bug, and so I have forgotten
> most of it now, and my system has been reinstalled since then, however I
> will try to reinstall freenet and show the output below.
>
> I will try be as discriptive as possible, please let me know if anything is
> unclear.
> Also, please provide instruction for installing "openjdk-6 6b11-2ubuntu2,
> as found in hardy-proposed" as I would need help doing this.
> Freenet version is 0.7.
>
> Here are the instructions:
> *
>
> The following command is used to install open JDK
>
> sudo aptitude install openjdk-6-jre
>
> Output:*
> [EMAIL PROTECTED]:~$ sudo aptitude install openjdk-6-jre
> [sudo] password for gandalf:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Building tag database... Done
> The following packages have been automatically kept back:
>   libgweather-common libgweather1 libxslt1.1 python-gobject xsltproc yelp
> The following NEW packages will be automatically installed:
>   java-common lesstif2 libaccess-bridge-java libgif4 openjdk-6-jre-headless
>   openjdk-6-jre-lib tzdata-java
> The following packages have been kept back:
>   gdm iproute libldap-2.4-2 python2.5 python2.5-minimal
> The following NEW packages will be installed:
>   java-common lesstif2 libaccess-bridge-java libgif4 openjdk-6-jre
>   openjdk-6-jre-headless openjdk-6-jre-lib tzdata-java
> 0 packages upgraded, 8 newly installed, 0 to remove and 11 not upgraded.
> Need to get 27.6MB of archives. After unpacking 78.7MB will be used.
> Do you want to continue? [Y/n/?] y
> Invalid response.  Please enter a valid command or '?' for help.
> Do you want to continue? [Y/n/?] y
> Writing extended state information... Done
> Get:1 http://ports.ubuntu.com hardy/main libgif4 4.1.6-4 [42.2kB]
> Get:2 http://ports.ubuntu.com hardy/main java-common 0.28ubuntu3 [78.2kB]
> Get:3 http://ports.ubuntu.com hardy/universe libaccess-bridge-java
> 1.22.0-0ubuntu5 [423kB]
> Get:4 http://ports.ubuntu.com hardy/universe openjdk-6-jre-lib
> 6b09-0ubuntu2 [4947kB]
> Get:5 http://ports.ubuntu.com hardy-updates/universe tzdata-java
> 2008c-1ubuntu0.8.04 [140kB]
> Get:6 http://ports.ubuntu.com hardy/universe openjdk-6-jre-headless
> 6b09-0ubuntu2 [21.1MB]
> 94% [6 openjdk-6-jre-headless 20628027/21.1MB 97%]
> 483kB/s 2s
> Get:7 http://ports.ubuntu.com hardy/universe openjdk-6-jre 6b09-0ubuntu2
> [240kB]
> Get:8 http://ports.ubuntu.com hardy/universe lesstif2 1:0.95.0-2.1 [670kB]
> Fetched 27.6MB in 59s (462kB/s)
> Selecting previously deselected package libgif4.
> (Reading database ... 106105 files and directories currently installed.)
> Unpacking libgif4 (from .../libgif4_4.1.6-4_powerpc.deb) ...
> Selecting previously deselected package java-common.
> Unpacking java-common (from .../java-common_0.28ubuntu3_all.deb) ...
> Selecting previously deselected package libaccess-bridge-java.
> Unpacking libaccess-bridge-java (from
> .../libaccess-bridge-java_1.22.0-0ubuntu5_all.deb) ...
> Selecting previously deselected package openjdk-6-jre-lib.
> Unpacking openjdk-6-jre-lib (from
> .../openjdk-6-jre-lib_6b09-0ubuntu2_all.deb) ...
> Selecting previously deselected package tzdata-java.
> Unpacking tzdata-java (from .../tzdata-java_2008c-1ubuntu0.8.04_all.deb)
> ...
> Selecting previously deselected package openjdk-6-jre-headless.
> Unpacking openjdk-6-jre-headless (from
> .../openjdk-6-jre-headless_6b09-0ubuntu2_powerpc.deb) ...
> Selecting previously deselected package openjdk-6-jre.
> Unpacking openjdk-6-jre (from .../openjdk-6-jre_6b09-0ubuntu2_powerpc.deb)
> ...
> Selecting previously deselected package lesstif2.
> Unpacking lesstif2 (from .../lesstif2_1%3a0.95.0-2.1_powerpc.deb) ...
> Setting up libgif4 (4.1.6-4) ...
>
> Setting up java-common (0.28ubuntu3) ...
>
> Setting up tzdata-java (2008c-1ubuntu0.8.04) ...
> Setting up lesstif2 (1:0.95.0-2.1) ...
>
> Setting up libaccess-bridge-java (1.22.0-0ubuntu5) ...
> Setting up openjdk-6-jre-lib (6b09-0ubuntu2) ...
> Setting up openjdk-6-jre-headless (6b09-0ubuntu2) ...
>
> Setting up openjdk-6-jre (6b09-0ubuntu2) ...
>
> Processing triggers for libc6 ...
> ldconfig deferred processing now taking place
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> Building tag database... Done
> [EMAIL PROTECTED]:~$
>
> *Next ensure openjdk is chosen as the default java platform:
>
> [EMAIL PROTECTED]:~$ sudo update-alternatives --config java
>
> *Output:
> [EMAIL PROTECTED]:~$ sudo update-alternatives --config java
>
> There is only 1 program which provides java
> (/usr/lib/jvm/java-6-openjdk/jre/bin/java). Nothing to configure.
>
> *Next freenet is installed
>
> [EMAIL PROTECTED]:~$ wget
> http://downloads.freenetproject.org/alpha/installer/freenet07.tar.gz
>
> *Output:*
> *--16:46:28--
> http://downloads.freenetproject.org/alpha/installer/freenet07.tar.gz
>            => `freenet07.tar.gz'
> Resolving downloads.freenetproject.org... 89.16.176.201
> Connecting to downloads.freenetproject.org|89.16.176.201|:80... connected.
> HTTP request sent, awaiting response... 302 Found
> Location:
> http://get.freenetproject.org/get.php?location=/alpha/installer/freenet07.tar.gz[following]
> --16:46:29--
> http://get.freenetproject.org/get.php?location=/alpha/installer/freenet07.tar.gz
>            => `get.php?location=%2Falpha%2Finstaller%2Ffreenet07.tar.gz'
> Resolving get.freenetproject.org... 89.16.176.201
> Reusing existing connection to downloads.freenetproject.org:80.
> HTTP request sent, awaiting response... 302 Found
> Location:
> ftp://ftpmirror.sectoor.de/freenet//alpha/installer/freenet07.tar.gz[following]
> --16:46:29--
> ftp://ftpmirror.sectoor.de/freenet//alpha/installer/freenet07.tar.gz
>            => `freenet07.tar.gz'
> Resolving ftpmirror.sectoor.de... 217.69.169.23
> Connecting to ftpmirror.sectoor.de|217.69.169.23|:21... connected.
> Logging in as anonymous ... Logged in!
> ==> SYST ... done.    ==> PWD ... done.
> ==> TYPE I ... done.  ==> CWD /freenet//alpha/installer ... done.
> ==> PASV ... done.    ==> RETR freenet07.tar.gz ... done.
>
>     [          <=>                        ] 390,136      199.06K/s
>
> 16:46:31 (198.49 KB/s) - `freenet07.tar.gz' saved [390136]
>
> [EMAIL PROTECTED]:~$*
>
> Next:*
> [EMAIL PROTECTED]:~$ cat freenet07.tar.gz | gzip -d | tar xv*
> Output:
> [EMAIL PROTECTED]:~$ cat freenet07.tar.gz | gzip -d | tar xv
> freenet/
> freenet/INSTALL
> freenet/startssl.pem
> freenet/license/
> freenet/license/LICENSE.Mantissa
> freenet/license/LICENSE.Freenet
> freenet/license/README
> freenet/README
> freenet/run.sh
> freenet/bin/
> freenet/bin/bindtest.jar
> freenet/bin/wrapper-linux-ppc-64
> freenet/bin/wrapper-macosx-ppc-32
> freenet/bin/wrapper-linux-x86-32
> freenet/bin/wrapper-linux-x86-64
> freenet/bin/wrapper-macosx-universal-32
> freenet/bin/sha1test.jar
> freenet/bin/1run.sh
> freenet/bin/wrapper-linux-ppc-32
> freenet/bin/remove_cronjob.sh
> freenet/bin/uncompress.jar
> freenet/bin/browser.jar
> freenet/lib/
> freenet/lib/libwrapper-linux-x86-64.so
> freenet/lib/libwrapper-linux-x86-32.so
> freenet/lib/libwrapper-linux-ppc-32.so
> freenet/lib/libwrapper-macosx-ppc-32.jnilib
> freenet/lib/libwrapper-linux-ppc-64.so
> freenet/lib/libwrapper-macosx-universal-32.jnilib
> freenet/wrapper.conf
>
> *Next: copy wrapper.conf to the bin directory and run:
>
> Listing:
> [EMAIL PROTECTED]:~/freenet$ ls
> bin  INSTALL  lib  license  README  run.sh  startssl.pem  wrapper.conf
> [EMAIL PROTECTED]:~/freenet$ cp wrapper.conf bin/
> [EMAIL PROTECTED]:~/freenet$ cd bin
> [EMAIL PROTECTED]:~/freenet/bin$ ls
> 1run.sh            uncompress.jar        wrapper-linux-x86-64
> bindtest.jar       wrapper.conf          wrapper.log
> browser.jar        wrapper-linux-ppc-32  wrapper-macosx-ppc-32
> remove_cronjob.sh  wrapper-linux-ppc-64  wrapper-macosx-universal-32
> sha1test.jar       wrapper-linux-x86-32
> [EMAIL PROTECTED]:~/freenet/bin$*
>
>
> Next: run the application
>
> *command : ./wrapper-linux-ppc-32 wrapper.conf
> *
> Output:
>
> [EMAIL PROTECTED]:~/freenet/bin$ ./wrapper-linux-ppc-32 wrapper.conf
> wrapper  | --> Wrapper Started as Console
> wrapper  | Launching a JVM...
> jvm 1    | Exception in thread "main" java.lang.NoClassDefFoundError:
> freenet/node/NodeStarter
> jvm 1    | Caused by: java.lang.ClassNotFoundException:
> freenet.node.NodeStarter
> jvm 1    |      at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> jvm 1    |      at java.security.AccessController.doPrivileged(Native
> Method)
> jvm 1    |      at
> java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> jvm 1    |      at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> jvm 1    |      at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> jvm 1    |      at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> jvm 1    |      at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
> wrapper  | JVM exited while loading the application.
> wrapper  | Reloading Wrapper configuration...
> wrapper  | Launching a JVM...
> jvm 2    | Exception in thread "main" java.lang.NoClassDefFoundError:
> freenet/node/NodeStarter
> jvm 2    | Caused by: java.lang.ClassNotFoundException:
> freenet.node.NodeStarter
> jvm 2    |      at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> jvm 2    |      at java.security.AccessController.doPrivileged(Native
> Method)
> jvm 2    |      at
> java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> jvm 2    |      at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> jvm 2    |      at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> jvm 2    |      at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> jvm 2    |      at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
> wrapper  | JVM exited while loading the application.
> wrapper  | Reloading Wrapper configuration...
> wrapper  | Launching a JVM...
> jvm 3    | Exception in thread "main" java.lang.NoClassDefFoundError:
> freenet/node/NodeStarter
> jvm 3    | Caused by: java.lang.ClassNotFoundException:
> freenet.node.NodeStarter
> jvm 3    |      at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> jvm 3    |      at java.security.AccessController.doPrivileged(Native
> Method)
> jvm 3    |      at
> java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> jvm 3    |      at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> jvm 3    |      at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> jvm 3    |      at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> jvm 3    |      at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
> wrapper  | JVM exited while loading the application.
> wrapper  | Reloading Wrapper configuration...
> wrapper  | Launching a JVM...
> jvm 4    | Exception in thread "main" java.lang.NoClassDefFoundError:
> freenet/node/NodeStarter
> jvm 4    | Caused by: java.lang.ClassNotFoundException:
> freenet.node.NodeStarter
> jvm 4    |      at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> jvm 4    |      at java.security.AccessController.doPrivileged(Native
> Method)
> jvm 4    |      at
> java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> jvm 4    |      at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> jvm 4    |      at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> jvm 4    |      at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> jvm 4    |      at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
> wrapper  | JVM exited while loading the application.
> wrapper  | Reloading Wrapper configuration...
> wrapper  | Launching a JVM...
> wrapper  | INT trapped.  Shutting down.
> wrapper  | JVM exited unexpectedly while stopping the application.
> wrapper  | <-- Wrapper Stopped
> [EMAIL PROTECTED]:~/freenet/bin$
> [EMAIL PROTECTED]:~/freenet/bin$
>
> Running it like this does not help either
>
> [EMAIL PROTECTED]:~/freenet$ ./run.sh start
> Enabling the auto-update feature
> Detecting tcp-ports availability...
> Downloading update.sh
> #################################################################
> It seems that you are using a buggy JVM...
> The installer will refuse to run until you switch to a decent one
> #################################################################
> You are currently using:
> java version "1.6.0"
> OpenJDK Runtime Environment (build 1.6.0-b09)
> OpenJDK Core VM (build 1.6.0-b09, interpreted mode)
> #################################################################
> The full error message is :
> #################################################################
> An SSL exception has occured:java.lang.RuntimeException: Unexpected error:
> java.security.InvalidAlgorithmParameterException: the trustAnchors parameter
> must be non-empty
> [EMAIL PROTECTED]:~/freenet$
>
>
> Thats everything from install to running it on a clean system
>
> Kind Regards
> Pete
>
>
>
> *
> *
> *
>
> *
>
> On Tue, Aug 5, 2008 at 1:03 PM, Matthias Klose <[EMAIL PROTECTED]> wrote:
>
>> - please recheck with openjdk-6 6b11-2ubuntu2, as found in hardy-proposed
>> - please could you describe the steps needed to reprodcue this problem?
>> - which version for freenet is used?
>>
>>
>> ** Changed in: openjdk-6 (Ubuntu)
>>       Status: New => Incomplete
>>
>> --
>> Freenet crashing during normal usage
>> https://bugs.launchpad.net/bugs/237730
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>
>

-- 
Freenet crashing during normal usage
https://bugs.launchpad.net/bugs/237730
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to