Re: [freenet-support] JVM restart every few minutes - prng.seed missing
On Saturday 16 Apr 2011 13:45:42 artur wrote: > Hi, > > you can configure Java to use /dev/urandom instead. > > > On my Linux system it is in the file: > /etc/java-config-2/current-system-vm/lib/security/java.security > The entry: > securerandom.source=file:/dev/urandom > > Or you can add the the following parameter to the startup script: > -Djava.security.egd=file:/dev/urandom It might help but IIRC we use it directly. signature.asc Description: This is a digitally signed message part. ___ Support mailing list [email protected] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[email protected]?subject=unsubscribe
Re: [freenet-support] JVM restart every few minutes - prng.seed missing
Hi, on my Debian Unstable with OpenJDK 6, it is: - $ grep securerandom /etc/java-6-openjdk/security/java.security # the securerandom.source property. If an exception occurs when securerandom.source=file:/dev/urandom # Specifying this system property will override the securerandom.source - Regards, Roland signature.asc Description: This is a digitally signed message part ___ Support mailing list [email protected] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[email protected]?subject=unsubscribe
Re: [freenet-support] JVM restart every few minutes - prng.seed missing
I don't realize what entropy means. I thought it's something with the connections to other nodes. I use rng-tools (+ /dev/urandom) to 'collect' some data. Thank you Dennis! After my node goes online, I see the seed.prng, which was missing in the past. Original-Nachricht > Datum: Fri, 15 Apr 2011 22:02:00 -0400 > Von: Dennis Nezic > An: [email protected] > Betreff: Re: [freenet-support] JVM restart every few minutes - prng.seed > missing > On Sat, 16 Apr 2011 01:26:49 +0200, [email protected] wrote: > > FProxy shows me 'There isn't enough entropy available' for hours. > > It looks like the wrapper restart the jvm every few minutes. > > If the problem is with entropy, you can try running a large I/O > operation, like "find /" or something. You might also want to try > "rngd" (rng-tools).[1] > > You can find how much entropy your system has available by: > "cat /proc/sys/kernel/random/entropy_avail", with 100-200 or less > probably being too low > > > [1] http://linux.die.net/man/8/rngd > ___ > Support mailing list > [email protected] > http://news.gmane.org/gmane.network.freenet.support > Unsubscribe at > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support > Or mailto:[email protected]?subject=unsubscribe -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ___ Support mailing list [email protected] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[email protected]?subject=unsubscribe
Re: [freenet-support] JVM restart every few minutes - prng.seed missing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, you can configure Java to use /dev/urandom instead. On my Linux system it is in the file: /etc/java-config-2/current-system-vm/lib/security/java.security The entry: securerandom.source=file:/dev/urandom Or you can add the the following parameter to the startup script: - -Djava.security.egd=file:/dev/urandom artur Am 16.04.2011 01:26, schrieb [email protected]: > Hi there, > > I could not connect to freenet and I don't find the error. > > I use Debian Squeeze x86 headless, installed latest JRE from repository. > I downloaded freenet headless installer, extract the gz tar and execute > 1start.sh > > FProxy shows me 'There isn't enough entropy available' for hours. > It looks like the wrapper restart the jvm every few minutes. > > Also find the following line in freenet log: > > '(freenet.crypt.Yarrow, WrapperListener_start_runner, ERROR): IOE trying to > read the seedfile from disk : /opt/freenet/prng.seed (No such file or > directory)' > > What does it mean? > > > Additionaly you'll find my wrapper.log attached. > > It would be greate if someone can give me a clue to solve this issue. > > If you need more informations, don't mind to ask :-) > > Thanks a lot > Fox > > > > P.S.: I'm using for the first time a mailing list, so I hope I'm doing fine. > > > > ___ > Support mailing list > [email protected] > http://news.gmane.org/gmane.network.freenet.support > Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support > Or mailto:[email protected]?subject=unsubscribe -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNqY92AAoJEMCbH/uYbXaWIhMIAMQjRZQVfxFtuJzN/SLHbqb0 qKer5TAiwTg7s3B6tnpwwNu4kOWhYDjnqdlJiNg7AuFwUGH4O4+VJUJjqxCvszbl 9ZA9db3fxE9b7gAU4Y4uMTFIvI+QUUje1iHoXwhzwYreu+i1kYDJcfMfLHpnZMMz Q8H7JIh0g2LYq7AKMtoNRDiSZ46trRW88F7AwlK3CrTCQBzjxuz2djUbgz/H7FkC UwJGC9LpiA7/AQgBfm2502WdxosFGNTedmbN6I7VTeblkW6SYClDQApYJD0PX5Fm /7caQGE2w7czi//Lem/mfqo2Szdpv9z8pw+4wKU3jk5Z5IxdJ1L/SjNREiwhcDM= =H+Gs -END PGP SIGNATURE- ___ Support mailing list [email protected] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[email protected]?subject=unsubscribe
Re: [freenet-support] JVM restart every few minutes - prng.seed missing
> > FProxy shows me 'There isn't enough entropy available' for hours. > > It looks like the wrapper restart the jvm every few minutes. > > If the problem is with entropy, you can try running a large I/O > operation, like "find /" or something. You might also want to try > "rngd" (rng-tools).[1] when there's a spare audio device in the system: http://www.vanheusden.com/aed/ when there's a redundant tv-card/webcam on the system: http://www.vanheusden.com/ved/ all other cases: http://www.vanheusden.com/te/ altough on some systems it sucks up loads of cpu > You can find how much entropy your system has available by: > "cat /proc/sys/kernel/random/entropy_avail", with 100-200 or less > probably being too low Folkert van Heusden -- Multitail est un outil permettant la visualisation de fichiers de journalisation et/ou le suivi de l'exécution de commandes. Filtrage, mise en couleur de mot-clé, fusions, visualisation de différences (diff-view), etc. http://www.vanheusden.com/multitail/ -- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com ___ Support mailing list [email protected] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[email protected]?subject=unsubscribe
Re: [freenet-support] JVM restart every few minutes - prng.seed missing
On Sat, 16 Apr 2011 01:26:49 +0200, [email protected] wrote: > '(freenet.crypt.Yarrow, WrapperListener_start_runner, ERROR): IOE > trying to read the seedfile from disk : /opt/freenet/prng.seed (No > such file or directory)' Also, you might want to make sure that that file "/opt/freenet/prng.seed" exists and has proper permissions for freenet to read it? :p ___ Support mailing list [email protected] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[email protected]?subject=unsubscribe
Re: [freenet-support] JVM restart every few minutes - prng.seed missing
On Sat, 16 Apr 2011 01:26:49 +0200, [email protected] wrote: > FProxy shows me 'There isn't enough entropy available' for hours. > It looks like the wrapper restart the jvm every few minutes. If the problem is with entropy, you can try running a large I/O operation, like "find /" or something. You might also want to try "rngd" (rng-tools).[1] You can find how much entropy your system has available by: "cat /proc/sys/kernel/random/entropy_avail", with 100-200 or less probably being too low [1] http://linux.die.net/man/8/rngd ___ Support mailing list [email protected] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[email protected]?subject=unsubscribe
