On Fri, 13 Aug 2004 16:06:07 -0400 Paul <[EMAIL PROTECTED]> wrote: > '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
I'm running FreeBSD 4.9-RELEASE-p7 (haven't cvsupped in awhile) and JRE 1.4.2_05 (the Linux .bin distribution). I have had similar results in that Freenet will run for a seemingly random amount of time, sometimes an hour or so, sometimes several days. Then, out of nowhere, Java will dump core along with an hs_err_pid* file indicating that Java died upon receiving signal 11, but no data was available regarding the crash. I've always chalked this oddness up to the fact that I was running the Linux Java on FreeBSD. 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 ./stop-freenet.sh, in which case the script realizes that I had intentionally stopped Freenet, and does not fire it up. I have no problem sharing these scripts (you will need PHP installed) if you want them, but they will almost certainly require modifications in the way - and under which user - you run Freenet. -s > > > 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]