Re: [freenet-support] Freenet on FreeBSD

2004-08-18 Thread evolution
Quoting S [EMAIL PROTECTED]:

 I have written a cronjob and some accompanying scripts, such that the
 cronjob runs once per minute, and ensures that Freenet is running, and
 if not, runs it, unless I had at some prior point manually run
 =2E/stop-freenet.sh, in which case the script realizes that I had
 intentionally stopped Freenet, and does not fire it up.

I'm not sure if it's right for the job, I only discovered it the other day, but
there's something called supervise in the daemontools package.  It can be
found here:

http://cr.yp.to/daemontools.html

It's in Gentoo's Portage, it's in ports, there's an RPM available.  'supervise'
will run a program and restart it if it exits, until you stop it.  I've not
tried it.

-todd

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] Freenet on FreeBSD

2004-08-13 Thread S
On Wed, 11 Aug 2004 15:48:37 -0400
Paul [EMAIL PROTECTED] wrote:

 The binary on the server at the moment is a 1.3 vm. To get the 1.4 vm
 working you have to download the source and some binaries from sun's
 site, apply a patch from the bsd team, and then compile it. (all
 because of sun's lisense) Sounds simple enough execpt compiling it
 requires a java vm.
 ~Paul

Fuck that noise. If you can support Linux binary compatibility (try
linux_enable=YES in /etc/rc.conf), you can use the Linux binary
version of Java instead of jumping through hoops to compile a native
recent version on FreeBSD.

# fetch http://java.sun.com/webapps/download/AutoDL?BundleId=9719;
# mv AutoDL\?BundleId\=9719 j2re1.4.2_05
# chmod 755 j2re1.4.2_05
# ./j2re1.4.2_05

[press Enter a lot, then agree to the license]

Finally, edit your start-freenet.sh to point to the copy of Java that
you installed.

This is how I run Freenet under FreeBSD ... with the Linux distribution.
It's a shame that Dolphin is no longer participating here, he was a
FreeBSD user who had managed to compile his own local native copy of
Java. I could never get it to work, so I went with emulating the Linux
version.

-s
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] Freenet on FreeBSD

2004-08-13 Thread Paul
'linux_enable=YES' is enabled on the server. Like I said, it runs
for a while and dies with one or two processes hogging all the
avalible cpu time. What version of freebsd are you using? I did get it
running by pointing the freenet scripts to the java vm loc. Anyway,
I'm going to wait and see if newer versions of freenet will work with
it. Otherwise I'm gonna wait for my hosting company to get a linux
server :-P
~Paul


On Fri, 13 Aug 2004 03:51:15 -0500, S [EMAIL PROTECTED] wrote:
 On Wed, 11 Aug 2004 15:48:37 -0400
 Paul [EMAIL PROTECTED] wrote:
 
  The binary on the server at the moment is a 1.3 vm. To get the 1.4 vm
  working you have to download the source and some binaries from sun's
  site, apply a patch from the bsd team, and then compile it. (all
  because of sun's lisense) Sounds simple enough execpt compiling it
  requires a java vm.
  ~Paul
 
 Fuck that noise. If you can support Linux binary compatibility (try
 linux_enable=YES in /etc/rc.conf), you can use the Linux binary
 version of Java instead of jumping through hoops to compile a native
 recent version on FreeBSD.
 
 # fetch http://java.sun.com/webapps/download/AutoDL?BundleId=9719;
 # mv AutoDL\?BundleId\=9719 j2re1.4.2_05
 # chmod 755 j2re1.4.2_05
 # ./j2re1.4.2_05
 
 [press Enter a lot, then agree to the license]
 
 Finally, edit your start-freenet.sh to point to the copy of Java that
 you installed.
 
 This is how I run Freenet under FreeBSD ... with the Linux distribution.
 It's a shame that Dolphin is no longer participating here, he was a
 FreeBSD user who had managed to compile his own local native copy of
 Java. I could never get it to work, so I went with emulating the Linux
 version.
 
 -s

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Freenet on FreeBSD

2004-08-11 Thread Paul
I'm working on setting up a freenet node on a machine running FreeBSD
4.6. The java vm that is already installed (and is the most current
version) is a java 1.3 vm. Sun does not release a vm for the BSDs. At
the moment I'm planing on compiling the jdk from the source provided
by sun with the freebsd patches (www.freebsd.org/java). Any advice?
Will freenet work with the freebsd patched version?
~Paul
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] Freenet on FreeBSD

2004-08-11 Thread TLD
Paul wrote:
 I'm working on setting up a freenet node on a machine running FreeBSD
 4.6. The java vm that is already installed (and is the most current
 version) is a java 1.3 vm. Sun does not release a vm for the BSDs. At

You really need at last the (possibly latest) 1.4 jvm, sorry.
Me, I use the 1.4.2 linux version on NetBSD, and it works very well.

-- 
/~\ The ASCIITLD
\ / Ribbon Campaign They that can give up essential liberty to obtain
 X  Against HTMLa little temporary safety deserve neither liberty
/ \ Email!  nor safety. -- Benjamin Franklin

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] Freenet on FreeBSD

2004-08-11 Thread Paul
The binary on the server at the moment is a 1.3 vm. To get the 1.4 vm
working you have to download the source and some binaries from sun's
site, apply a patch from the bsd team, and then compile it. (all
because of sun's lisense) Sounds simple enough execpt compiling it
requires a java vm.
~Paul

On Wed, 11 Aug 2004 21:05:33 +0200, TLD [EMAIL PROTECTED] wrote:
 Paul wrote:
  I'm working on setting up a freenet node on a machine running FreeBSD
  4.6. The java vm that is already installed (and is the most current
  version) is a java 1.3 vm. Sun does not release a vm for the BSDs. At
 
 You really need at last the (possibly latest) 1.4 jvm, sorry.
 Me, I use the 1.4.2 linux version on NetBSD, and it works very well.
 
 --
 /~\ The ASCIITLD
 \ / Ribbon Campaign They that can give up essential liberty to obtain
  X  Against HTMLa little temporary safety deserve neither liberty
 / \ Email!  nor safety. -- Benjamin Franklin
 
 ___
 Support mailing list
 [EMAIL PROTECTED]
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
 Or mailto:[EMAIL PROTECTED]

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Freenet on FreeBSD?

2002-05-23 Thread Kenneth Stailey

I am using freenet-20020522 on FreeBSD 4.6-RC via linux emulation.
I can see the client port is active via lsof | grep :

When I try to access:

http://127.0.0.1:/SSK@h%7Eixmz11-tDOox9O1gQyjkzAUCcPAgM/fmb/5//

via Mozilla 1.0-RC2 I get document contains no data.


May 23, 2002 8:51:59 AM (freenet.node.Main, main): loading node keys:
node_22154
May 23, 2002 8:52:00 AM (freenet.node.NodeReference, main): Seen new highest
build: 466
May 23, 2002 8:52:00 AM (freenet.node.Main, main): starting filesystem
May 23, 2002 8:52:03 AM (freenet.node.Main, main): loading data store
May 23, 2002 8:52:03 AM (freenet.node.Main, main): loading routing table
May 23, 2002 8:52:03 AM (freenet.node.Main, main): loading temp bucket factory
May 23, 2002 8:52:03 AM (freenet.node.Main, main): starting node
May 23, 2002 8:52:03 AM (freenet.node.Node, main): Freenet Node:
af1cfb5ac8b5fb9ff5dcda9528b022601caff3fa (build 466)
May 23, 2002 8:52:03 AM (freenet.node.Main, main): loading service: fproxy
May 23, 2002 8:52:03 AM (freenet.node.Main, main): loading service: nodestatus
May 23, 2002 8:52:03 AM (freenet.node.Main, main): loading service: nodeinfo
May 23, 2002 8:52:03 AM (freenet.node.Node, main): Starting ticker..
May 23, 2002 8:52:03 AM (freenet.node.Node, main): Starting interfaces..
May 23, 2002 8:52:03 AM (freenet.interfaces.PublicInterface, Interface #
tcp/22154): Starting interface: Interface # tcp/22154
May 23, 2002 8:52:03 AM (freenet.interfaces.LocalInterface, Interface #
tcp/): Starting interface: Interface # tcp/
May 23, 2002 8:52:03 AM (freenet.interfaces.LocalInterface, Interface #
tcp/): Starting interface: Interface # tcp/
May 23, 2002 8:52:03 AM (freenet.interfaces.LocalInterface, Interface #
tcp/): Cannot open listener: Interface # tcp/
freenet.ListenException: tcp/: Address already in use
at freenet.transport.tcpListener.init(tcpListener.java:32)
at
freenet.transport.tcpListeningAddress.getListener(tcpListeningAddress.java:35)
at freenet.interfaces.Interface.acceptConnections(Interface.java:177)
at freenet.interfaces.Interface.run(Interface.java:154)
at java.lang.Thread.run(Thread.java:484)
May 23, 2002 8:52:03 AM (freenet.interfaces.LocalInterface, Interface #
tcp/8889): Starting interface: Interface # tcp/8889
May 23, 2002 8:52:03 AM (freenet.interfaces.LocalInterface, Interface #
tcp/8890): Starting interface: Interface # tcp/8890
May 23, 2002 8:52:03 AM (freenet.node.states.maintenance.Checkpoint,
PThread-120): Executing Checkpoint: Purge table of recently failed keys.
May 23, 2002 8:52:03 AM (freenet.node.states.announcing.Announcing, main):
Scheduling announcements to 1 target nodes on chain b0f7f83a198981ba
May 23, 2002 8:52:03 AM (freenet.node.states.announcing.SendAnnouncement,
PThread-120): Scheduling announcement attempt #1 in 1800s  to node: Peer
[DSA(a126 828c 9ce3 0fbc 9001  b708 0a10 be4a 5377 0183) @
tcp/hawk.freenetproject.org:3723 (1/1)]
May 23, 2002 8:52:08 AM (freenet.interfaces.LocalInterface, Interface #
tcp/): Cannot open listener: Interface # tcp/
freenet.ListenException: tcp/: Address already in use
at freenet.transport.tcpListener.init(tcpListener.java:32)
at
freenet.transport.tcpListeningAddress.getListener(tcpListeningAddress.java:35)
at freenet.interfaces.Interface.acceptConnections(Interface.java:177)
at freenet.interfaces.Interface.run(Interface.java:154)
at java.lang.Thread.run(Thread.java:484)
May 23, 2002 8:52:13 AM (freenet.interfaces.LocalInterface, Interface #
tcp/): Cannot open listener: Interface # tcp/
freenet.ListenException: tcp/: Address already in use
at freenet.transport.tcpListener.init(tcpListener.java:32)
at
freenet.transport.tcpListeningAddress.getListener(tcpListeningAddress.java:35)
at freenet.interfaces.Interface.acceptConnections(Interface.java:177)
at freenet.interfaces.Interface.run(Interface.java:154)
at java.lang.Thread.run(Thread.java:484)
May 23, 2002 8:52:18 AM (freenet.node.states.maintenance.Checkpoint,
PThread-120): Executing Checkpoint: Polling and aggregation of diagnostics.
May 23, 2002 8:52:18 AM (freenet.interfaces.LocalInterface, Interface #
tcp/): Cannot open listener: Interface # tcp/
freenet.ListenException: tcp/: Address already in use
at freenet.transport.tcpListener.init(tcpListener.java:32)
at
freenet.transport.tcpListeningAddress.getListener(tcpListeningAddress.java:35)
at freenet.interfaces.Interface.acceptConnections(Interface.java:177)
at freenet.interfaces.Interface.run(Interface.java:154)
at java.lang.Thread.run(Thread.java:484)
May 23, 2002 8:52:23 AM (freenet.interfaces.LocalInterface, Interface #
tcp/): Cannot open listener: Interface # tcp/
freenet.ListenException: tcp/: Address already in use
at freenet.transport.tcpListener.init(tcpListener.java:32)
at