mp328 Posted March 23, 2010 Share Posted March 23, 2010 this is so annoying..... i have to manually delete the .rtorrent.rc file and then reinstall the pkg everytime. even if i try "untorrent stop" and "start" 2 seconds later i get the same "500-internal error" and i have to delete the .rtorrent.rc file again. it wont even keep any settings in the .rtorrent.rc file if i change them in the web interface. are there any ports i have to open/adjust on the router to make this work. this is the only stupid thing that i cant figure out, all other issues i had with unraid are somewhat sorted out Link to comment
jjlawren Posted March 23, 2010 Share Posted March 23, 2010 this is so annoying..... i have to manually delete the .rtorrent.rc file and then reinstall the pkg everytime. even if i try "untorrent stop" and "start" 2 seconds later i get the same "500-internal error" and i have to delete the .rtorrent.rc file again. it wont even keep any settings in the .rtorrent.rc file if i change them in the web interface. are there any ports i have to open/adjust on the router to make this work. this is the only stupid thing that i cant figure out, all other issues i had with unraid are somewhat sorted out Is the .rtorrent.rc file different before and after you run rtorrent? I haven't used this specific package yet, but I'm fairly certain changes made in the web interface are not applied to the .rtorrent.rc file. That file must be edited directly for the changes to become persistent. Link to comment
mp328 Posted March 23, 2010 Share Posted March 23, 2010 No the .rc file doesn't change when I change the settings in the web interface. But I tried changing the settings manually but as I said if the file exist then the web interface gives me the 500 error Link to comment
jupilerman Posted March 24, 2010 Share Posted March 24, 2010 how do you edit the file ? Did you do it with the windows wordpad or a linux text editor ? rtorrent might not like the way windows ends the lines. Link to comment
mp328 Posted March 24, 2010 Share Posted March 24, 2010 how do you edit the file ? Did you do it with the windows wordpad or a linux text editor ? rtorrent might not like the way windows ends the lines. i was editing the file with wordpad, but that doesnt seem to make a difference. just downloaded notepad++ and edited the file with it. then sent command "untorrent stop" then "untorrent start" and going back to the webpage spits out the 500-internal error again. it was running all night since last night, after i manually deleted the rc file and installed the pkg again. but a stop/reboot gives me always 500-internal error Link to comment
purko Posted March 25, 2010 Author Share Posted March 25, 2010 ...after i manually deleted the rc file... Where exactly are you deleting it from? Give full path/name please. Do this: delete folder 'rtorrent' which is located inside folder 'custom' on your flash key. Then reboot. Now there's no trace of previous installations. Link to comment
mp328 Posted March 25, 2010 Share Posted March 25, 2010 ...after i manually deleted the rc file... Where exactly are you deleting it from? Give full path/name please. Do this: delete folder 'rtorrent' which is located inside folder 'custom' on your flash key. Then reboot. Now there's no trace of previous installations. that is the folder I was deleting the file from /flash/custom/rtorrent. Sorry I didn't mention that. I did not try to delete the whole folder before. But all I see in there is te rc and the log file. I'll give it a shot deletingthe folder as well, does my go file look ok to install it on every reboot?? Link to comment
purko Posted March 25, 2010 Author Share Posted March 25, 2010 I really have no idea why you would have such a problem. This package seems to work just fine for most people. Jupilerman's suggestion reminds me to ask you, are you really sure that you are not adding carriage returns at the end of the lines when you edit the file? The way UnTorrent installer works, it installs a fresh new config file in /custom/rtorrent/ only if no such file exists there. But if the installer finds that such a config file already exists at that location, then the installer does nothing. Also, I notice that in your 'go' file you install a whole bunch of other addons before installing UnTorrent. What are they? Maybe one of them is the reason for some incompatibility. Try eliminating them one by one and you'll find the culprit. Link to comment
mp328 Posted March 27, 2010 Share Posted March 27, 2010 I really have no idea why you would have such a problem. This package seems to work just fine for most people. Jupilerman's suggestion reminds me to ask you, are you really sure that you are not adding carriage returns at the end of the lines when you edit the file? The way UnTorrent installer works, it installs a fresh new config file in /custom/rtorrent/ only if no such file exists there. But if the installer finds that such a config file already exists at that location, then the installer does nothing. Also, I notice that in your 'go' file you install a whole bunch of other addons before installing UnTorrent. What are they? Maybe one of them is the reason for some incompatibility. Try eliminating them one by one and you'll find the culprit. still no luck here, i thought i had it working yesterday, but again it only worked because the .rc file was originaly gone. i edited the go file to only these lines #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & sleep 90 installpkg /boot/packages/untorrent-2.8.5.full-i486-1pur.tgz echo "/boot/unmenu/uu" | at now + 1 minute PATH=$PATH:/boot/custom/bin cache_dirs -w -e "Backup" -d 5 also here is the rtorrent.log file Sat Mar 27 15:18:45 GMT+4 2010 ##### Starting the untorrent 2.8.5 installation... ##### Found existing .rtorrent.rc in /boot/custom/rtorrent/ and left it unchanged. Installed persistent file: php.ini in /boot/custom/php/ Installed persistent file: mod_php.conf in /boot/custom/php/ Installed persistent file: lighttpd.conf in /boot/custom/lighttpd/ Installed persistent file: lighttpd.conf.include in /boot/custom/lighttpd/ Found existing rc.local_shutdown in /boot/config/ and left it unchanged. untorrent services: rtorrent ---- NOT started! lighttpd 4277 root 4u IPv4 8985 TCP *:89 (LISTEN) lighttpd 4277 root 5u IPv4 8986 TCP *:8089 (LISTEN) Sat Mar 27 15:18:49 GMT+4 2010 ##### Finished the untorrent 2.8.5 installation... ##### notice the red color?!? also from the first page some things u were suggesting to others root@unRaid:~# screen -ls No Sockets found in /root/.screen. root@unRaid:~# lighttpd -v lighttpd-1.4.19 (ssl) - a light and fast webserver Build-Date: Aug 5 2008 17:13:05 root@unRaid:~# php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/gd.so' - libt1.so.5: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mhash.so' - libmhash.so.2: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mysqli.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/pdo_mysql.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/pspell.so' - libaspell.so.15: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/snmp.so' - libnetsnmp.so.15: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/xsl.so' - libexslt.so.0: cannot open shared object file: No such file or directory in Unknown on line 0 PHP 5.2.8 (cli) (built: Dec 8 2008 04:38:12) Copyright © 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright © 1998-2008 Zend Technologies root@unRaid:~# rtorrent rtorrent: Invalid port_range argument. root@unRaid:~# Link to comment
jjlawren Posted March 27, 2010 Share Posted March 27, 2010 Your port_range declaration in /root/.rtorrent.rc is bad. It should look something like this: port_range = 20000-20000 (for a single port) port_range = 30000-33333 (for a range of ports) Link to comment
purko Posted March 27, 2010 Author Share Posted March 27, 2010 i thought i had it working yesterday, but again it only worked because the .rc file was originaly gone. ... here is the rtorrent.log file Sat Mar 27 15:18:45 GMT+4 2010 ##### Starting the untorrent 2.8.5 installation... ##### Found existing .rtorrent.rc in /boot/custom/rtorrent/ and left it unchanged. Installed persistent file: php.ini in /boot/custom/php/ Installed persistent file: mod_php.conf in /boot/custom/php/ Installed persistent file: lighttpd.conf in /boot/custom/lighttpd/ Installed persistent file: lighttpd.conf.include in /boot/custom/lighttpd/ Found existing rc.local_shutdown in /boot/config/ and left it unchanged. untorrent services: rtorrent ---- NOT started! lighttpd 4277 root 4u IPv4 8985 TCP *:89 (LISTEN) lighttpd 4277 root 5u IPv4 8986 TCP *:8089 (LISTEN) Sat Mar 27 15:18:49 GMT+4 2010 ##### Finished the untorrent 2.8.5 installation... ##### notice the red color?!? Notice the red color above your red color? So, how was it gone when the installer found it on your flash key? That file right there was probably corrupted somehow. Get rid of it and things should go back to normal. Link to comment
mp328 Posted March 28, 2010 Share Posted March 28, 2010 Your port_range declaration in /root/.rtorrent.rc is bad. It should look something like this: port_range = 20000-20000 (for a single port) port_range = 30000-33333 (for a range of ports) i think this was it... because i changed the port to xxxx for a single port and every time i delete the .rc file it would work, then i change it again and it kept crapping out. now i set it as xxxx-xxxx for single port and i can stop and start without issues. i'll try a few reboots, see if it still sticks tnx for the help guys next project - ps3 media server on this box Link to comment
mp328 Posted April 1, 2010 Share Posted April 1, 2010 is there a setting in the .rc file that will limit the amount of torrents being downloaded at the same time?? i personally prefer to download only 2-3 at a time and queue the rest, instead of 20 with a very low speed across all of them is this possible? Link to comment
jjlawren Posted April 1, 2010 Share Posted April 1, 2010 is there a setting in the .rc file that will limit the amount of torrents being downloaded at the same time?? i personally prefer to download only 2-3 at a time and queue the rest, instead of 20 with a very low speed across all of them is this possible? No, you'll need to handle this outside of rtorrent by using the watch folders (ie, a script that copies .torrent files from a queue directory into the watch directory). Link to comment
SBB Posted April 19, 2010 Share Posted April 19, 2010 Is it possible to update this to rutorrent 3.0 so I can install the UnPack plugin? Link to comment
purko Posted April 19, 2010 Author Share Posted April 19, 2010 Is it possible to update this to rutorrent 3.0 so I can install the UnPack plugin? 3.0 seemed a little buggy to me, so I thought I should maybe wait for 3.1 or something. Maybe I'll give it another try. Link to comment
SBB Posted April 19, 2010 Share Posted April 19, 2010 I would be very grateful if you could, it supports RSS and the unpack plugin would save everyone a huge amount of time im sure Link to comment
Koperfild Posted April 22, 2010 Share Posted April 22, 2010 When i try to add a torrent file it loads correctly but then, the whole interface freezes for some time and the torrent doesnt download at all. When i type rtorrent in the console it outputs "root@Tower:~# Error in option file: ~/.rtorrent.rc:17: Could not prepare socket for listening: Address already in use". What should i do? Link to comment
Joe L. Posted April 22, 2010 Share Posted April 22, 2010 When i try to add a torrent file it loads correctly but then, the whole interface freezes for some time and the torrent doesnt download at all. When i type rtorrent in the console it outputs "root@Tower:~# Error in option file: ~/.rtorrent.rc:17: Could not prepare socket for listening: Address already in use". What should i do? It probably means you already have an rtorrent client listening on that port, and you need to kill it before starting a new instance of rtorrent. (Only one process can listen to a port at a time) Link to comment
purko Posted April 22, 2010 Author Share Posted April 22, 2010 When i try to add a torrent file it loads correctly but then, the whole interface freezes for some time and the torrent doesnt download at all. How are you adding torrents? By dropping the links in the "auto" folder? Or from within the rtorrent screen? Or from the rutorrent web page? Then what freezes? rtorrent or rutorrent? Link to comment
Koperfild Posted April 22, 2010 Share Posted April 22, 2010 When i try to add a torrent file it loads correctly but then, the whole interface freezes for some time and the torrent doesnt download at all. How are you adding torrents? By dropping the links in the "auto" folder? Or from within the rtorrent screen? Or from the rutorrent web page? Then what freezes? rtorrent or rutorrent? I add it from the rutorrent web page and the downloading doesn't start. By freezing i mean that it sometimes takes very long time to load the gui after an action. I also receive that error occasionally Bad response: (500) <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 - Internal Server Error</title> </head> <body> <h1>500 - Internal Server Error</h1> </body> </html> No torrent ever starts to download, though the same one works fine in a client on my pc. Link to comment
purko Posted April 22, 2010 Author Share Posted April 22, 2010 No torrent ever starts to download, though the same one works fine in a client on my pc. You have rutorrent on your pc? Link to comment
purko Posted April 22, 2010 Author Share Posted April 22, 2010 I add it from the rutorrent web page and the downloading doesn't start. By freezing i mean that it sometimes takes very long time to load the gui after an action. I also receive that error occasionally Bad response: (500) <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 - Internal Server Error</title> </head> <body> <h1>500 - Internal Server Error</h1> </body> </html> No torrent ever starts to download, though the same one works fine in a client on my pc. My guess would be that your unRAID server can't reach a name server. Or, your isp's name server automatically forwarded you someplace else. But don't put money on my guess. The right place to search for answers to such questions would be the rutorrent forum. Here we just packaged rutorrent for unRAID as-is. Why don't you try to isolate the problem? Try dropping the torrent link into the "auto" watch-folder: If that works then rutorrent is to blame. If it doesn't then it's the underlying rtorrent, or something below that. Link to comment
Hammurabi Posted May 11, 2010 Share Posted May 11, 2010 UnTorrent works very nice for me. Thanks for setting this up. What I'd like to do is password protect the rutorrent webpage. Has anyone done this yet with .htaccess? Link to comment
scottw Posted May 12, 2010 Share Posted May 12, 2010 Has anyone got the rss feeds to work? I installed it and am able to add rss feeds but nothing ever shows up with them. Can someone provide me with a sample feed url to try. I also installed the cookies plugin like it said in the wiki, I did this by simply copying the cookies plugin from the 2.9 download pack. Let me know if that is the wrong one or if it is not needed. Thanks, Scott Link to comment
Recommended Posts