Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
rtorrent will no longer start up
View previous topic :: View next topic  
Author Message
yumcake
Member


Joined: 31 Oct 2012
Posts: 44

PostPosted: Sat Feb 23, 2013 8:17 pm    Post subject: rtorrent will no longer start up Reply with quote

Everything else seems to be working fine.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Sat Feb 23, 2013 8:47 pm    Post subject: Reply with quote

Do you get any errors?
Code:
tail -50 /var/log/lighttpd/rtorrent.log
tail -50 /var/log/lighttpd/error.log


Did you had any power failure, if so, try to remove rtorrent.lock from .sessions directory.
Default .sessions in SMS is /home/administrator/.sessions

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
yumcake
Member


Joined: 31 Oct 2012
Posts: 44

PostPosted: Sat Feb 23, 2013 9:23 pm    Post subject: Reply with quote

Nope, none.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Sat Feb 23, 2013 9:32 pm    Post subject: Reply with quote

Suddenly stop working?

If you run "rtorrent" command from terminal do you get any errors?
Also do "ldd /usr/bin/rtorrent" in case a dependency is missing...

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
yumcake
Member


Joined: 31 Oct 2012
Posts: 44

PostPosted: Sat Feb 23, 2013 11:54 pm    Post subject: Reply with quote

gerasimos_h wrote:
Suddenly stop working?

If you run "rtorrent" command from terminal do you get any errors?
Also do "ldd /usr/bin/rtorrent" in case a dependency is missing...

gerasimos_h
(15:54:12) Using 'epoll' based polling.
(15:54:12) Using 'epoll' based polling.
(15:54:12) Using 'epoll' based polling.
(15:54:12) Could not read resource file: ~/.rtorrent.rc
[Throttle off/off KB] [Rate 0.0/ 0.0 KB] [Port: 6947] [U 0/0] [D 0/0] [H 0/3
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Sun Feb 24, 2013 12:06 am    Post subject: Reply with quote

So rtorrent is running as root, now do
Code:
killall rtorrent
su administrator -c 'screen -d -m rtorrent'


Do you get any errors?

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
yumcake
Member


Joined: 31 Oct 2012
Posts: 44

PostPosted: Sun Feb 24, 2013 12:11 am    Post subject: Reply with quote

gerasimos_h wrote:
So rtorrent is running as root, now do
Code:
killall rtorrent
su administrator -c 'screen -d -m rtorrent'


Do you get any errors?

gerasimos_h

nope!
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Sun Feb 24, 2013 12:24 am    Post subject: Reply with quote

Is rtorrent actually running?
Code:
ps aux|grep rtorrent


You can also login as user administrator and run "rtorrent"

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
yumcake
Member


Joined: 31 Oct 2012
Posts: 44

PostPosted: Tue Feb 26, 2013 7:08 pm    Post subject: Reply with quote

gerasimos_h wrote:
Is rtorrent actually running?
Code:
ps aux|grep rtorrent


You can also login as user administrator and run "rtorrent"

gerasimos_h

I don't think so
root 24339 0.0 0.0 2744 616 pts/1 S+ 11:07 0:00 grep rtorrent
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Tue Feb 26, 2013 7:48 pm    Post subject: Reply with quote

Did you login as administrator and run rtorrent?
Did you by any chance remove the shell access from user administrator ?
That would be a good reason for not starting...

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
yumcake
Member


Joined: 31 Oct 2012
Posts: 44

PostPosted: Tue Feb 26, 2013 11:18 pm    Post subject: Reply with quote

gerasimos_h wrote:
Did you login as administrator and run rtorrent?
Did you by any chance remove the shell access from user administrator ?
That would be a good reason for not starting...

gerasimos_h

yes
no
yes
lol
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Tue Feb 26, 2013 11:35 pm    Post subject: Reply with quote

Smile OK, it must be a permission issue, try to
Code:
chown -R administrator:users /home/administrator

and try to start rtorrent again, and look at the logs...

If it doesn't start, can I take a look?
You can pm or email the credentials (you can alter them temporally)...

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
yumcake
Member


Joined: 31 Oct 2012
Posts: 44

PostPosted: Wed Feb 27, 2013 6:20 am    Post subject: Reply with quote

gerasimos_h wrote:
Smile OK, it must be a permission issue, try to
Code:
chown -R administrator:users /home/administrator

and try to start rtorrent again, and look at the logs...

If it doesn't start, can I take a look?
You can pm or email the credentials (you can alter them temporally)...

gerasimos_h

Yeah certainly, right now SSH isn't forwarded outside the local network though I'm assuming that is what you want I'll get the cred's in a bit thanks heh
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional