Jump to content

utorrent on ubuntu server 10.10


DrImago

Recommended Posts

Hi all,

I have been using utorrent for windows for ages now and when I finished my ubuntu server 10.10 install a few weeks ago I decided to try utorrent for linux. I tried torrentflux and deluge before utorrent but I wasn't happy with either of them.

I managed to install and make utorrent work from the webui and even downloaded a few files but I there are some big problems with this alpha release and with the risk of probably repeating the same things as others here on this forum here is what happens in my case.

1) I have followed the following guide to install and run at startup: http://forum.utorrent.com/viewtopic.php?pid=542090.

When I reboot the server I get an error about /var/run/utserver not being present and thus not being able to create the pid file. If I create that dir and then restart, I get the same error.

What seems to happen is the following: in the init.d script for utserver there is a line in the stop function where the pid file is deleted

rm -f $PIDFILE

where $PIDFILE=/var/run/$NAME/$NAME.pid and $NAME=utserver

It seems that this command deteles the file $NAME.pid AND the dir /$NAME from /var/run.

I am no linux expert (really I am a beginner) but it is my understanding that the rm command should delete the dir too.

So I tried to add a line in the script file to create that dir first: mkdir /var/run/utserver. By doing so I opened a nasty can of worms because for some reason webmin wouldn't start after reboot, but utorrent would now be ok and I could access it from a computer on my network using a browser.

So I deleted that line but the problem is still there. I don't restart the server that often but when I do you can imagine it can be frustrating.

So if anyone has a solution for this problem I would really appreciate it.

2) When I get it to work, utorrent looks almost identical to the windows version when accessed from a web browser. But there are some problems which I think are related to the utserver.conf file.

I left the file blank and opened the web interface and set my preferences (i.e. dload dir, where to move after finish, where to store torrents etc.). Start a download (which works with no problems) and then stop the daemon with /etc/init.d/utserver stop. When I start it up again, all the preferences are gone and even the file that was downloading is gone.

Same thing happens if I write the preferences in the conf file. It is as if after restart, the conf file is ignored.

Any ideas how to fix this?

3) Try as I might I cannot access the webui interface from outside my network, although I have the 8080 port forwarded through my router and I can connect to my server using webmin (ssh is currently blocked at work). I have no clue why I can't access the interface from outside my network so any help/ideas would be welcome.

4) This is more of a suggestion than an annoyance. The windows client has a great feature when you manually add a torrent, you can select where to download said torrent. This would be great for this one too. So if I download a file I want to tell utorrent to download it in the a specific folder on my server, if I want to download another file I want to tell it to download it to this other folder and so on. But for the moment I could live without this feature if I could make it work nicely.

If anyone needs more details on the problems I am having please let me know but bare in mind I am a beginner when it comes to linux but I am not afraid of command line :D

Cheers,

Link to comment
Share on other sites

while I can't help with your problem, I have a suggestion for managing your downloaded files.

I made 4 directories to start:

~/downloads

~/downloads/1_Completed

~/downloads/2_Downloading

~/downloads/3_Torrents

since I run this on a headless CentOS server, I just access the files via FTP and either download them, or if I want I can move them around via FTP (FileZilla and LeapFTP both support this, others may as well). If you're sharing the files on your home network via NFS/Samba, you should be able to move the files to the correct location as long as the FTP server has access to those shares.

Hope this helps a little :)

Link to comment
Share on other sites

Cheers for your reply!

I figured that one out in the end. I had created a folder where the torrent files are store, one where the files are downloaded and one where the files are moved when the download is finished. Then I can rearrange the files as I want because i have samba shares set up.

As I said this is not the main problem with utorrent. There other ones are more important to solve.

Anyway, today I wanted to be clever and do something on my server and ran a command rm -rf /* like an idiot and erased everything. So now I am reinstalling the server all over again :|

Cheers,

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...