Comments (19)
Have you checked that the .rtorrent.rc file is available and readable, for the rtorrent user ?
from rtorrent-auto-install.
no...on which directory I find it?
from rtorrent-auto-install.
/home/YOURS_USER_NAME/rtorrent.rc
from rtorrent-auto-install.
Cant help you
from rtorrent-auto-install.
Thk for instant close the issue...but not work
from rtorrent-auto-install.
No.. Thank you for giving me so specific details about your issue. It really makes everything easy.
Its an rtorrent issue, or its your server. Not my script.
from rtorrent-auto-install.
That's all I've done since before starting the installation script.
adduser rutorrent
During installation I inserted this user (rutorrent)
Installed, reboot the server and insert screen -fa -d -m -S rtorrent rtorrent
Rtorrent internal error (console)
Could not read resource file: ~/.rtorrent.rc
Rutorrent Site
No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.
I realized that the installation is very simple, I watched the video, but if once the installation is not working, and obviously I ask you ..
from rtorrent-auto-install.
Where do you insert the "screen" line ?
You shouldnt have to do that.
from rtorrent-auto-install.
Hi Kerwood,
I just installed fresh Ubuntu server 14.4 and latest rtorrent. Everything configured fine without any issue. But when I reboot the server the first time after rtorrent installed, I got this error below just like everyone else got.
No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.
Other ppl are saying, this is a bind issue, to fix it, simply edit the /var/www/html/rutorrent/conf/config.php
From:
$httpIP = null; // IP string. Or null for any.
To
$httpIP = IP; // IP string. Or null for any.
I got it fixed with previous installation, but not with this Ubuntu 14.4 version.
Starting/Stopping/Restarting service work fine, but auto restart on boot-up does not start it auto.
I checked the .rtorrent.rc file to make sure the system user account has read and write to the file or not, it does.
-rw-r--r-- 1 don don 3421 Mar 21 20:50 .rtorrent.rc
What's my next step here? Please advise.
Thanks!
from rtorrent-auto-install.
If i understand you right, rtorrent wont start after boot. You have to start it manually.
The init script was initially made for Debian. (The script that starts and stops rtorrent with service rtorrent-init). I suspect that is the problem. And I dont think its only you. My guess is that it would properly not work on any Ubuntu system.
Try and start it after boot with crontab.
If you dont use password when using sudo you can write this line in your own crontab.
@reboot sudo service rtorrent-init start
Else write it in root crontab, without sudo.
from rtorrent-auto-install.
You have understand me correctly.
I do use sudo with password, does that mean I don't have other option beside changing my system account with no password in-order to use the crontab?
Can I add that line with sudo password?
I tried with and without sudo, still does not work
from rtorrent-auto-install.
No.. You turn off password for sudo, not your system account.
You have to open crontab with crontab -e
(NO SUDO!), then add the line, close and save.
If you do not have disabled password on sudo, login as root and add the line in root's crontab, without sudo.
from rtorrent-auto-install.
OK, here is what I did.
Disabled sudo password with the steps below
Edit the sudoers file:
sudo visudo
Find this line:
%sudo ALL=(ALL) ALL
Change the line:
%sudo ALL=(ALL) NOPASSWD: ALL
Save and Exit
Edit crontab
sudo nano /etc/crontab -e
Added a command line at the end of the crontab as
@reboot sudo service rtorrent-init start
Saved and reboot.
rtorrent still did not startup auto
from rtorrent-auto-install.
After rebooted, I ran the command line below.
ps -ef|grep rtorrent
looks like rtorrent started under don's account, but the rutorrent did not started
don 2042 1971 0 23:39 pts/1 00:00:00 grep --color=auto rtorrent
from rtorrent-auto-install.
The follow command I ran is
screen rtorrent
That seem to startup rutorrent webgui. What am I missing here?
I can de-attached the screen without issue.
from rtorrent-auto-install.
First of all.. If you run sudo nano /etc/crontab -e
you are doing it wrong. Go back and read my last post again.
Rutorrent webui is always on. Rutorrent is not the problem.
Your problem is that rtorrent does not start, so rutorrent cannot connect to rtorrent.
from rtorrent-auto-install.
I re-read your last post, but not sure what you mean. Are you telling me not to edit the crontab -e with sudo?
I tried that, but unable to save the file, permission denied.
Can I do this?
sudo su -
and then
nano /etc/crontab -e
and then add the line below?
@reboot sudo service rtorrent-init start
from rtorrent-auto-install.
Dude.. You really need some basic Linux knowledge :)
Dont use nano /etc/crontab -e
Just run crontab -e
- Nothing else!
If that doesent work Im out of ideas.
from rtorrent-auto-install.
LOL, I told you, I am new to XUNIL :).
I just tried that, no go. with or without sudo in the crontab, the result is the same. For now, I will start it up manually until you figure it out. If you can't, who does?
from rtorrent-auto-install.
Related Issues (20)
- request to add modify or repair HOT 1
- User UID is too low HOT 1
- Getting SSL to work? HOT 1
- Not Connection!! HOT 7
- js error? what this is mean HOT 1
- Problem with rutorrent HOT 2
- Script certificate
- HTTPS? HOT 2
- No login screen on new install HOT 8
- 将rt版本降低到0.9.4 HOT 1
- multi-user HOT 1
- No login screen on new install
- No connection to rTorrent HOT 1
- Pleae type a valid system username HOT 2
- Error after login HOT 7
- Syntax error:newline unexpected HOT 13
- Debian 9 not working HOT 1
- Syntax error: newline unexpected HOT 3
- Debian Stretch HOT 6
- ARM64 - cheap hosts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtorrent-auto-install.