Well, not quite a patch, but, when Java fails to start, due to the
--background option of start-stop-daemon (in
/etc/init.d/freenet[-unstable]), _no errors are displayed_.

I just spent a couple hours tracking this down (I haven't done much GNU/
Linux development) and so I recommend putting this at the top of the
file:

# DEBUGGING: Use --verbose _instead of_ --background, when freenet
# fails to start, and this will likely give you a good hint (or at
# least for the developers) of what's gone wrong:
background=--background
#background=--verbose


And then obviously, down at the "start" start-stop-daemon line, instead
of "--background", put "$background". Pick a new term if you're
pedantic.

Thanks for listening, hopefully this will help the next guy.

--------------
And finally, for the error I face, another feature request (if it makes
sense: perhaps freenet should check to see if /var/lib/freenet/node-tmp
exists and if not, create it ?? I can do this now, but my current setup
has tmp, not node-tmp.

cheers
zen

_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to