What did you do to get rtorrent running?
You see, I have the exact same problem you had, and I can't seem to start rtorrent and all without any errors displaying and the log in "/root/rtorrentInit.log" is empty.
I have followed the guide very carefully, and I suspect that the problem might be in the "/opt/etc/init.d/S99rtorrent" file where I have written the following:
- Code: Select all
stty stop undef && stty start undef
[ -d "${base}" ] && cd "${base}"
#su -c "screen -ls | grep -sq "\.${srnname}[[:space:]]" " ${user} || su -c "screen -dm -S ${srnname} 2>&1 1>/dev/null" ${user} | tee -a "$logfil
# this works for the screen command, but starting rtorrent below adopts screen session gid
# even if it is not the screen session we started (e.g. running under an undesirable gid
#su -c "screen -ls | grep -sq "\.${srnname}[[:space:]]" " ${user} || su -c "sg \"$group\" -c \"screen -fn -dm -S ${srnname} 2>&1 1>/dev/null\""
#su -c "screen -S "${srnname}" -X screen rtorrent ${options} 2>&1 1>/dev/null" ${user} | tee -a "$logfile" >&2
su -c "screen -d -m rtorrent ${options} 2>&1 1>/dev/null" ${user} | tee -a "$logfile"
But then again, I am not at all certain, since I have little experience in linux compared to the gurus in here...
The essence is, that when I navigate to "http://diskstation:8081/lighttpd/wtorrent/", it says "Error: could not connect to rtorrent".
Which is obvious since I can't find rtorrent on the list of running processes.
[EDIT]
I finally got it... The problem was that I started rtorrent from "/opt/etc/init.d/S99rtorrent", which didnt' display an error.
But then when I tried to start it with just "rtorrent", it suddenly gave me the answer
- Code: Select all
DiskStation> rtorrent
rtorrent: error while loading shared libraries: libtorrent.so.9: cannot open shared object file: No such file or directory
The libtorrent library was outdated, so I installed the new one from "optware" and suddenly I could start my precious rtorrent...
[/EDIT]






