Re: [freenet-chat] getting freenet running on linux

2001-05-15 Thread David McNab

Dunno if this helps, but I've never had much luck running Freenet on Linux
using kaffe.
IBMJava - no sweat.

Cheers
David

- Original Message -
From: Rick Dietz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 8:14 AM
Subject: Re: [freenet-chat] getting freenet running on linux


 alright, i can telnet to 19114 and see it --

 [root@www Freenet]# netstat -nap | grep 19114
 (Not all processes could be identified, non-owned process info
  will not be shown, you would have to be root to see it all.)
 tcp0  0 0.0.0.0:19114   0.0.0.0:*   LISTEN
 7290/Kaffe

 but i still get exceptions when i try to insert and request.

 [root@www Freenet]# ./freenet_insert freenet:KSK@bush-protest
 bush-protest.jpg
 + java Freenet.client.InsertClient freenet:KSK@bush-protest
bush-protest.jpg
 Freenet Core running on 1146 (build 391)
 Freenet.ConnectFailedException
 at java.lang.Throwable.init(Throwable.java:33)
 at java.lang.Exception.init(Exception.java:20)
 at
 Freenet.ConnectFailedException.init(ConnectFailedException.java:line
 unknown, pc 0x85204b3)
 at Freenet.Core.makeConnection(Core.java:line unknown, pc
0x84f54f4)
 at Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
 unknown, pc 0x84f5134)
 at
 Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
 unknown, pc 0x841bc04)
 at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
 unknown, pc 0x840981c)
 at java.lang.Thread.run(Thread.java:314)
 A fatal exception occured while processing: Freenet.ConnectFailedException
 State FAILED reached.
 Encountered the following exceptions while trying to Insert:
 Freenet.ConnectFailedException
 at java.lang.Throwable.init(Throwable.java:33)
 at java.lang.Exception.init(Exception.java:20)
 at
 Freenet.ConnectFailedException.init(ConnectFailedException.java:line
 unknown, pc 0x85204b3)
 at Freenet.Core.makeConnection(Core.java:line unknown, pc
0x84f54f4)
 at Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
 unknown, pc 0x84f5134)
 at
 Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
 unknown, pc 0x841bc04)
 at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
 unknown, pc 0x840981c)
 at java.lang.Thread.run(Thread.java:314)
 Generic exception: null




 On 5/10/01 1:26 AM, Tavin Cole [EMAIL PROTECTED] wrote:
  On Wed, May 09, 2001 at 09:34:46PM -0500, Rick Dietz wrote:
  I've got the most recent freenet release.  I'm running redhat 6.2 and
Kaffe.
  The process list indicates the server is running.  Any ideas about what
  might be wrong with the configuration?
  rick
 
  Well, what port number do you have the node running on?  Probably not
19114
  according to the stack traces..
 
  You can use the -serverAddress switch to specify the node and port
number
  to connect to.
 
 
  [root@www Freenet]# ./freenet_insert freenet:KSK@bush-protest
  bush_protest.jpg
  + java Freenet.client.InsertClient freenet:KSK@bush-protest
bush_protest.jpg
  Freenet Core running on 1035 (build 391)
  Freenet.ConnectFailedException: Freenet.ConnectException:
  java.io.IOException: Connection refused when attempting to connect to
  tcp/127.0.0.1:19114
  at java.lang.Throwable.init(Throwable.java:38)
  at java.lang.Exception.init(Exception.java:24)
  at
  Freenet.ConnectFailedException.init(ConnectFailedException.java:line
  unknown, pc 0x84f0b1b)
  at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
  at Freenet.Core.makeConnection(Core.java:line unknown, pc
0x84f547f)
  at
Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
  unknown, pc 0x84f5134)
  at
  Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
  unknown, pc 0x841bc04)
  at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
  unknown, pc 0x840981c)
  at java.lang.Thread.run(Thread.java:314)
  A fatal exception occured while processing:
Freenet.ConnectFailedException:
  Freenet.ConnectException: java.io.IOException: Connection refused when
  attempting to connect to tcp/127.0.0.1:19114
  State FAILED reached.
  Encountered the following exceptions while trying to Insert:
  Freenet.ConnectFailedException: Freenet.ConnectException:
  java.io.IOException: Connection refused when attempting to connect to
  tcp/127.0.0.1:19114
  at java.lang.Throwable.init(Throwable.java:38)
  at java.lang.Exception.init(Exception.java:24)
  at
  Freenet.ConnectFailedException.init(ConnectFailedException.java:line
  unknown, pc 0x84f0b1b)
  at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
  at Freenet.Core.makeConnection(Core.java:line unknown, pc
0x84f547f)
  at
Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
  unknown, pc 0x84f5134

Re: [freenet-chat] getting freenet running on linux

2001-05-10 Thread Mak Sim

Hi,
it seems you have to insert yout're running freenet on port 1035.
Try this
  ./freenet_insert -serverAddress tcp/127.0.0.1:1035 
freenet:KSK@bush-protest -serverAddress tcp/127.0.0.1:1035

You should also create the file .freenetrc .

mak

At 21:34 9.5.2001 -0500, you wrote:
I've got the most recent freenet release.  I'm running redhat 6.2 and Kaffe.
The process list indicates the server is running.  Any ideas about what
might be wrong with the configuration?
rick


[root@www Freenet]# ./freenet_insert freenet:KSK@bush-protest
bush_protest.jpg
+ java Freenet.client.InsertClient freenet:KSK@bush-protest bush_protest.jpg
Freenet Core running on 1035 (build 391)
Freenet.ConnectFailedException: Freenet.ConnectException:
java.io.IOException: Connection refused when attempting to connect to
tcp/127.0.0.1:19114
 at java.lang.Throwable.init(Throwable.java:38)
 at java.lang.Exception.init(Exception.java:24)
 at
Freenet.ConnectFailedException.init(ConnectFailedException.java:line
unknown, pc 0x84f0b1b)
 at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
 at Freenet.Core.makeConnection(Core.java:line unknown, pc 0x84f547f)
 at Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
unknown, pc 0x84f5134)
 at
Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
unknown, pc 0x841bc04)
 at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
unknown, pc 0x840981c)
 at java.lang.Thread.run(Thread.java:314)
A fatal exception occured while processing: Freenet.ConnectFailedException:
Freenet.ConnectException: java.io.IOException: Connection refused when
attempting to connect to tcp/127.0.0.1:19114
State FAILED reached.
Encountered the following exceptions while trying to Insert:
Freenet.ConnectFailedException: Freenet.ConnectException:
java.io.IOException: Connection refused when attempting to connect to
tcp/127.0.0.1:19114
 at java.lang.Throwable.init(Throwable.java:38)
 at java.lang.Exception.init(Exception.java:24)
 at
Freenet.ConnectFailedException.init(ConnectFailedException.java:line
unknown, pc 0x84f0b1b)
 at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
 at Freenet.Core.makeConnection(Core.java:line unknown, pc 0x84f547f)
 at Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
unknown, pc 0x84f5134)
 at
Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
unknown, pc 0x841bc04)
 at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
unknown, pc 0x840981c)
 at java.lang.Thread.run(Thread.java:314)
Generic exception: null
[root@www Freenet]#


___
Chat mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/chat


___
Chat mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/chat



Re: [freenet-chat] getting freenet running on linux

2001-05-10 Thread Rick Dietz

On 5/10/01 2:49 PM, Mak Sim [EMAIL PROTECTED] wrote:
 it seems you have to insert yout're running freenet on port 1035.
 Try this
 ./freenet_insert -serverAddress tcp/127.0.0.1:1035
 freenet:KSK@bush-protest -serverAddress tcp/127.0.0.1:1035
 
 You should also create the file .freenetrc .

i do have a .freenetrc file and it specifies 19114 as the port number.

i have noticed that freenet_server only seems to be reading the .freenetrc
doc when i execute it from the /Freenet directory.  Otherwise i get
.freeenet directories created in whatever working directory i execute it
from and the subdir inside is 0.

is there a way i can execute ./freenet_server in an arbitrary directory and
force it to use the existing .freenetrc and .freenet directory as the
datastore?

r

 mak
 
 At 21:34 9.5.2001 -0500, you wrote:
 I've got the most recent freenet release.  I'm running redhat 6.2 and Kaffe.
 The process list indicates the server is running.  Any ideas about what
 might be wrong with the configuration?
 rick
 
 
 [root@www Freenet]# ./freenet_insert freenet:KSK@bush-protest
 bush_protest.jpg
 + java Freenet.client.InsertClient freenet:KSK@bush-protest bush_protest.jpg
 Freenet Core running on 1035 (build 391)
 Freenet.ConnectFailedException: Freenet.ConnectException:
 java.io.IOException: Connection refused when attempting to connect to
 tcp/127.0.0.1:19114
 at java.lang.Throwable.init(Throwable.java:38)
 at java.lang.Exception.init(Exception.java:24)
 at
 Freenet.ConnectFailedException.init(ConnectFailedException.java:line
 unknown, pc 0x84f0b1b)
 at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
 at Freenet.Core.makeConnection(Core.java:line unknown, pc 0x84f547f)
 at Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
 unknown, pc 0x84f5134)
 at
 Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
 unknown, pc 0x841bc04)
 at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
 unknown, pc 0x840981c)
 at java.lang.Thread.run(Thread.java:314)
 A fatal exception occured while processing: Freenet.ConnectFailedException:
 Freenet.ConnectException: java.io.IOException: Connection refused when
 attempting to connect to tcp/127.0.0.1:19114
 State FAILED reached.
 Encountered the following exceptions while trying to Insert:
 Freenet.ConnectFailedException: Freenet.ConnectException:
 java.io.IOException: Connection refused when attempting to connect to
 tcp/127.0.0.1:19114
 at java.lang.Throwable.init(Throwable.java:38)
 at java.lang.Exception.init(Exception.java:24)
 at
 Freenet.ConnectFailedException.init(ConnectFailedException.java:line
 unknown, pc 0x84f0b1b)
 at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
 at Freenet.Core.makeConnection(Core.java:line unknown, pc 0x84f547f)
 at Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
 unknown, pc 0x84f5134)
 at
 Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
 unknown, pc 0x841bc04)
 at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
 unknown, pc 0x840981c)
 at java.lang.Thread.run(Thread.java:314)
 Generic exception: null
 [root@www Freenet]#
 
 
 ___
 Chat mailing list
 [EMAIL PROTECTED]
 http://lists.freenetproject.org/mailman/listinfo/chat
 
 
 ___
 Chat mailing list
 [EMAIL PROTECTED]
 http://lists.freenetproject.org/mailman/listinfo/chat


___
Chat mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/chat



Re: [freenet-chat] getting freenet running on linux

2001-05-10 Thread David McNab

One easy way - in your Freenet installation on Linux, create a bash script
called 'fserve' in /usr/bin (or some other directory listed in your PATH
variable), containing:
# change this path to where you've put Freenet
cd /usr/local/bin/Freenet
# launch the freenet server
./freenet_server

You can even create a KDE/Gnome desktop icon to launch it if you want.
(Freenet seems to come into trouble if it's launched before the network
connection is opened).

David

- Original Message -
From: Rick Dietz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 11, 2001 9:26 AM
Subject: Re: [freenet-chat] getting freenet running on linux


 On 5/10/01 2:49 PM, Mak Sim [EMAIL PROTECTED] wrote:
  it seems you have to insert yout're running freenet on port 1035.
  Try this
  ./freenet_insert -serverAddress tcp/127.0.0.1:1035
  freenet:KSK@bush-protest -serverAddress tcp/127.0.0.1:1035
 
  You should also create the file .freenetrc .

 i do have a .freenetrc file and it specifies 19114 as the port number.

 i have noticed that freenet_server only seems to be reading the .freenetrc
 doc when i execute it from the /Freenet directory.  Otherwise i get
 .freeenet directories created in whatever working directory i execute it
 from and the subdir inside is 0.

 is there a way i can execute ./freenet_server in an arbitrary directory
and
 force it to use the existing .freenetrc and .freenet directory as the
 datastore?

 r

  mak
 
  At 21:34 9.5.2001 -0500, you wrote:
  I've got the most recent freenet release.  I'm running redhat 6.2 and
Kaffe.
  The process list indicates the server is running.  Any ideas about what
  might be wrong with the configuration?
  rick
 
 
  [root@www Freenet]# ./freenet_insert freenet:KSK@bush-protest
  bush_protest.jpg
  + java Freenet.client.InsertClient freenet:KSK@bush-protest
bush_protest.jpg
  Freenet Core running on 1035 (build 391)
  Freenet.ConnectFailedException: Freenet.ConnectException:
  java.io.IOException: Connection refused when attempting to connect to
  tcp/127.0.0.1:19114
  at java.lang.Throwable.init(Throwable.java:38)
  at java.lang.Exception.init(Exception.java:24)
  at
  Freenet.ConnectFailedException.init(ConnectFailedException.java:line
  unknown, pc 0x84f0b1b)
  at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
  at Freenet.Core.makeConnection(Core.java:line unknown, pc
0x84f547f)
  at
Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
  unknown, pc 0x84f5134)
  at
  Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
  unknown, pc 0x841bc04)
  at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
  unknown, pc 0x840981c)
  at java.lang.Thread.run(Thread.java:314)
  A fatal exception occured while processing:
Freenet.ConnectFailedException:
  Freenet.ConnectException: java.io.IOException: Connection refused when
  attempting to connect to tcp/127.0.0.1:19114
  State FAILED reached.
  Encountered the following exceptions while trying to Insert:
  Freenet.ConnectFailedException: Freenet.ConnectException:
  java.io.IOException: Connection refused when attempting to connect to
  tcp/127.0.0.1:19114
  at java.lang.Throwable.init(Throwable.java:38)
  at java.lang.Exception.init(Exception.java:24)
  at
  Freenet.ConnectFailedException.init(ConnectFailedException.java:line
  unknown, pc 0x84f0b1b)
  at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
  at Freenet.Core.makeConnection(Core.java:line unknown, pc
0x84f547f)
  at
Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
  unknown, pc 0x84f5134)
  at
  Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
  unknown, pc 0x841bc04)
  at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
  unknown, pc 0x840981c)
  at java.lang.Thread.run(Thread.java:314)
  Generic exception: null
  [root@www Freenet]#
 
 
  ___
  Chat mailing list
  [EMAIL PROTECTED]
  http://lists.freenetproject.org/mailman/listinfo/chat
 
 
  ___
  Chat mailing list
  [EMAIL PROTECTED]
  http://lists.freenetproject.org/mailman/listinfo/chat


 ___
 Chat mailing list
 [EMAIL PROTECTED]
 http://lists.freenetproject.org/mailman/listinfo/chat



___
Chat mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/chat



[freenet-chat] getting freenet running on linux

2001-05-09 Thread Rick Dietz

I've got the most recent freenet release.  I'm running redhat 6.2 and Kaffe.
The process list indicates the server is running.  Any ideas about what
might be wrong with the configuration?
rick


[root@www Freenet]# ./freenet_insert freenet:KSK@bush-protest
bush_protest.jpg   
+ java Freenet.client.InsertClient freenet:KSK@bush-protest bush_protest.jpg
Freenet Core running on 1035 (build 391)
Freenet.ConnectFailedException: Freenet.ConnectException:
java.io.IOException: Connection refused when attempting to connect to
tcp/127.0.0.1:19114
at java.lang.Throwable.init(Throwable.java:38)
at java.lang.Exception.init(Exception.java:24)
at 
Freenet.ConnectFailedException.init(ConnectFailedException.java:line
unknown, pc 0x84f0b1b)
at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
at Freenet.Core.makeConnection(Core.java:line unknown, pc 0x84f547f)
at Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
unknown, pc 0x84f5134)
at 
Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
unknown, pc 0x841bc04)
at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
unknown, pc 0x840981c)
at java.lang.Thread.run(Thread.java:314)
A fatal exception occured while processing: Freenet.ConnectFailedException:
Freenet.ConnectException: java.io.IOException: Connection refused when
attempting to connect to tcp/127.0.0.1:19114
State FAILED reached.
Encountered the following exceptions while trying to Insert:
Freenet.ConnectFailedException: Freenet.ConnectException:
java.io.IOException: Connection refused when attempting to connect to
tcp/127.0.0.1:19114
at java.lang.Throwable.init(Throwable.java:38)
at java.lang.Exception.init(Exception.java:24)
at 
Freenet.ConnectFailedException.init(ConnectFailedException.java:line
unknown, pc 0x84f0b1b)
at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
at Freenet.Core.makeConnection(Core.java:line unknown, pc 0x84f547f)
at Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
unknown, pc 0x84f5134)
at 
Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
unknown, pc 0x841bc04)
at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
unknown, pc 0x840981c)
at java.lang.Thread.run(Thread.java:314)
Generic exception: null
[root@www Freenet]# 


___
Chat mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/chat