Re: [freenet-support] Installation redux

2003-11-07 Thread Edward J. Huff
On Thu, 2003-11-06 at 19:27, Phil Rabne wrote:
 I tried inserting the suggested two lines as follows after the #!bin/sh comment:
   
   PATH=/philtr/j2sdk_nb/j2sdk1.4.2./jre/bin/java:$PATH
   export PATH
 
 Of course I'm assuming that 'jre' stands for, java runtime environment 
 (of course one knows what happens when one assumes!) No luck. 
 

First, try

locate -r 'bin/java$'

I see this:

[...]$ locate -r 'bin/java$'
/usr/local/bin/java
/usr/local/ImageJ/ImageJ/jre/bin/java
/usr/java/j2re1.4.2/bin/java
/usr/java/j2re1.4.1_02/bin/java
/usr/java/j2sdk1.4.1_02/bin/java
/usr/java/j2sdk1.4.1_02/jre/bin/java

Try this command:

ls -l /philtr/j2sdk_nb/j2sdk1.4.2./jre/bin/

I suspect that gives an error message.

I don't think the period after 1.4.2. should be there, because I
happen to know that people at Sun would never make a directory
name ending in a period.  It just isn't done, even though there
is no rule against it.

So try this:

ls -l /philtr/j2sdk_nb/j2sdk1.4.2/jre/bin/java

You should see something like

-rwxr-xr-x1 philtr   philtr  24564 Jun 20 05:04 java

Once you have found your java executable, fix PATH.  Try

PATH=/philtr/j2sdk_nb/j2sdk1.4.2/jre/bin/:$PATH

and then 

java -version

This works until you exit the shell where you fixed PATH.
So either change your .bash_profile, or put the PATH into
the script.

 I then inserted a '#' in front of the JAVA... statement, still no luck.

Not something to do.  The _ is just another letter in the variable name.

JAVA_IMPL=`java -version 21 | head -1 | cut -f1 -d' '`

That line means the following:

Set the variable JAVA_IMPL to the string following the equal,
after expansion.

The stuff after the equal means:  execute the pipeline and
replace the backquotes and all inside with the output of the
pipeline.  The pipeline executes 'java -version', i.e. it
runs java with the option asking it to print the version.
It assigns stderr to the same file as stdout (21), and
pipes the output into the head -1 command.  That
discards all but the first line of the output.  The
single line goes into cut -f1 -d' ', which takes the first 
field delimited by blanks.

So JAVA_IMPL is set to be the first word of the first line
output by java -version.  In the case of Sun's 1.4.2, that
is java.

But I don't see where JAVA_IMPL is used.  It isn't exported,
and it isn't reference in this script.

  
 Now I'm really scratching my head.  
 
 Any suggestions? 
 
 I'm attaching a copy of 'start-freenet.sh' just in case I'm missing a 
 critical statement further down in the file. 
 
 Of course I might be in the wrong directory altogether. The other 
 'java' executable is in:
   
   /philtr/j2sdk_nb/j2sdk1.4.2/bin/java

Hmm.  Should have read all the way down.  You found the right
bin/java above, but made a typo in your PATH= command.

Actually, I find that the two files are identical:

cmp /usr/java/j2sdk1.4.1_02/bin/java \
/usr/java/j2sdk1.4.1_02/jre/bin/java

produces no output.

 
 While this is headed to the ethernet, I'll be playing with:
 
   PATH=/philtr/j2sdk_nb/j2sdk1.4.2/bin/java:$PATH
   export PATH
 
This should have worked.

Rumor has it that 1.4.1_02 works better with freenet.  I have
both, but use 1.4.1_02.

-- Ed Huff



signature.asc
Description: This is a digitally signed message part
___
Support mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support

Re: [freenet-support] View Freenet.log

2003-11-07 Thread dave
 For the first time today I discovered the right-click Menu on the View
 Freenetlog.  I'm well trained.  I don't expect a menu on a grayed window!

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


Re: [freenet-support] help

2003-11-07 Thread dave
 Well, at the very least, I would not confuse the user by putting a button
 on the window that claims it moves something to the clip board.

It's not confusing, it just doesn't do anything.  It would, if it was
finished, but it isn't finished.  It's not hard to add that functionality,
it would take about twenty minutes which I don't have.

 Updating
 the viewer is fine if you don't deceive the user by suggesting that data
 can be moved to the clip board.

Updating the viewer is fine, irrespective of whether or not the Copy To
Clipboard button functionality works

 Copy selection to clipboard is very
 deceiving.  The fact the window is gray (rather than white) does suggest
 that it is only a viewer, but the window does allow marking which also
 suggests one can do something with that which is marked.

Yes - this is because you can.

  And one can
 using
 ctrl-c, but one cannot mark enough usually to completely answer a
 question.

That's true, but that's a more difficult fix.  Um, that's why I suggested
adding a 'launch in editor' button, but no-one's yet followed up with
saying whether it is a good or a bad idea.

 Unfortunately users (vs developers, perhaps) should hardly be expected to
 know enough to select very meaningfully from the clipboard.

Select very meaningfully from the clipboard ?   Do you mean, like,
'paste' or what?

 I know it is
 developmental, but if you WANT ordinary users to use the system with the
 hope of building an adequate system database, it does need to be
 relatively
 easy for those novices to help.

Which is why I ... oh never mind.

 Maybe I could add a button which also loads it into an editor of your
 choice.  The point is View Logfie is essentially a window doing a tail
 of the logfile.

In fact, if we have 'ordinary users' using the system, then we wouldn't
really need a logfile, and we certainly wouldn't need to ask them to copy
and paste bits to the mailing lists.  But that functionality's useful for
the rest of us.  Just because there is a view logfile button doesn't
mean ordinary users need to use it.  Which is why I would usually suggest
someone mailing us freenet.log, rather than trying to copy+paste from the
logfile viewer.  Which is a silly thing to try to do, really.

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


[freenet-support] Too large log file (100GB) - out of disk space

2003-11-07 Thread laza
This morining my Win machine complained about no disk space. It turned 
out, the Freenet log file (freenet.log) was taking the remaining 100 
GIGAbytes of my disk. I did not know how to open the file because the apps 
would not have temp workspace on the disk.

Anyway, below is an excerpt from the log. (SelectorImpl.java:55) error 
repeats over and over. A clue: Since yesterday, my freenet has been 
utilizing 98% of the CPU. I thought that someone is using my node a lot, 
but now I think the Freenet has been in a dead loop.

Is there a way of limiting the log file?
Is the list of known bugs maintained anywhere?
-Laza
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
FRENET.LOG -

Nov 6, 2003 11:51:46 AM (freenet.transport.ReadSelectorLoop,  read 
interface thread, ERROR): Caught throwable in AbstractSelectorLoop!: 
java.nio.channels.ClosedSelectorException
java.nio.channels.ClosedSelectorException
	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:55)
	at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
	at 
freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:425)
	at 
freenet.transport.ReadSelectorLoop.beforeSelect(ReadSelectorLoop.java:99)
	at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:548)
	at freenet.transport.ReadSelectorLoop.run(ReadSelectorLoop.java:419)
	at java.lang.Thread.run(Thread.java:534)
java.nio.channels.ClosedSelectorException
	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:55)
	at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
	at 
freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:425)
	at 
freenet.transport.ReadSelectorLoop.beforeSelect(ReadSelectorLoop.java:99)
	at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:548)
	at freenet.transport.ReadSelectorLoop.run(ReadSelectorLoop.java:419)
	at java.lang.Thread.run(Thread.java:534)
java.nio.channels.ClosedSelectorException
	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:55)
	at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
	at 
freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:425)
	at 
freenet.transport.ReadSelectorLoop.beforeSelect(ReadSelectorLoop.java:99)
	at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:548)
	at freenet.transport.ReadSelectorLoop.run(ReadSelectorLoop.java:419)
	at java.lang.Thread.run(Thread.java:534)
java.nio.channels.ClosedSelectorException
	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:55)
	at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
	at 
freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:425)
	at 
freenet.transport.ReadSelectorLoop.beforeSelect(ReadSelectorLoop.java:99)
	at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:548)
	at freenet.transport.ReadSelectorLoop.run(ReadSelectorLoop.java:419)
	at java.lang.Thread.run(Thread.java:534)
java.nio.channels.ClosedSelectorException
	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:55)
	at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
	at 
freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:425)
	at 
freenet.transport.ReadSelectorLoop.beforeSelect(ReadSelectorLoop.java:99)
	at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:548)
	at freenet.transport.ReadSelectorLoop.run(ReadSelectorLoop.java:419)
	at java.lang.Thread.run(Thread.java:534)
java.nio.channels.ClosedSelectorException
	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:55)
	at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
	at 
freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:425)
	at 
freenet.transport.ReadSelectorLoop.beforeSelect(ReadSelectorLoop.java:99)
	at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:548)
	at freenet.transport.ReadSelectorLoop.run(ReadSelectorLoop.java:419)
	at java.lang.Thread.run(Thread.java:534)
java.nio.channels.ClosedSelectorException
	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:55)
	at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
	at 
freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:425)
	at 
freenet.transport.ReadSelectorLoop.beforeSelect(ReadSelectorLoop.java:99)
	at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:548)
	at freenet.transport.ReadSelectorLoop.run(ReadSelectorLoop.java:419)
	at java.lang.Thread.run(Thread.java:534)
java.nio.channels.ClosedSelectorException
	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:55)
	at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
	at 
freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:425)
	at 
freenet.transport.ReadSelectorLoop.beforeSelect(ReadSelectorLoop.java:99)
	at 

Re: [freenet-support] Too large log file (100GB) - out of disk space

2003-11-07 Thread Joel Konkle-Parker
Quoting [EMAIL PROTECTED]:
 This morining my Win machine complained about no disk space. It turned
 
 out, the Freenet log file (freenet.log) was taking the remaining 100 
 GIGAbytes of my disk. I did not know how to open the file because the
 apps 
 would not have temp workspace on the disk.

I can confirm this. I've been using Freenet on my Windows XP box for a while,
and every so often I get a message about lack of disk space. I delete a multi-GB
freenet.log, and wait a few weeks until it happens again.


-- 
Joel Konkle-Parker
Webmaster [Ballsome.com]

Phone [662-518-1636]
E-mail[EMAIL PROTECTED]
___
Support mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support


[freenet-support] transient mode

2003-11-07 Thread Aureliano Rama
how can i find indication to see if i'm in transient mode or not?
I'm quite surely behind a firewall of some type (i'm on university
network) however I never noticed a warning on transient mode.

I just noticed that my Open Connection page never show up inbound
conns, and from what I understood that is a good advice of difficult
for other nodes to connect to me.

many thanks,
Aureliano Rama
Corso di Laurea in Informatica, Pisa

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


Re: [freenet-support] transient mode

2003-11-07 Thread Nick Tarleton
See freenet.conf. If there is a line saying 'transient=true' or 'announce=false' - 
WITHOUT a % or # before it- then you are transient, and if you want to be permanent, 
you should put a % before any such lines.

-Original Message-
From: Aureliano Rama [EMAIL PROTECTED]
Sent: Nov 7, 2003 12:52 PM
To: [EMAIL PROTECTED]
Subject: [freenet-support] transient mode

how can i find indication to see if i'm in transient mode or not?
I'm quite surely behind a firewall of some type (i'm on university
network) however I never noticed a warning on transient mode.

I just noticed that my Open Connection page never show up inbound
conns, and from what I understood that is a good advice of difficult
for other nodes to connect to me.

many thanks,
Aureliano Rama
Corso di Laurea in Informatica, Pisa

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

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


[freenet-support] Waited message - requested that I send this

2003-11-07 Thread Brian T. Schellenberger

I am using FreeBSD 4.9-STABLE and jdk-1.4.1p4_1

Your software asked me to this message, so I am doing so:

Waited more than 200ms to dequeue, 7 in queue, 1123 millis since enqueued last 
item, 2532 maximum waits so far - could indicate serious JVM bug. Please 
report to [EMAIL PROTECTED] along with JVM and OS/kernel.


However, in fairness I am not only beating on freenet pretty hard (inserting 
one large file and downloading 3 large splitfiles at the same time), I am 
also moving some large directories between disks at the same time, so I'm 
really beating on the machine.  That might explain extreme performance 
issues.  On the other hand, it's responsive enough for sending mail and such.

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
___
Support mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support