Jump to content

Torrent download doesn't launch if utserver is autostarted


serega_mpa

Recommended Posts

Hello, all!

I try to install the last version (27079) of utorrent server 64-bit edition on fedora 17 x64. It works fine when I start the utserver manually: utserver -settingspath /opt/utorrent-server-v3_0/settings -logfile -daemon, for example (necessary ports was opened, utserver.conf file was created). To autostart utserver I wrote a simple script into /etc/init.d/utorrent-server file:

#!/bin/bash

# Run-level startup scrip for the utorrent server

# chkconfig: 345 91 19

# description: startup/shutdown utorrent server

UT_SETTINGS_PATH="/opt/utorrent-server-v3_0/settings/"

case "$1" in

start)

echo -n "Starting utorrent server... "

cd /opt/utorrent-server-v3_0

utserver -settingspath $UT_SETTINGS_PATH -logfile -daemon

;;

stop)

echo -n "Shutting down utorrent server... "

killall utserver

;;

reload|restart)

$0 stop

$0 start

;;

*)

echo "Usage: $0 start|stop|restart"

exit 1

esac

exit 0

and add this script to chkconfig:

chkconfig --add /etc/init.d/utorrent-server

After reboot utserver is launched, I can open WebUI interface from any computer in local area network. But when I select a torrent file, download is never started. Later I login into the system as any user including super user, I stop the utserver using my script: /etc/init.d/utorrent-server stop (as super user). Then I launch the utserver again using next command: /etc/init.d/utorrent-server start. After that actions utserver works fine again. New selected torrents and early selected torrents will be successfully download. If I reboot the system, old added torrents continue to download, but download of new selected torrents will never started again. Please help me to find out! Thanks in Advance!

Link to comment
Share on other sites

  • 8 months later...
  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...