SOLVED-Suddenly I can't add torrents (Error: Torrent wasn't passed to rTorrent.)

jith45

Member
May 25, 2018
960
0
16
Hi all!

I have had ruTorrent 3.3/rtorrent 0.8.9/0.12.9 on FreeBSD 8.2 running fine for quite some time now, and suddenly today I couldn't add torrents, I just get the error "Error: torrent wasn't passed to rTorrent.". Happens on every single torrent I have tried, both from private and public trackers. I have checked the permissions on both the rutorrent-dir and the download-dir, seems to be fine and same settings as the last 2 years. Adding torrents manually from the RSS-feed to the same download-dir works perfectly. Adding torrents manuellt in rTorrent works perfectly.

No changes has been made on the server in the latest month (no updates of os or applications, or no changes in any config-files).

I'm running out of ideas, anyone have any suggestions what to try next? Thanks in advance! huh.gif

Regards,
Beta

Edit: Also tried to restart rtorrent and apache, no success. Also the upload limit in php is set to 20M so that's not either the problem.
 

das329717

Member
May 25, 2018
928
0
16
1) Check web-server errors log
2) Check file /tmp/errors.log
3) Check $topDirectory variable in config.php.
 

jith45

Member
May 25, 2018
960
0
16
Quote
1) Check web-server errors log
2) Check file /tmp/errors.log
3) Check $topDirectory variable in config.php.​


1) Apache error-log:
Code:
<b>Deprecated</b>: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
[Wed Jan 25 13:27:49 2012] [error] [client 78.70.253.70] (53)Software caused connection abort: scgi: Software caused connection abort: ap_pass_brigade(), referer: http://badskum.se/rutorrent/
[Wed Jan 25 13:29:05 2012] [error] [client 78.70.253.70] PHP Warning: getdate() [<a href='function.getdate'>function.getdate</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/www/rutorrent/plugins/rss/init.php on line 9, referer: http://badskum.se/rutorrent/
[Wed Jan 25 13:29:05 2012] [error] [client 78.70.253.70] PHP Warning: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/www/rutorrent/plugins/rss/init.php on line 12, referer: http://badskum.se/rutorrent/
[Wed Jan 25 13:29:05 2012] [error] [client 78.70.253.70] PHP Warning: getdate() [<a href='function.getdate'>function.getdate</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/www/rutorrent/plugins/scheduler/scheduler.php on line 133, referer: http://badskum.se/rutorrent/
[Wed Jan 25 13:29:05 2012] [error] [client 78.70.253.70] PHP Warning: getdate() [<a href='function.getdate'>function.getdate</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/www/rutorrent/plugins/scheduler/init.php on line 7, referer: http://badskum.se/rutorrent/
[Wed Jan 25 13:29:05 2012] [error] [client 78.70.253.70] PHP Warning: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/www/rutorrent/plugins/scheduler/init.php on line 10, referer: http://badskum.se/rutorrent/
[Wed Jan 25 13:29:05 2012] [error] [client 78.70.253.70] PHP Warning: getdate() [<a href='function.getdate'>function.getdate</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/www/rutorrent/plugins/trafic/init.php on line 8, referer: http://badskum.se/rutorrent/
[Wed Jan 25 13:29:05 2012] [error] [client 78.70.253.70] PHP Warning: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/www/rutorrent/plugins/trafic/init.php on line 11, referer: http://badskum.se/rutorrent/
<br />
Usually get these, even before this error.

2) No entries in /tmp/errors.log since Dec.17.

3)
Code:
$topDirectory = '/storage1/'; // Upper available directory. Absolute path with trail slash.
Sames as always... Confused...
 

das329717

Member
May 25, 2018
928
0
16
Quote
Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0


Remove this deprecated directive from php.ini.

Quote
[Wed Jan 25 13:27:49 2012] [error] [client 78.70.253.70] (53)Software caused connection abort: scgi: Software caused connection abort: ap_pass_brigade(), referer:
http://badskum.se/rutorrent/


Don't know - what this. ruTorrent doesn't use such function.

Quote
[Wed Jan 25 13:29:05 2012] [error] [client 78.70.253.70] PHP Warning: getdate() [<a href='function.getdate'>function.getdate[/url]]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/www/rutorrent/plugins/rss/init.php on line 9, referer: http://badskum.se/rutorrent/


Add correct time zone setting to php.ini.


Quote
3)$topDirectory = '/storage1/'; // Upper available directory. Absolute path with trail slash.​


This means - you can't add torrent to something, exclude /storage1/ and it's subdirectories.
 

das329717

Member
May 25, 2018
928
0
16
I have had these errors since I started with ruTorrent and never really cared, it worked any way. But any how I did as you said and I also performed and update of my applications on the server. The follow applications was updated:

Code:
---> ** Upgrade tasks 67: 63 done, 3 ignored, 2 skipped and 2 failed
---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
- devel/automake110 (port directory error)
- devel/automake19 (port directory error)
- archivers/xz (marked as IGNORE)
! print/font-amsfonts (amspsfnt-1.0_5) (install error)
+ devel/cmake (cmake-2.8.6_1)
+ databases/mysql51-client (mysql-client-5.1.60)
+ databases/mysql51-server (mysql-server-5.1.60)
+ security/openvpn (openvpn-2.2.1_1)
+ graphics/tiff (tiff-4.0.0_2)
* print/font-amsfonts (cmpsfont-1.0_7)
+ graphics/opencv-core (opencv-core-2.3.1_2)
+ devel/pcre (pcre-8.21)
+ security/p11-kit (p11-kit-0.9)
+ devel/p5-Version-Requirements (p5-Version-Requirements-0.101020_1)
+ devel/p5-Class-Accessor-Grouped (p5-Class-Accessor-Grouped-0.10004)
+ archivers/p5-IO-Compress (p5-IO-Compress-2.045)
+ devel/p5-Module-CoreList (p5-Module-CoreList-2.58)
+ www/p5-Template-Toolkit (p5-Template-Toolkit-2.22_1)
+ security/ca_root_nss (ca_root_nss-3.12.11_1)
+ devel/p5-CPAN-Meta (p5-CPAN-Meta-2.112621)
+ devel/p5-Class-Load (p5-Class-Load-0.12)
+ devel/p5-namespace-clean (p5-namespace-clean-0.21)
+ multimedia/rtmpdump (rtmpdump-2.3_1)
+ devel/p5-DateTime (p5-DateTime-0.70)
+ net/xmlrpc-c-devel (xmlrpc-c-devel-1.27.1)
+ x11/xcb-util (xcb-util-0.3.6,1)
+ audio/lame (lame-3.98.4)
+ shells/bash (bash-4.1.11)
+ misc/help2man (help2man-1.40.4)
+ lang/ruby18 (ruby-1.8.7.352_2,1)
+ security/gnutls (gnutls-2.12.14)
+ databases/sqlite3 (sqlite3-3.7.9)
+ www/mod_scgi (ap22-mod_mod_scgi-1.12_1)
+ lang/php5 (php5-5.3.8)
+ databases/php5-pdo (php5-pdo-5.3.8)
+ databases/php5-mysql (php5-mysql-5.3.8)
+ databases/php5-pdo_sqlite (php5-pdo_sqlite-5.3.8)
+ security/php5-mcrypt (php5-mcrypt-5.3.8)
+ textproc/php5-simplexml (php5-simplexml-5.3.8)
+ converters/php5-mbstring (php5-mbstring-5.3.8)
+ multimedia/x264 (x264-0.116.2076)
+ graphics/netpbm (netpbm-10.35.81)
+ sysutils/php5-posix (php5-posix-5.3.8)
+ devel/orc (orc-0.4.14_1)
+ www/php5-session (php5-session-5.3.8)
+ devel/php5-tokenizer (php5-tokenizer-5.3.8)
+ databases/php5-sqlite3 (php5-sqlite3-5.3.8)
+ devel/php5-json (php5-json-5.3.8)
+ textproc/php5-xml (php5-xml-5.3.8)
+ converters/php5-iconv (php5-iconv-5.3.8)
+ textproc/php5-ctype (php5-ctype-5.3.8)
+ textproc/php5-xmlwriter (php5-xmlwriter-5.3.8)
+ ftp/php5-curl (php5-curl-5.3.8)
+ misc/freebsd-doc-en (en-freebsd-doc-20111014)
+ databases/php5-sqlite (php5-sqlite-5.3.8)
+ textproc/php5-dom (php5-dom-5.3.8)
+ textproc/php5-xmlreader (php5-xmlreader-5.3.8)
+ security/php5-filter (php5-filter-5.3.8)
+ multimedia/schroedinger (schroedinger-1.0.10)
+ graphics/php5-gd (php5-gd-5.3.8)
+ multimedia/ffmpeg (ffmpeg-0.7.8,1)
+ audio/sox (sox-14.3.2_1)
+ security/php5-hash (php5-hash-5.3.8)
+ archivers/php5-phar (php5-phar-5.3.8)
+ devel/glib20 (glib-2.28.8_2)
+ graphics/cairo (cairo-1.10.2_2,1)
! x11-toolkits/gtk20 (gtk-2.20.1_2) (configure error)
* editors/vim (vim-7.3.50)
+ archivers/unrar (unrar-4.00,5)
+ audio/squeezeboxserver (squeezeboxserver-7.5.4_1)
---> Packages processed: 63 done, 3 ignored, 2 skipped and 2 failed
---> Session ended at: Wed, 25 Jan 2012 15:40:08 +0100 (consumed 01:18:15)

Most interesting is: + net/xmlrpc-c-devel (xmlrpc-c-devel-1.27.1) and + www/mod_scgi (ap22-mod_mod_scgi-1.12_1

And now it's working again! My guess is that it's any one of these updates that fixed it, or maybe just and reinstallation of any of these two that did the trick since I have run ruTorrent with those settings for like 2 years. Hopefully someone will have use of this if they have the same problem!

Thanks for the help jith45!