RE: [freenet-support] Freenet under Linux issues

2003-12-07 Thread Pete
It sounds as though your node is running just fine, it's actually the
network that's fscked atm, there is currently a 'lot' of work going on
aimed at solving the issues you are encountering (check the devl list
for more details)

Pete

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Justin The Cynical
Sent: 05 December 2003 23:04
To: [EMAIL PROTECTED]
Subject: [freenet-support] Freenet under Linux issues


I've done some digging on the list and the web site and I can 
not find any reason for this to be happening.

Freenet build 5048 set for a perm node
Sun Java j2re1.4.1_06
Linux kernel 2.2.25

The machine is running a firewall script, but the freenet node 
port is higher than what the firewall worries about.  Besides, 
I was/am able to pull the GPL file.

What is going on is that it does not seem to be able to 
retreive any sites.  So far, the GPL is the only thing I've 
been able to look at besides my own gateway, and even that 
isn't pulling up the icons for YoYo, The Tower, etc.

I've left it running for a few days and it still isn't able to 
pull anything.  I mainly receive Route Not Found messages, but 
I do also get messages that it never made it past my node and 
to try to get the GPL (which it has), but I still can't get 
anywhere else.

The annoying part for me is that when I was first 
experimenting with it, I was running it on my XP machine 
forwarding the port via the NAT/PAT software and after a few 
days I was able to at least get to YoYo and see a few 
catagories as well as have the icons appear on the main 
bookmark page.  I started using the Linux box as the node for 
stability (the XP machine gets rebooted too much for use as a 
perm node), but it seems that the windows client works better. 
 Someone tell me it isn't so!

Also, when I try clicking on Spread Freenet, I get a blank 
page that says nothing more than 'Error'.  ??

Justin
___
Support mailing list
[EMAIL PROTECTED] 
http://news.gmane.org/gmane.network.freenet.support

---

Incoming mail is certified Virus Free.
Checked by 
AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.548 / Virus Database: 341 - Release Date: 05/12/2003
 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.548 / Virus Database: 341 - Release Date: 05/12/2003
 

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support


Re: [freenet-support] Re: Unable to establish loopback connection

2003-12-07 Thread Toad
On Sat, Dec 06, 2003 at 07:49:11PM +, Toad wrote:
 On Sat, Nov 29, 2003 at 05:17:56AM +0100, [EMAIL PROTECTED] wrote:
   Hi everyone,
   
   here's an update to the earlier problem I reported (Freenet failing to start
   on Windows XP SP1, log messages below):
   
   [...]
   
   java.io.IOException: Unable to establish loopback connection
 at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.nio.ch.PipeImpl.init(Unknown Source)
 at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
 at java.nio.channels.Pipe.open(Unknown Source)
 at sun.nio.ch.WindowsSelectorImpl.init(Unknown Source)
 at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
 at java.nio.channels.Selector.open(Unknown Source)
 at freenet.transport.AbstractSelectorLoop.init(AbstractSelectorLoop.java:111)
 at 
   freenet.transport.ThrottledSelectorLoop.init(ThrottledSelectorLoop.java:72)
 at freenet.transport.ReadSelectorLoop.init(ReadSelectorLoop.java:73)
 at freenet.transport.tcpConnection.startSelectorLoops(tcpConnection.java:83)
 at freenet.node.Main.startNode(Main.java:1385)
 at freenet.node.Main.main(Main.java:1004)
   Caused by: java.net.ConnectException: Connection timed out: connect
 at sun.nio.ch.Net.connect(Native Method)
 at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
 at java.nio.channels.SocketChannel.open(Unknown Source)
 ... 14 more
  
  OK, this is resolved, on my side at least: this [1] article on java.sun.com,
  which describes the same problem, lead me to downgrade my jre to 1.4.0-b92,
  which works fine. 
 
 Umm, 1.4.0 has major problems with NIO, which is pretty vital to
 Freenet.
  
  Ultimately, though, it seems that the Freenet code needs to be adjusted to
  deal with changes in newer JREs.
  
  1. http://forum.java.sun.com/thread.jsp?thread=462952forum=31message=2123851
 
 Will check out.

It is not terribly helpful. Ideally I'd like to know exactly what we are
doing wrong.

Any way to systematically reproduce this that doesn't involve the
purchase of Windows XP?
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support

Re: [freenet-support] Re: Unable to establish loopback connection

2003-12-07 Thread Toad
On Sat, Nov 29, 2003 at 05:17:56AM +0100, [EMAIL PROTECTED] wrote:
  Hi everyone,
  
  here's an update to the earlier problem I reported (Freenet failing to start
  on Windows XP SP1, log messages below):
  
  [...]
  
  java.io.IOException: Unable to establish loopback connection
  at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.nio.ch.PipeImpl.init(Unknown Source)
  at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
  at java.nio.channels.Pipe.open(Unknown Source)
  at sun.nio.ch.WindowsSelectorImpl.init(Unknown Source)
  at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
  at java.nio.channels.Selector.open(Unknown Source)
  at freenet.transport.AbstractSelectorLoop.init(AbstractSelectorLoop.java:111)
  at 
  freenet.transport.ThrottledSelectorLoop.init(ThrottledSelectorLoop.java:72)
  at freenet.transport.ReadSelectorLoop.init(ReadSelectorLoop.java:73)
  at freenet.transport.tcpConnection.startSelectorLoops(tcpConnection.java:83)
  at freenet.node.Main.startNode(Main.java:1385)
  at freenet.node.Main.main(Main.java:1004)
  Caused by: java.net.ConnectException: Connection timed out: connect
  at sun.nio.ch.Net.connect(Native Method)
  at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
  at java.nio.channels.SocketChannel.open(Unknown Source)
  ... 14 more
 
 OK, this is resolved, on my side at least: this [1] article on java.sun.com,
 which describes the same problem, lead me to downgrade my jre to 1.4.0-b92,
 which works fine. 

Umm, 1.4.0 has major problems with NIO, which is pretty vital to
Freenet.
 
 Ultimately, though, it seems that the Freenet code needs to be adjusted to
 deal with changes in newer JREs.
 
 1. http://forum.java.sun.com/thread.jsp?thread=462952forum=31message=2123851

Will check out.
 
 -- 
  5:14AM  up 11 days,  8:15, 1 user, load averages: 0.18, 0.18, 0.16
 
 Every non-empty totally disconnected perfect compact metric space is
 homeomorphic to the Cantor set.
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support

Re: [freenet-support] Re: Unable to establish loopback connection

2003-12-07 Thread Shen Ming Xuan
Toad wrote:

Any way to systematically reproduce this that doesn't involve the
purchase of Windows XP?
 

I have Windows 2000 SP4 and Freenet stops _exactly_ in the same manner.

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support


[freenet-support] Testing

2003-12-07 Thread Toad
Testing fix to archive line in sig.
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support

Re: [freenet-support] Kaffe, OBSD 3.4, Failed to locate native library libnative in path

2003-12-07 Thread Toad
Unfortunately freenet is not compatible with Kaffe 1.0.6. Freenet does
not work currently even with Kaffe 1.1.x, but that is being worked on
heavily. If you can install the Sun JVM 1.4, do that... there was a
branch of Freenet that didn't use NIO, but it's not compatible with the
current network.

On Sun, Nov 30, 2003 at 12:36:27PM -0500, Jeff Homer wrote:
 Try running freenet and get this error... Kaffe seems to run well enough 
 to get the version info:
 
 $ java -fullversion
 Kaffe Virtual Machine
 Copyright (c) 1996-2000
 Transvirtual Technologies, Inc.  All rights reserved
 Engine: Just-in-time v3   Version: 1.0.6   Java Version: 1.1
 Configuration/Compilation options:
   Compile date  : Sat Nov 29 20:22:03 EST 2003
   Compile host  : foo.bar.com
   Install prefix: /usr/local
   Thread system : unix-jthreads
   CC: cc
   CFLAGS: -O2   -I/usr/local/include -Wall -Wstrict-prototypes
   LDFLAGS   : -export-dynamic
   ChangeLog head: Mon Jul 24 14:00:00 PDT 2000  Tim Wilkinson [EMAIL PROTECTED]
 
 The system ld path to find kaffe is /usr/local/lib/kaffe:/usr/local/lib/mozilla
 
 Here's output from running freenet:
 
 Failed to locate native library libnative in path:
 /usr/local/lib/kaffe:/usr/local/lib
 
 Here's what's in /usr/local/lib/kaffe
 
 foo# ls /usr/local/lib/kaffe
 libawt.a   libmath.a  libnet.la
 libawt.la  libmath.la libnet.so.0.0
 libio-1.0.6.so.0.0 libmicrosoft-1.0.6.so.0.0  libsecurity-1.0.6.so.0.0
 libio.la   libmicrosoft.lalibsecurity.la
 libio.so.0.0   libmicrosoft.so.0.0libsecurity.so.0.0
 libmanagement-1.0.6.so.0.0 libnative.alibzip.a
 libmanagement.la   libnative.la   libzip.la
 libmanagement.so.0.0   libnet-1.0.6.so.0.0security
 
 so it's there... not linking ?
 ___
 Support mailing list
 [EMAIL PROTECTED]
 http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support

[freenet-support] 5049 crash under Linux WAS: Freenet under Linux issues

2003-12-07 Thread Justin The Cynical
On Sat, 6 Dec 2003 23:09:03 -
Pete [EMAIL PROTECTED] wrote:

 It sounds as though your node is running just fine, it's actually the
 network that's fscked atm, there is currently a 'lot' of work going on
 aimed at solving the issues you are encountering (check the devl list
 for more details)

That's good to know.  I just find it frustrating that under windows I
seemed to be able to get a bit further than what I can running the node
under Linux.  It's just not right.  :-)

In any case, thank you for the infomation.  Now I have another problem:

I updated my node to 5049, and it started crashing.  The log shows quite
a bit of data.  Might this be a problem with my thread libs on the
system?

--begin log dump--

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4001FE2B
Function=sem_unlink+0x1DF
Library=/lib/libpthread.so.0

Current Java thread:
at java.lang.Object.wait(Native Method)
at
freenet.fs.dir.NativeFSDirectory$NativeBuffer$NativeInputStream.read(Na
tiveFSDirectory.java:2745)- locked 0x45ebaf20 (a
freenet.fs.dir.NativeFSDirectory$NativeBuffer)at
java.io.BufferedInputStream.fill(BufferedInputStream.java:183)at
java.io.BufferedInputStream.read1(BufferedInputStream.java:222)   
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)   
- locked 0x45ebcfa0 (a java.io.BufferedInputStream)at
freenet.node.ds.FSDataStoreElement$KeyInputStreamImpl.read(FSDataStoreE
lement.java:273)at
freenet.node.states.data.SendData.doRead(SendData.java:256)at
freenet.node.states.data.SendData.received(SendData.java:227)at
freenet.node.StateChain.received(StateChain.java:192)at
freenet.node.StateChain.received(StateChain.java:68)- locked
0x45ebe0a8 (a freenet.node.StateChain)at
freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHandler.j
ava:235)- locked 0x45ebe0a8 (a freenet.node.StateChain)
at
freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHand
ler.java:173)at
freenet.node.StandardMessageHandler$Ticket.access$100(StandardMessageHa
ndler.java:125)at
freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java:
73)at freenet.Ticker$Event.run(Ticker.java:324)
at
freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:234)

Dynamic libraries:
08048000-0804e000 r-xp  16:01 672115
/usr/local/j2re1.4.1_06/bin/java 0804e000-0804f000 rw-p 5000 16:01
672115 /usr/local/j2re1.4.1_06/bin/java 4000-40012000 r-xp
 03:01 154/lib/ld-2.1.2.so 40012000-40013000 rw-p
00011000 03:01 154/lib/ld-2.1.2.so 40014000-40017000 r--s
 16:01 376913 /usr/local/j2re1.4.1_06/lib/ext/dnsns.jar
40018000-40022000 r-xp  03:01 153/lib/libpthread-0.8.so
40022000-40029000 rw-p 9000 03:01 153/lib/libpthread-0.8.so
40029000-4002b000 r-xp  03:01 160/lib/libdl-2.1.2.so
4002b000-4002c000 rw-p 1000 03:01 160/lib/libdl-2.1.2.so
4002c000-4010d000 r-xp  03:01 156/lib/libc-2.1.2.so
4010d000-40111000 rw-p 000e 03:01 156/lib/libc-2.1.2.so
40114000-403c8000 r-xp  16:01 376908
/usr/local/j2re1.4.1_06/lib/i386/client/libjvm.so 403c8000-405a8000 rw-p
002b3000 16:01 376908
/usr/local/j2re1.4.1_06/lib/i386/client/libjvm.so 405b8000-405c9000 r-xp
 03:01 162/lib/libnsl-2.1.2.so 405c9000-405cb000 rw-p
0001 03:01 162/lib/libnsl-2.1.2.so 405cd000-405e8000 r-xp
 03:01 161/lib/libm-2.1.2.so 405e8000-405e9000 rw-p
0001a000 03:01 161/lib/libm-2.1.2.so 405e9000-405f1000 r-xp
 16:01 376902
/usr/local/j2re1.4.1_06/lib/i386/native_threads/libhpi.so
405f1000-405f2000 rw-p 7000 16:01 376902
/usr/local/j2re1.4.1_06/lib/i386/native_threads/libhpi.so
405f2000-40602000 r-xp  16:01 1016409   
/usr/local/j2re1.4.1_06/lib/i386/libverify.so 40602000-40604000 rw-p
f000 16:01 1016409/usr/local/j2re1.4.1_06/lib/i386/libverify.so
40604000-40625000 r-xp  16:01 1016410   
/usr/local/j2re1.4.1_06/lib/i386/libjava.so 40625000-40627000 rw-p
0002 16:01 1016410/usr/local/j2re1.4.1_06/lib/i386/libjava.so
40627000-4063b000 r-xp  16:01 1016412   
/usr/local/j2re1.4.1_06/lib/i386/libzip.so 4063b000-4063e000 rw-p
00013000 16:01 1016412/usr/local/j2re1.4.1_06/lib/i386/libzip.so
4063e000-41d13000 r--s  16:01 574021
/usr/local/j2re1.4.1_06/lib/rt.jar 41d56000-41d6d000 r--s  16:01
573972 /usr/local/j2re1.4.1_06/lib/sunrsasign.jar 41d6d000-41ddf000
r--s  16:01 573974 /usr/local/j2re1.4.1_06/lib/jsse.jar
41ddf000-41df2000 r--s  16:01 573973
/usr/local/j2re1.4.1_06/lib/jce.jar 41df2000-420ba000 r--s 
16:01 574019 /usr/local/j2re1.4.1_06/lib/charsets.jar
44162000-4416b000 r-xp  03:01 163   

[freenet-support] Any tips for a good JAVA setup?

2003-12-07 Thread Garb








My node (like so many other these days) seems to have a hard
time keeping stable, especially when trying to insert something with FIW.
Mostly ending up with FIW starting a gazillion JAVA processes
freezing itself, so I have to kill it off and re-start. Actually
Freenet itself seems to run pretty smoothly, despite the fact that the load is
consistently between 90 and 100%, but once FIW comes into play, things start
getting crowded, even if I set FIW to only 5 threads. I would like to try
tweaking Java a bit - maybe allocating it some more memory would help - but I
dont really know anything about how to configure it. If anybody out
there has any hot tips or good ideas, please feel free to come forward and
share...



Btw. I'm running a permanent under Linux.





Regards,

J






___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support

Re: [freenet-support] Any tips for a good JAVA setup?

2003-12-07 Thread Aureliano Rama

If i don't remeber bad, FIW has insert operation broke.

Use Fuqid instead, I'm using it and it's running smootly.


Aureliano Rama
Corso di Laurea in Informatica, Pisa


 My node (like so many other these days) seems to have a hard
 time keeping stable, especially when trying to insert something with FIW.
 Mostly ending up with FIW starting a gazillion JAVA processes
 freezing itself, so I have to kill it off and re-start. Actually
 Freenet itself seems to run pretty smoothly, despite the fact that the load is
 consistently between 90 and 100%, but once FIW comes into play, things start
 getting crowded, even if I set FIW to only 5 threads. I would like to try
 tweaking Java a bit - maybe allocating it some more memory would help - but I
 don #8217;t really know anything about how to configure it. If anybody out
 there has any hot tips or good ideas, please feel free to come forward and
 share...

  

 Btw. I'm running a permanent under Linux.

  

  

 Regards,

 J






___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support


RE: [freenet-support] ATTENTION: no stable build above 5048 at04/12/2003

2003-12-07 Thread Nicholas Sturm

 and try to believe what your web interface is saying :)

Unfortunately it was my web interface that was lying for a few days; when
it was not anymore
claiming the , it seemed a suitable time to ask.

So, perhaps, one should not always believe the interface.   :-)


 Ciao ciao,

 Aureliano Rama
 Corso di Laurea in Informatica, Pisa


  I'll reinstalled twice with the assumption  was a strange
  new, but valid build number.  But now  does not show as the
  latest?

   




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



___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support