Synology DS 110J with rutorrent.

jith45

Member
May 25, 2018
960
0
16
Hello everyone,

I currently have a new DS 110J NAS. I tried to install rtorrent and rutorrent on it with no success. Well some what success.
It installed and rebooted the box. Now when i launch the url
http://192.168.1.200:8081/rutorrent/
I get the following message
[27.12.2010 17:51:38] WebUI started.
[27.12.2010 17:51:38] Bad link 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 am very new to this and not very technical. I was tech enough to go into putty to install the file but not enough to figure out what the heck went wrong. Any help would be greatly appreciated as im stuck and dont know what to do next.
Please provide step by step instruction if you would like me to get any info on it. Again any help would be great.

I tried to do it with the instruction on the below forum.
http://forum.synology.com/enu/viewtopic.php?f=38&t=21990. I ran the below command on Putty.
#!/bin/sh

LIGHTTPDCONF=/opt/etc/lighttpd/lighttpd.conf
RTORRENTCONF=/opt/etc/rtorrent.conf

mkdir -p /volume1/@tmp
cd /volume1/@tmp/

# IPKG
echo -e "\033[1mInstalling IPKG\033[0m"
wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/syno-mvkw-bootstrap_1.2-7_arm.xsh
sh syno-mvkw-bootstrap_1.2-7_arm.xsh &
sleep 20
ipkg update

# Lighttpd
echo -e "\033[1mInstalling Lighttpd\033[0m"
ipkg install lighttpd php-fcgi
echo 'server.event-handler = "poll"' >> ${LIGHTTPDCONF}
echo 'server.modules += ("mod_auth","mod_cgi","mod_scgi")' >> ${LIGHTTPDCONF}
echo '
scgi.server = ("/RPC2" =>
("127.0.0.1" =>
("host" => "127.0.0.1",
"port" => 5050,
"check-local" => "disable")
)
)
' >> ${LIGHTTPDCONF}

# rtorrent
echo -e "\033[1mInstalling RTorrent\033[0m"
ipkg install rtorrent screen
ipkg remove xmlrpc-c
mkdir -p /opt/share/torrent/session/
echo 'scgi_port = 127.0.0.1:5050' >> ${RTORRENTCONF}
echo '#!/bin/sh

NAME=rtorrent
CONFIG=/opt/etc/rtorrent.conf
LOGFILE=/opt/var/log/rtorrentInit.log
TORRENTFILE=/opt/bin/rtorrent
OPTIONS="-n -o import=$CONFIG"

getsession() {
session=`sed -n "/session\s*=/s/^\s*session\s*=\s*//p" $CONFIG`
echo $session
}

case "$1" in
start)
screen -list|grep -sq $NAME && exit 0
session=`getsession`
[ -e $session/rtorrent.lock ] && rm -rf $session/rtorrent.lock
/opt/bin/screen -dmS $NAME $TORRENTFILE $OPTIONS 2>$LOGFILE
;;
stop)
session=`getsession`
! [ -e $session/rtorrent.lock ] && exit 0
pid=`sed "s/[^0-9]//g" $session/rtorrent.lock`
ps|grep -v grep|grep -sq $pid.*rtorrent && kill $pid
;;
restart)
$0 stop
sleep 2
$0 start
;;
status)
screen -list|grep -s $NAME
;;
*)
echo $"Usage: \$0 {start|stop|status|restart}"
exit 1
esac
exit 0
' > /opt/etc/init.d/S99rtorrent

# xmlrpc-c
echo -e "\033[1mInstalling xmlrpc-c\033[0m"
ipkg install gcc binutils optware-devel libcurl-dev
svn co http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable xmlrpc-c
cd xmlrpc-c
./configure --prefix=/opt
make ARCH=arm
make install

# ruTorrent 3.0
echo -e "\033[1mInstalling ruTorrent\033[0m"
cd /opt/share/www
svn co http://rutorrent.googlecode.com/svn/trunk/rutorrent/
cd rutorrent
rm -r plugins
svn co http://rutorrent.googlecode.com/svn/trunk/plugins/
cd plugins
rm -r darkpal rpc
cd ..
sed -i 's/scgi_port\s*=\s*5000/scgi_port = 5050/' conf/config.php

echo -e "\033[1mAutoinstall complete\033[0m"
reboot
 

jith45

Member
May 25, 2018
960
0
16
Ok so i did alittle more research and played with it more and now i get the below errors

[27.12.2010 21:21:38] WebUI started.
[27.12.2010 21:21:39] Bad response from server: (0 [null,getplugins])
[27.12.2010 21:21:39] Bad response from server: (0 [error,getplugins])
[27.12.2010 21:21:40] Bad response from server: (0 [null,getuisettings])
[27.12.2010 21:21:40] Bad response from server: (0 [error,getuisettings])

Any help would be great as im stuck. Im trying to see if there is any way to completely remove it from my NAS and redo it from beginning.

Please help me =-)
 

das329717

Member
May 25, 2018
928
0
16
i'm not familar with your nas but if you could install a more user freiendly brand of linux on it you shoud have no problems.

go with ubuntu, debian or arch.
 

somus1735

Member
May 25, 2018
833
0
16
Quote
Ok so i did alittle more research and played with it more and now i get the below errors​

PHP is not installed or configured on your web-server.