What's new

Cannot access RTorrent

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

NeoXx

Occasional Visitor
I usually access RTorrent via http://192.168.50.1:81/rutorrent/ where the IP address is the address of my router. However it suddenly stopped working and I deleted RTorrent and reinstalled via opkg install rtorrent-easy-install.

Port left as default at 81, however I still cannot access it. I just receive a message: 'ERR_CONNECTION_REFUSED', This site can’t be reached. 192.168.50.1 refused to connect.

Tried with multiple devices, and checked that lighttpd and rtorrent are running.

Any help is appreciated.
 
I can see this when I try to open rtorrent in ssh:

Could not read resource file: ~/.rtorrent.rc.

Any advice?
 
Do a fresh install of rtorrent/rutorrent.
 
This did not work for me.
I just did a clean install of Asus Merlin on my new RT-AX86U. Have the same issue as op.
'ERR_CONNECTION_REFUSED', This site can’t be reached.

If I use that rc.func lighttpd fails to start.
With the default one it starts but I still get that web error.
I expected this to be common and find a solution here but hardly anything about it in this forum
 
in /opt/var/log/lighttpd/error.log

2022-04-15 03:05:34: (../src/server.c.1568) server started (lighttpd/1.4.64)
2022-04-15 03:05:34: (../src/gw_backend.c.1619) invalid "bin-path" => "/opt/bin/php-fcgi" (check that file exists, is regular file, and is executable by lighttpd)
2022-04-15 03:05:34: (../src/gw_backend.c.530) connect /tmp/php-fcgi.sock-0: Connection refused
2022-04-15 03:05:34: (../src/gw_backend.c.373) child exited: 2 unix:/tmp/php-fcgi.sock-0
2022-04-15 03:05:34: (../src/gw_backend.c.656) gw-backend failed to start: /opt/bin/php-fcgi
2022-04-15 03:05:34: (../src/gw_backend.c.658) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version. If this is PHP on Gentoo, add 'fastcgi' to the USE flags. If this is PHP, try removing the bytecode caches for now and try again.
2022-04-15 03:05:34: (../src/gw_backend.c.1700) [ERROR]: spawning gw failed.
2022-04-15 03:05:34: (../src/server.c.1572) Configuration of plugins failed. Going down.
 
Have to ad that rtorrent has been working fine for five years on my RT-AC3200 running Merlin.
I am installing rutorrent on my new router using command:
opkg install rtorrent-easy-install
 
I have manually configured the router. I have used the flash drive I was using previously in my other router. But that flash drive have been formatted first in Windows and then by amtm. Have not used any backup files. Before installing rtorrent I have installed diversion and skynet. And configured OpenVPN servers and clients.
The RT-AC86U was new from the box. I did reset it before installing Merlin and after.
Has taken me quite some time to set it up the way I wanted. rtorrent was the last step and then this happens... :mad:
 
in /opt/var/log/lighttpd/error.log

2022-04-15 03:05:34: (../src/server.c.1568) server started (lighttpd/1.4.64)
2022-04-15 03:05:34: (../src/gw_backend.c.1619) invalid "bin-path" => "/opt/bin/php-fcgi" (check that file exists, is regular file, and is executable by lighttpd)
2022-04-15 03:05:34: (../src/gw_backend.c.530) connect /tmp/php-fcgi.sock-0: Connection refused
2022-04-15 03:05:34: (../src/gw_backend.c.373) child exited: 2 unix:/tmp/php-fcgi.sock-0
2022-04-15 03:05:34: (../src/gw_backend.c.656) gw-backend failed to start: /opt/bin/php-fcgi
2022-04-15 03:05:34: (../src/gw_backend.c.658) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version. If this is PHP on Gentoo, add 'fastcgi' to the USE flags. If this is PHP, try removing the bytecode caches for now and try again.
2022-04-15 03:05:34: (../src/gw_backend.c.1700) [ERROR]: spawning gw failed.
2022-04-15 03:05:34: (../src/server.c.1572) Configuration of plugins failed. Going down.
php-fcgi doesn't exist. There is a file link php8-fcgi that links to php8-cgi.
 
SOLVED!!:
Tried the obvious..
I created the symlink inside /opt/bin folder
ln -s php8-cgi php-fcgi

Now error.log is clean. Only says:
2022-04-15 12:36:44: (../src/server.c.1568) server started (lighttpd/1.4.64)
 
SOLVED!!:
Tried the obvious..
I created the symlink inside /opt/bin folder
ln -s php8-cgi php-fcgi

Now error.log is clean. Only says:
2022-04-15 12:36:44: (../src/server.c.1568) server started (lighttpd/1.4.64)
It was my case as well. Thanks for your advice.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top