tag:blogger.com,1999:blog-5247932955583395429.post3878223207042212178..comments2012-07-04T11:25:36.162-07:00Comments on Phill's Tech Stuff: Howto: get Azureus to start at boot and run headless (ie without a gui) on LinuxPhillhttp://www.blogger.com/profile/07654940241951648975noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-5247932955583395429.post-32752283453481109762012-07-04T11:25:36.162-07:002012-07-04T11:25:36.162-07:00I get the [[: not found
my fix is change
#! /bin/s...I get the [[: not found<br />my fix is change<br />#! /bin/sh<br />to<br />#! /bin/bashAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-65069474578107586672012-07-04T11:14:03.158-07:002012-07-04T11:14:03.158-07:00This comment has been removed by the author.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-18536394223664662432011-10-04T12:07:15.282-07:002011-10-04T12:07:15.282-07:00to avoid the kill, another approach is to use the ...to avoid the kill, another approach is to use the telnetUI as below:<br /><br />start azureus as with :<br /><br />--ui=telnet (instead of --ui=console)<br /><br />it will start a telnet server, for example:<br /><br />changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)'<br />Telnet server started. Listening on port: 57006<br /><br /><br />you have telnet access now (telnet 0 57006) to manage azureus<br /><br />and to stop it, there is supported command "quit iamsure" which will stop (not kill) the app in regular way!<br /><br />this is what i decided to use, hope it helps if you are interested :)1lias3https://www.blogger.com/profile/12688629717908512820noreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-21647004794157599982010-03-07T18:41:52.497-08:002010-03-07T18:41:52.497-08:00Write this in the headless.sh file
java -jar Azur...Write this in the headless.sh file<br /><br />java -jar Azureus2.jar --ui=console < /dev/null >>logfile.txt 2>>errorfile.txt&<br /><br />And the "Starting azureus_rcscript.sh: Starting Azureus daemon" problem on boot disappear.Ningunohttps://www.blogger.com/profile/02364088503015262741noreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-44019254735955466582010-03-06T08:14:26.917-08:002010-03-06T08:14:26.917-08:00@Bferd
maybe line break at wrong place.@Bferd<br />maybe line break at wrong place.Huang, Taohttps://www.blogger.com/profile/00243765451579696725noreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-59922716574051975302010-03-06T08:07:06.464-08:002010-03-06T08:07:06.464-08:00I keep getting this error
/etc/init.d/azureus_rcs...I keep getting this error<br /><br />/etc/init.d/azureus_rcscript.sh: 65: [[: not foundAnonymoushttps://www.blogger.com/profile/06217596758780111641noreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-31308711726760919222009-10-11T19:17:56.074-07:002009-10-11T19:17:56.074-07:00Azureus Daemon in Slackware
Making clicky link.<a href="http://docs.google.com/View?id=ddt54qhw_1f5hcwbg6" rel="nofollow">Azureus Daemon in Slackware</a><br /><br />Making clicky link.Anonymoushttps://www.blogger.com/profile/01826858298859555992noreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-39839675044578615352009-10-11T19:15:38.720-07:002009-10-11T19:15:38.720-07:00Killing the java process with just the plain kill ...Killing the java process with just the plain kill command gives it a chance to close properly. If the script called "kill -9" then no, it wouldn't close nicely.<br /><br />P.S. Thanks Phill. The script works great for me in slackware (with some mods). I changed it so that it didn't rely on headless.sh for launching the program but instead just did it directly inside the script.<br /><br />I've posted my modified version here:<br />http://docs.google.com/View?id=ddt54qhw_1f5hcwbg6<br /><br />Anyone know what I need to change to make restart work properly?Anonymoushttps://www.blogger.com/profile/01826858298859555992noreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-86432195301563580462008-09-05T00:55:00.000-07:002008-09-05T00:55:00.000-07:00hi Phill,this is a good alternative script to the ...hi Phill,<BR/><BR/>this is a good alternative script to the official screen method, running azureus as a daemon<BR/><BR/>but do you think azureus can shutdown "tidily" when the process is simply killed?Huang, Taohttps://www.blogger.com/profile/00243765451579696725noreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-74266735401983443822008-05-09T09:56:00.000-07:002008-05-09T09:56:00.000-07:00Hello phill,It's been quite awhile since this post...Hello phill,<BR/><BR/>It's been quite awhile since this posting. Are you still involved with this topic. I'm having the same problem as david had.John Jacklitschhttps://www.blogger.com/profile/01665953977442258887noreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-10332863540187043822007-02-26T21:25:00.000-08:002007-02-26T21:25:00.000-08:00Thanks for the comment David. My first thoughts ar...Thanks for the comment David. My first thoughts are:<BR/><BR/>The line it is hanging on is probably:<BR/> su $AZ_USER -c "cd $DIR; ./headless.sh"<BR/><BR/>Have you set the AZ_USER to a user that exists and has permission to run Azureus and DIR to the directory containing azureus? If you're using your own account (eg. david) and have decompressed all the files as that user then having something like:<BR/><BR/>AZ_USER=david<BR/>DIR=/home/david/azureus<BR/><BR/>should work.<BR/><BR/>If the above has been set correctly and it still isn't working then I'll need more information. It would help if you could give me an "ls -l" of your /etc/rc5.d/S99azureus_rcscript.sh, and also let me know if running "/etc/rc5.d/S99azureus_rcscript.sh<BR/>start" and "/etc/rc5.d/S99azureus_rcscript.sh stop" works<BR/><BR/>Thanks again for the feedback.Phillhttps://www.blogger.com/profile/07654940241951648975noreply@blogger.comtag:blogger.com,1999:blog-5247932955583395429.post-69528097489040108822007-02-26T21:03:00.000-08:002007-02-26T21:03:00.000-08:00Hi Phil,Just tried this script out. Seems to laun...Hi Phil,<BR/><BR/>Just tried this script out. Seems to launch azureus great (i can connect through html webui), but my linux box hangs during system startup. I get the message <BR/><BR/>"Starting azureus_rcscript.sh: Starting Azureus daemon", but it never goes to OK.<BR/><BR/>Any thoughts?Anonymoushttps://www.blogger.com/profile/11065068006466993757noreply@blogger.com