<-- Please remind: English only. Don't forget to delete this line when writing post and fill FW version and model name bellow. -->
Firmware version: 4.3.3.0299
Model name: QNAP TS-453 pro
rtorrent_0.9.6-0806-180806_x86_64_PRO
After reboot Rtorrent pro is dead completely.
It took me ages to even realise that since v4.3 firmware we need to use BASH before running /etc/init.d/rtorrent.sh to do anything. That made it impossible to shut down/ restart or even uninstall - in fact trying to uninstall through the app center will fail.
Anyway now I have a problem when running Rtorrent and am totally stuck - I hope I can get support here for the pro version.
here is what I get and am going round in circles.
So let's try starting it:
Says it's started so lets try to stop it
This is stuck here
Let's try a restart
And now I get the famous line /etc/init.d/rtorrent.sh: line 375: syntax error: unexpected "("
which you get if you don't use "bash" when you run the script.
So this is where I give up I have no answer to this but I bought and paid for pro so hopefully this is where to get support as I don't know where else I can go as the main qnap forum is no help at all.
How do I get around this problem please?
Firmware version: 4.3.3.0299
Model name: QNAP TS-453 pro
rtorrent_0.9.6-0806-180806_x86_64_PRO
After reboot Rtorrent pro is dead completely.
It took me ages to even realise that since v4.3 firmware we need to use BASH before running /etc/init.d/rtorrent.sh to do anything. That made it impossible to shut down/ restart or even uninstall - in fact trying to uninstall through the app center will fail.
Anyway now I have a problem when running Rtorrent and am totally stuck - I hope I can get support here for the pro version.
here is what I get and am going round in circles.
Code:
bash /etc/init.d/rtorrent.sh status
(info) rtorrent: Program located in PROGDIR: /share/CACHEDEV1_DATA/.qpkg/rtorrent and executed at ORIGDIR: /share/homes/admin
(info) rtorrent: RT_DOWNLOAD_SHARE: /share/Download
(info) rtorrent: process lighttpd pid file not found!
(info) rtorrent: process rtorrent pid file not found!
So let's try starting it:
Code:
bash /etc/init.d/rtorrent.sh start
(info) rtorrent: Program located in PROGDIR: /share/CACHEDEV1_DATA/.qpkg/rtorrent and executed at ORIGDIR: /share/homes/admin
(info) rtorrent: RT_DOWNLOAD_SHARE: /share/Download
(err!) rtorrent: application already started!
Says it's started so lets try to stop it
Code:
bash /etc/init.d/rtorrent.sh stop
(info) rtorrent: Program located in PROGDIR: /share/CACHEDEV1_DATA/.qpkg/rtorren t and executed at ORIGDIR: /share/homes/admin
(info) rtorrent: RT_DOWNLOAD_SHARE: /share/Download
init.d/lighttpd: PID file not found: /var/run/rtorrent-webserver.pid
( ) rtorrent: Port removing: UPnP --------
(info) rtorrent: Removing UPnP mapped ports...
( ) rtorrent: Port removing: NAT-PMP -----
(info) rtorrent: PortMapper: Exits with exit status (0)
(warn) rtorrent: lighttpd error occured while executing stop sequence.
init.d/rtorrent: Stopping engine program: rtorrent
init.d/rtorrent: Socket/Lock file: /share/Download/rtorrent/session/rtorrent.loc k NOT FOUND
(warn) rtorrent: rtorrent error occured while executing stop sequence.
init.d/php5-fpm: Gracefully shutting down warning, no pidfile found - ..is not r unning ?
(warn) rtorrent: php-fpm error occured while executing stop sequence.
init.d/monitorix: PID file not found: /var/run/rtorrent-monitorix.pid
(warn) rtorrent: monitorixd error occured while executing stop sequence.
init.d/rtorrent: Force Stop engine program: rtorrent
error: Forever cannot find process with id: server/bin/start.js
(info) rtorrent: Removing link: /usr/bin/mc
(info) rtorrent: Removing link: /usr/bin/rtorrent
(info) rtorrent: Waiting for background processes to finish... (11687 )
(info) rtorrent: Background jobs done. (11687 )
/etc/init.d/rtorrent.sh: line 1660: /usr/bin/rtorrent/bin/rm: No such file or di rectory
[admin@NAS253 ~]# bash /etc/init.d/rtorrent.sh stop
(info) rtorrent: Program located in PROGDIR: /share/CACHEDEV1_DATA/.qpkg/rtorren t and executed at ORIGDIR: /share/homes/admin
(info) rtorrent: RT_DOWNLOAD_SHARE: /share/Download
init.d/lighttpd: Base environment not ready.
(warn) rtorrent: lighttpd error occured while executing stop sequence.
init.d/rtorrent: Base environment not ready.
(err!) rtorrent: PortMapper: Exits with exit status (1)
(err!) rtorrent: (/share/CACHEDEV1_DATA/.qpkg/rtorrent/etc/def.p/portmapper.sh) basedir is missing
(warn) rtorrent: rtorrent error occured while executing stop sequence.
init.d/php5-fpm: Base environment not ready.
(warn) rtorrent: php-fpm error occured while executing stop sequence.
init.d/monitorix: Base environment not ready.
(warn) rtorrent: monitorixd error occured while executing stop sequence.
init.d/lighttpd: Base environment not ready.
init.d/rtorrent: Base environment not ready.
init.d/php5-fpm: Base environment not ready.
init.d/monitorix: Base environment not ready.
error: Forever cannot find process with id: server/bin/start.js
(info) rtorrent: Removing link: /usr/bin/mc
rm: cannot remove '/usr/bin/mc': No such file or directory
(info) rtorrent: Removing link: /usr/bin/rtorrent
rm: cannot remove '/usr/bin/rtorrent': Is a directory
(info) rtorrent: Waiting for background processes to finish... (15265 )
(info) rtorrent: Background jobs done. (15265 )
<_DATA/.qpkg/rtorrent and executed at ORIGDIR: /share/homes/admin
-sh: syntax error near unexpected token `rtorrent:'
[admin@NAS253 ~]# (info) rtorrent: RT_DOWNLOAD_SHARE: /share/Download
-sh: syntax error near unexpected token `rtorrent:'
<ghttpd: PID file not found: /var/run/rtorrent-webserver.pid
-sh: init.d/lighttpd:: No such file or directory
[admin@NAS253 ~]# ( ) rtorrent: Port removing: UPnP --------
-sh: syntax error near unexpected token `)'
[admin@NAS253 ~]# (info) rtorrent: Removing UPnP mapped ports...
-sh: syntax error near unexpected token `rtorrent:'
[admin@NAS253 ~]# ( ) rtorrent: Port removing: NAT-PMP -----
-sh: syntax error near unexpected token `)'
[admin@NAS253 ~]# (info) rtorrent: PortMapper: Exits with exit status (0)
-sh: syntax error near unexpected token `rtorrent:'
<orrent: lighttpd error occured while executing stop sequence.
-sh: syntax error near unexpected token `rtorrent:'
[admin@NAS253 ~]# init.d/rtorrent: Stopping engine program: rtorrent
-sh: init.d/rtorrent:: No such file or directory
</share/Download/rtorrent/session/rtorrent.lock NOT FOUND
-sh: init.d/rtorrent:: No such file or directory
<orrent: rtorrent error occured while executing stop sequence.
-sh: syntax error near unexpected token `rtorrent:'
<g down warning, no pidfile found - ..is not running ?
-sh: init.d/php5-fpm:: No such file or directory
Let's try a restart
Code:
bash /etc/init.d/rtorrent.sh restart
(info) rtorrent: Program located in PROGDIR: /share/CACHEDEV1_DATA/.qpkg/rtorrent and executed at ORIGDIR: /share/homes/admin
(info) rtorrent: RT_DOWNLOAD_SHARE: /share/Download
(info) rtorrent: 1/2 -- Executing shut down sequence
/etc/init.d/rtorrent.sh: line 375: syntax error: unexpected "("
(err!) rtorrent: Errors occured during stop sequence. Code: 2
And now I get the famous line /etc/init.d/rtorrent.sh: line 375: syntax error: unexpected "("
which you get if you don't use "bash" when you run the script.
So this is where I give up I have no answer to this but I bought and paid for pro so hopefully this is where to get support as I don't know where else I can go as the main qnap forum is no help at all.
How do I get around this problem please?