[freenet-support] Freenet starts an autonomous process

2002-09-05 Thread Roger Hayter

OK, not completely autonomous.  With the last few builds of Freenet, the 
following has happened after a few hours.  System is P70, Linux 2.4.*, 
Sun 1.4 Java.

1.  Continuous disk activity.
2.  Machine very sluggish
3.  Top shows up to 70%  idle, but something is using lots of CPU cycles 
at a lower (or concealed) level than 'top' operates, because the machine 
is very sluggish and top itself claims to be using 30% CPU, while it 
normally only uses 3-5% on this machine.
4.  kswapd is running all the time
5.  'free' shows swap partition only 30% in use, no change from normal 
activity level
6.  'stop-freenet.sh'  kills a lot of java processes, but does not stop 
the above, and there are still a dozen or so running java processes 
which say something about 'freenet-Main...?' Presumably at some stage a 
new parent process has started with a different PID to the original one.
7.  killing all things called 'java' works, and the node can be 
restarted normally, with none of the above and no datastore problems.


I have neither the time nor the skillz to debug this, but has anyone a) 
seen this or b) any idea of the cause?

-- 
Roger Hayter

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



Re: [freenet-support] trouble getting freenet started behind a NAT

2002-09-05 Thread Greg Wooledge

Sascha Noyes ([EMAIL PROTECTED]) wrote:

 I controll the NAT, so i can set up port forwarding, if only i could find out 
 the port number.

grep listenPort freenet.conf

-- 
Greg Wooledge  |   Truth belongs to everybody.
[EMAIL PROTECTED]  |- The Red Hot Chili Peppers
http://wooledge.org/~greg/ |



msg01074/pgp0.pgp
Description: PGP signature


Re: [freenet-support] trouble getting freenet started behind a NAT

2002-09-05 Thread Sascha Noyes

when first unpacking the freenet tarball there is no freenet.conf provided.
 so when i run ./preconfig.sh, i get a freenet.conf file with 3 lines:

ipAddress=localhost.localdomain
listenPort=19871
seedNodes=seednodes.ref

i then activate port forwarding for ports 19870 - 19872 on my gateway/router,
but the same endless printing of listenPort [19871] occurs again when running
./start-freenet.sh --config.

however if i run start-freenet.sh without the --config switch (seeing as i
already ran preconfig.sh it doesnt print that i should run start-freenet.sh
with the --cofig switch) freenet seems to start up normally, but this is what
is printed in the log file:

--

Sep 5, 2002 9:35:19 AM (freenet.support.io.Bandwidth, main): new
Bandwidth(10,0,BOTH)
Sep 5, 2002 9:35:19 AM (freenet.node.Main, main): loading node keys:
node_19871
Sep 5, 2002 9:35:19 AM (freenet.node.Main, main): creating node keys:
node_19871
Sep 5, 2002 9:35:21 AM (freenet.node.Main, main): starting filesystem
Sep 5, 2002 9:35:21 AM (freenet.node.Main$FSInitializer, store-initializer):
initializing data store (209715200 bytes)
Sep 5, 2002 9:35:23 AM (freenet.node.Main, main): loading data store
Sep 5, 2002 9:35:24 AM (freenet.node.Main, main): loading routing table
Sep 5, 2002 9:35:24 AM (freenet.node.Main, main): loading temp bucket factory
Sep 5, 2002 9:35:24 AM (freenet.node.Main, main): starting node
Sep 5, 2002 9:35:25 AM (freenet.node.Main, main): loading service: fproxy
Sep 5, 2002 9:35:25 AM (freenet.node.Main, main): Failed to load service:
fproxy
freenet.interfaces.ServiceException: No class given
at freenet.node.Main.loadService(Main.java:766)
at freenet.node.Main.startNode(Main.java:730)
at freenet.node.Main.main(Main.java:431)
Sep 5, 2002 9:35:25 AM (freenet.node.Main, main): loading service: nodestatus
Sep 5, 2002 9:35:25 AM (freenet.node.Main, main): Failed to load service:
nodestatus
freenet.interfaces.ServiceException: No class given
at freenet.node.Main.loadService(Main.java:766)
at freenet.node.Main.startNode(Main.java:730)
at freenet.node.Main.main(Main.java:431)
Sep 5, 2002 9:35:25 AM (freenet.node.Main, main): loading service: nodeinfo
Sep 5, 2002 9:35:25 AM (freenet.node.Main, main): Failed to load service:
nodeinfo
freenet.interfaces.ServiceException: No class given
at freenet.node.Main.loadService(Main.java:766)
at freenet.node.Main.startNode(Main.java:730)
at freenet.node.Main.main(Main.java:431)
Sep 5, 2002 9:35:26 AM (freenet.node.Node, main): Starting ticker..
Sep 5, 2002 9:35:26 AM (freenet.node.Node, main): Starting interfaces..
Sep 5, 2002 9:35:26 AM (freenet.node.Main, main): Cannot announce with no
 seed nodes!
Sep 5, 2002 9:36:22 AM (freenet.node.Main$FSInitializer, store-initializer):
finished initializing store (60 sec)

-

there are indeed no seed nodes in todays seednodes.ref file.
and my guess is that fproxy, nodestatus etc. could not be loaded because
 there is no relevant configuration options for them in freenet.conf

maybe someone would care to send me their freenet.conf file?

any ideas anyone?
Thanks,

Sascha Noyes

On Thursday 05 September 2002 07:01 am, you wrote:
 grep listenPort freenet.conf


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



[freenet-support] seednodes.ref of today update is empty!!!

2002-09-05 Thread Thomas Goebel

Regards,
Thomas

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



[freenet-support] Anyone knows?

2002-09-05 Thread artszi

Hi,

Last week I started my 2nd node(win98, 256kbs, 10gb 24/7). Two days
ago I accesed ftp via IE (I know..) and saw something like this in
freenet folder:
Sep  3 14:24 store_27694 size 5,25 PB
after few hours size was 2,02 EB

When I looked on my disk there was normal name
store size 4,5 GB.

Now when I`m looking on ftp it has still name Sep 3 14:24 store_27694
but size 0.

Could anyone tell me whats that?

Zdrowka,
Gotard


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



[freenet-support] *.allowedHost does not work since update!!!!!!!

2002-09-05 Thread Thomas Goebel

Hello,

any setup with

destatus.allowedHosts, fproxy.allowedHosts, nodeinfo.allowedHost,
nodestatus.allowedHost, console.allowedHost
has no effect.

All hosts can access all freenet services.

Please tell this the developer.

Regards,
Thomas

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



Re: [freenet-support] Anyone knows?

2002-09-05 Thread Stephen Mollett

On Thursday 05 Sep 2002 18:04, [EMAIL PROTECTED] wrote:
 ... I accesed ftp ... and saw something like this in
 freenet folder:
 Sep  3 14:24 store_27694 size 5,25 PB
 after few hours size was 2,02 EB
 When I looked on my disk there was normal name
 store size 4,5 GB.
 Now when I`m looking on ftp it has still name Sep 3 14:24 store_27694
 but size 0.

I'd say your FTP daemon probably doesn't understand large files. Or possibly 
IE doesn't. (I know there are issues with large files in Win9x.)

Not related to the FTP problem, but have you tried updating the node yet? I 
wanted to have a fairly large data store (I've got a spare 40GB drive sitting 
on the shelf) but even with only 256MB, I have to delete the store almost 
every time I restart the node. A smaller store seems to be more robust (only 
subjective).

Stephen

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



Re: [freenet-support] *.allowedHost does not work since update!!!!!!!

2002-09-05 Thread Greg Wooledge

Thomas Goebel ([EMAIL PROTECTED]) wrote:

 any setup with
 
 destatus.allowedHosts, fproxy.allowedHosts, nodeinfo.allowedHost,
 nodestatus.allowedHost, console.allowedHost
 has no effect.
 
 All hosts can access all freenet services.

I cannot confirm this.  Please give more details (exactly which
build number you are running, actual contents of allowedHosts
parameters in the config file, IP address of node, IP address of
client machine you tested from).

 Please tell this the developer.

They seem to read [EMAIL PROTECTED] and not this list.  I
suggest you write to that address.  (You'll have to be subscribed;
Ian Clarke himself admitted that posts from non-subscribers go into
a black hole.)

-- 
Greg Wooledge  |   Truth belongs to everybody.
[EMAIL PROTECTED]  |- The Red Hot Chili Peppers
http://wooledge.org/~greg/ |



msg01081/pgp0.pgp
Description: PGP signature


Re: [freenet-support] trouble getting freenet started behind a NAT

2002-09-05 Thread Greg Wooledge

Sascha Noyes ([EMAIL PROTECTED]) wrote:

 when i run ./preconfig.sh, i get a freenet.conf file with 3 lines:
 
 ipAddress=localhost.localdomain
 listenPort=19871
 seedNodes=seednodes.ref

Ick!  Then don't do that.  It's clearly broken.

 however if i run start-freenet.sh without the --config switch (seeing as i 
 already ran preconfig.sh it doesnt print that i should run start-freenet.sh 
 with the --cofig switch) freenet seems to start up normally, but this is what 
 is printed in the log file:
 [...]
 Sep 5, 2002 9:35:25 AM (freenet.node.Main, main): Failed to load service: 
 fproxy
 freenet.interfaces.ServiceException: No class given

Your config file is incomplete.

 Sep 5, 2002 9:35:26 AM (freenet.node.Main, main): Cannot announce with no seed 
 nodes!

And you have no seed nodes. :(

 there are indeed no seed nodes in todays seednodes.ref file.

Ouch.  Get one from someone else, then.  Mine (not *terribly* recent,
but it should be usable) is at http://wooledge.org/~greg/seednodes.ref.
Or use google to find others.  (I hope there *are* some others.)

 maybe someone would care to send me their freenet.conf file?

(You sent this message only to me, not to the support list.)

You probably don't want that.  What we need is good documentation for
this stuff, because it's obvious that whatever you were reading is
full of shit.  (Or there are major bugs in the scripts you were running.)

Here's what you should do to get Freenet working on a Unix-like system:

0) Decide how big your data store will be.

1) Install a Java VM.

2) Create a freenet user account and make its home directory reside on
   a file system with enough space for the data store and some big logs.
   Do all the rest of this as the freenet user.

3) Download the freenet-ext.jar and freenet.jar and seednodes.ref files.
   The seednodes.ref can come from anywhere, not necessarily
   freenetproject.org.  The freenet.jar file is actually named
   freenet-latest.jar on the snapshots page; rename it or symlink it.

4) export CLASSPATH=$HOME/freenet.jar:$HOME/freenet-ext.jar
   java freenet.node.Main --config

5) Customize the freenet.conf file that was just created.

6) Enable port forwarding on your firewall if needed.

7) Set any additional environment variables or ulimit commands or umask
   commands, etc., that may be necessary in your environment (e.g.,
   ulimit -n 128; ulimit -d 262144).

8) Determine if any additional arguments are needed for your Java VM to
   run a node successfully (e.g., -mx 256M).

9) nohup java [additional args] freenet.node.Main 

When you're happy  comfy with the results, customize your freenet user's
dot-files, or write some run scripts, or set up cron jobs, or set up
boot scripts to start the node at system boot time, or whatever. :-)

I don't have any files named *.sh in my freenet user's directory.  Based
on what you've just told me, I'm glad I don't.

-- 
Greg Wooledge  |   Truth belongs to everybody.
[EMAIL PROTECTED]  |- The Red Hot Chili Peppers
http://wooledge.org/~greg/ |



msg01082/pgp0.pgp
Description: PGP signature