Re: web gui for ctorrent

In the worst case you can restart ctorrent with the new filename and after a hash check it should be possible to seed. but i dont want to mess with this.
i am thinking about a "non-permanent" solution dctcs can "remember" the last state of the download and as far as dctcs running it could display the downloaded amount.  would this solution satisfy you?

Re: web gui for ctorrent

Bug
the message says:
"Error - getLimits
Unable to read XmlHttpRequest.status; likely causes are a networking error or bad cross-domain request. Please see https://bugzilla.mozzilla.org/show_bug.cgi?id=238559 for more details"
and dctcs process has been killed. I have print screen so I can send it to you if you wish - see PM

Idea
Dctcs process sometimes die so it's not universal solution, but I'll be happy to see such improvement. Dctcs will be rock stable someday (I hope smile so it's restarts will no be an issue.

53 (edited by dske 2008-01-18 13:39:21)

Re: web gui for ctorrent

mozdyn wrote:

Bug
the message says:
"Error - getLimits
Unable to read XmlHttpRequest.status; likely causes are a networking error or bad cross-domain request. Please see https://bugzilla.mozzilla.org/show_bug.cgi?id=238559 for more details"
and dctcs process has been killed. I have print screen so I can send it to you if you wish - see PM

oh i see, the red window is not a bug it is an error message that trying to say that dctcs can not be reached.
the bug is that dctcs was killed.
could you please describe what happened when the process exited? (i know it is hard, but for me dctcs has not been killed for a while (i know i am lucky))
are you using the latest version?

mozdyn wrote:

Idea
Dctcs process sometimes die so it's not universal solution, but I'll be happy to see such improvement. Dctcs will be rock stable someday (I hope smile so it's restarts will no be an issue.

dctcs is intended to be rock solid so i hope it too that it will reach such a state.

Re: web gui for ctorrent

Need to turn on verbose logging. It happens when webgui is used for long time (30min.) and it appears only with newest version. In older versions gui freeze without an error. Dctcs process works almost ok. when gui is used occasionally.

Re: web gui for ctorrent

mozdyn wrote:

Need to turn on verbose logging. It happens when webgui is used for long time (30min.) and it appears only with newest version. In older versions gui freeze without an error. Dctcs process works almost ok. when gui is used occasionally.

thanks for the info although i need more info. i am using the webgui all the time when my computer is on (it is absolutely more than 30min at least 2-3 hours). The gui reports the error only in the newest version thats ok but that is not the error.

Re: web gui for ctorrent

Looks like still memory problems. I have swap, but it's almost not used (only about 1% is used). In verbose mode dctcs sends so many logs that I need to make logfile  on usbhdd (but it's size is limited to 9999kb). Only thing related I get for now is:

__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
VM: killing process ctorrent

But still trying to catch something...

Re: web gui for ctorrent

mozdyn wrote:

Looks like still memory problems. I have swap, but it's almost not used (only about 1% is used). In verbose mode dctcs sends so many logs that I need to make logfile  on usbhdd (but it's size is limited to 9999kb). Only thing related I get for now is:

__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
VM: killing process ctorrent

But still trying to catch something...

I really thank you for your support.
If this log messages are related then this is relevant for ctorrent if ctorrent is killed then dctcs should receive sigpipe (maybe sigchild) but these signals are handled correctly (i hope).

Re: web gui for ctorrent

There is nothing in the log. Dctcs is gone without any sign:
root@OpenWrt:~# tail /mnt/disc0_1/log/syslog
Jan 23 20:41:44 OpenWrt daemon.debug dctcs: command from client 3:CTBW 632,2158 12241,11026
Jan 23 20:41:45 OpenWrt daemon.debug dctcs: command from client 5:CTBW 1040,1382 21066,13444
Jan 23 20:41:45 OpenWrt daemon.debug dctcs: command from client 4:CTBW 2866,0 51260,0
Jan 23 20:41:45 OpenWrt daemon.debug dctcs: request from gui: CLIENTQUIT /0/jJlptghjmfHCchqKeCuhMgKjTyqbCVOm HTTP/1.1^M Host: 192.168.2.254:18000^M User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.8.1.4) Gecko/20070601 Firefox/2.0.0.4 (Swiftfox)^M Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5^M Accept-Language: pl,en-us;q=0.7,en;q=0.3^M Accept-Encoding: gzip,deflate^M Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7^M Keep-Alive: 300^M Connection: keep-alive^M Content-Type: text/plain; charset=utf-8^M Referer: http://192.168.2.254:18000/1A4D28B27E29CDE881DA5AF40C3A0C2C.cache.html^M Cookie: style=null^M ^M
Jan 23 20:41:45 OpenWrt daemon.info dctcs: got quit request from gui for client 0
Jan 23 20:41:45 OpenWrt daemon.debug dctcs: sending quit to client: 0
Jan 23 20:41:45 OpenWrt daemon.debug dctcs: command from client 0:CTSTATUS 0:64/0:95/0 1412/1412/1412 0,0 87556096,668811264 0,0 32
Jan 23 20:41:45 OpenWrt daemon.debug dctcs: command from client 3:CTBW 478,2395 12241,11026
Jan 23 20:41:45 OpenWrt daemon.debug dctcs: command from client 2:CTBW 1095,0 16666,0
Jan 23 20:41:46 OpenWrt daemon.debug dctcs: command from client 4:CTBW 2825,0 51260,0

Dctcs was executed with -v -v -v
Process was killed while stopping seed.
This one lived about 24h.

Re: web gui for ctorrent

Thank you for the information. I will try to track this down.

Re: web gui for ctorrent

Hey there!  I've only just installed openWRT, and am quite pleased.  This is my first post on these forums.

I'm wondering how you people are downloading torrents - I see that you are using cTorrent, but how are you storing the torrent data?  In some separate NAS disk?  Or on a flashcard?  (I've read about hardware mods for the LinkSys routers allowing an SD card to be soldered onto the board).  I'd love to use my router to manage my torrents!

Thanks

Re: web gui for ctorrent

I have an ASUS WL500-GP router so i just connected my hdd into on of the usb ports it has.

62 (edited by dske 2008-02-10 20:18:59)

Re: web gui for ctorrent

A long awaited new version smile

# Version 0.7.0 - 10/02/2008

    * support for tracking wget downloads
    * added option: wget and wget-args
    * bugfix in gui selection handling
    * added favicon.ico
    * code cleanup

(translations have to be updated)

63 (edited by Oconnor 2008-02-14 18:54:27)

Re: web gui for ctorrent

Hi, with Kamikaze 7.09 I had no Problems with dctcs. Now I installed Kamikaze from svn revision 10443. I cant use dctcs 0.6.3-1 and dctcs 0.7.0-1. If I start dctcs my browser shows that there is no connection. If I install dctcs 0.6.2-2 I'm able to login to dctcs but If I try to download a torrent from url I get that

Error - getLimits
Unable to read XmlHttpRequest.status; likely causes are a networking error or bad cross-domain request. Please see https://bugzilla.mozilla.org/show_bug.cgi?id=238559 for more details

What can I do to solve that problem?

Re: web gui for ctorrent

I am using Kamikaze 7.09 i never tried the svn version so i dont know the problem. It seems that the dctcs process exits for some reason. Could you please start with dctcs -v -v -v and let me see the logs? (it logs via syslog)

65 (edited by Oconnor 2008-02-14 22:21:45)

Re: web gui for ctorrent

Hmm, today the webgui from dctcs 0.7.0-1 is working, after submiting a torrent-url. Im getting "successful uploaded" and then

Error - Error getting torrents
Error - get WgetDownloads
Error - getLimits
Error - Error getting clientsinfo

But my torrent directory is empty. At show wget, I see that my torrent is stopped.
Logread shows that

Feb 14 20:52:16 AsusP daemon.debug dctcs: stat file read
Feb 14 20:52:16 AsusP daemon.debug dctcs: setting alarm to check torrent-directory after: 0 sec
Feb 14 20:53:05 AsusP daemon.debug dctcs: request from gui: GET / HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=
Feb 14 20:53:05 AsusP daemon.debug dctcs: request from gui: GET /darkside.ctcs.gui.nocache.js HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: */*^M Accept-Language: de-de,de;
Feb 14 20:53:05 AsusP daemon.debug dctcs: request from gui: GET /gui.css HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/css,*/*;q=0.1^M Accept-Language: de-de,de;q=0.8,
Feb 14 20:53:05 AsusP daemon.debug dctcs: request from gui: GET /C9671341924D6DDD3C66ADB1F031E09A.cache.html HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 14 20:53:05 AsusP daemon.debug dctcs: request from gui: GET /messages.properties HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml,application/xht
Feb 14 20:53:10 AsusP daemon.debug dctcs: request from gui: AUTH /0 HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml,application/xhtml+xml,text/html;
Feb 14 20:53:10 AsusP daemon.debug dctcs: request from gui: AUTH /1?b7ee8b87ca89b952b263c3ef3336cbc5 HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml
Feb 14 20:53:15 AsusP daemon.debug dctcs: request from gui: AUTH /0 HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml,application/xhtml+xml,text/html;
Feb 14 20:53:15 AsusP daemon.debug dctcs: stat file wrote, ret: 32
Feb 14 20:53:15 AsusP daemon.debug dctcs: request from gui: AUTH /1?2ab38451366b91ff5b83cdc0a02ed971 HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml
Feb 14 20:53:15 AsusP daemon.debug dctcs: request from gui: GET /logo.gif HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: image/png,*/*;q=0.5^M Accept-Language: de-de,de;q=0.
Feb 14 20:53:15 AsusP daemon.debug dctcs: request from gui: GETCLIENTSINFO /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 14 20:53:15 AsusP daemon.debug dctcs: request from gui: GETLIMITS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/
Feb 14 20:53:15 AsusP daemon.debug dctcs: request from gui: GETTORRENTS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applicatio
Feb 14 20:53:15 AsusP daemon.debug dctcs: request from gui: GETWGETS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/x
Feb 14 20:53:20 AsusP daemon.debug dctcs: request from gui: GETCLIENTSINFO /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 14 20:53:20 AsusP daemon.debug dctcs: request from gui: GETTORRENTS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applicatio
Feb 14 20:53:20 AsusP daemon.debug dctcs: request from gui: GETLIMITS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/
Feb 14 20:53:20 AsusP daemon.debug dctcs: request from gui: GETWGETS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/x
Feb 14 20:53:35 AsusP daemon.debug dctcs: request from gui: GETCLIENTSINFO /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 14 20:53:35 AsusP daemon.debug dctcs: request from gui: GETTORRENTS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applicatio
Feb 14 20:53:35 AsusP daemon.debug dctcs: request from gui: GETLIMITS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/
Feb 14 20:53:35 AsusP daemon.debug dctcs: request from gui: GETWGETS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/x
Feb 14 20:53:50 AsusP daemon.debug dctcs: request from gui: GETCLIENTSINFO /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 14 20:53:50 AsusP daemon.debug dctcs: request from gui: GETTORRENTS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applicatio
Feb 14 20:53:50 AsusP daemon.debug dctcs: request from gui: GETLIMITS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/
Feb 14 20:53:50 AsusP daemon.debug dctcs: request from gui: GETWGETS /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/x
Feb 14 20:54:05 AsusP daemon.debug dctcs: request from gui: SUBMITURL /deWRvsAbTRPOCnSGviFTcZITDlMmgdRK/0/http://download.opensuse.org/distribution/10.3/iso/torrent/openSUSE-10.3-GM-GNOME-i386.torrent HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U

If I now download myselve the torrent and copying it to the torrent directory and start dctcs -v -v -v again. The webgui is not working anymore. logread shows

Feb 14 21:13:30 AsusP daemon.debug dctcs: listdir found file: /mnt/usbdrive/torrent/openSUSE-10.3-GM-Addon-NonOss-BiArch.torrent

another question:
What is saved in the file "/etc/dctcs.stat"?
I saw in the log

Feb 14 21:16:33 AsusP daemon.debug dctcs: stat file wrote, ret: 32

Is dctcs everytime writing something in that file? You can only write ca. 100.000 times to the flash after that the flash could be defekt and the router is bricked! I don't want to brick my router!

Re: web gui for ctorrent

It is strange i tried submitting the url and it worked correctly.
i am trying to identify the problem. thank you for the log.

another question:
What is saved in the file "/etc/dctcs.stat"?

usage statistics what you can see when clicking on "summary"

Is dctcs everytime writing something in that file?

what do you mean by everytime?
it writes the stats in 4 cases:
when a HUP signal received
when it exits
when a new torrent file added
every 12 hours

You can only write ca. 100.000 times to the flash after that the flash could be defekt and the router is bricked! I don't want to brick my router!

you have (at least) 2 options:
do not use dctcs
use the "--write-stats [0|1] enable/disable writing of statistical data" option as mentioned on the homepage and when you use dctcs --help

thanks for the log again!

Re: web gui for ctorrent

dske wrote:

I
...
you have (at least) 2 options:
do not use dctcs
use the "--write-stats [0|1] enable/disable writing of statistical data" option as mentioned on the homepage and when you use dctcs --help
...

I love your tool, it is realy easy to use and the best GUI for torrents that I have found. So I will use it anyway. I will do the 3rd option, I will install dctcs to USB and link the files to the flash, then I won't have any writing problems at all smile.
Thanks for the tool anyway smile.

Re: web gui for ctorrent

Thanks!
I fixed some errors, if you think you can try this version:
http://yodctcs.googlepages.com/dctcs-kam

Re: web gui for ctorrent

Thanks for your good support.
I tried your new Version but submiturl und wget still does not work. That is in my logread:

submiturl:
Error - Error getting torrents
Error - get WgetDownloads
Error - getLimits
Error - Error getting clientsinfo

Feb 15 22:55:36 AsusP daemon.debug dctcs: stat file read
Feb 15 22:55:36 AsusP daemon.debug dctcs: setting alarm to check torrent-directory after: 0 sec
Feb 15 22:56:05 AsusP daemon.debug dctcs: request from gui: GET / HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=
Feb 15 22:56:05 AsusP daemon.debug dctcs: request from gui: GET /darkside.ctcs.gui.nocache.js HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: */*^M Accept-Language: de-de,de;
Feb 15 22:56:05 AsusP daemon.debug dctcs: request from gui: GET /gui.css HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/css,*/*;q=0.1^M Accept-Language: de-de,de;q=0.8,
Feb 15 22:56:05 AsusP daemon.debug dctcs: request from gui: GET /C9671341924D6DDD3C66ADB1F031E09A.cache.html HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 15 22:56:05 AsusP daemon.debug dctcs: request from gui: GET /messages.properties HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml,application/xht
Feb 15 22:56:13 AsusP daemon.debug dctcs: request from gui: AUTH /0 HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml,application/xhtml+xml,text/html;
Feb 15 22:56:13 AsusP daemon.debug dctcs: request from gui: AUTH /1?6023a65543ced5e7e3f628a63f2d8eb8 HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml
Feb 15 22:56:13 AsusP daemon.debug dctcs: request from gui: GET /logo.gif HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: image/png,*/*;q=0.5^M Accept-Language: de-de,de;q=0.
Feb 15 22:56:13 AsusP daemon.debug dctcs: request from gui: GETCLIENTSINFO /EVZLMmJiSDuYlpKAUNAviMABCYAcYVFc HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 15 22:56:13 AsusP daemon.debug dctcs: request from gui: GETLIMITS /EVZLMmJiSDuYlpKAUNAviMABCYAcYVFc HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/
Feb 15 22:56:13 AsusP daemon.debug dctcs: stat file wrote, ret: 32
Feb 15 22:56:13 AsusP daemon.debug dctcs: request from gui: GETTORRENTS /EVZLMmJiSDuYlpKAUNAviMABCYAcYVFc HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applicatio
Feb 15 22:56:13 AsusP daemon.debug dctcs: request from gui: GETWGETS /EVZLMmJiSDuYlpKAUNAviMABCYAcYVFc HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/x
Feb 15 22:56:20 AsusP daemon.debug dctcs: request from gui: GETCLIENTSINFO /EVZLMmJiSDuYlpKAUNAviMABCYAcYVFc HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 15 22:56:20 AsusP daemon.debug dctcs: request from gui: GETTORRENTS /EVZLMmJiSDuYlpKAUNAviMABCYAcYVFc HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applicatio
Feb 15 22:56:20 AsusP daemon.debug dctcs: request from gui: GETLIMITS /EVZLMmJiSDuYlpKAUNAviMABCYAcYVFc HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/
Feb 15 22:56:20 AsusP daemon.debug dctcs: request from gui: GETWGETS /EVZLMmJiSDuYlpKAUNAviMABCYAcYVFc HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/x
Feb 15 22:56:22 AsusP daemon.debug dctcs: request from gui: SUBMITURL /EVZLMmJiSDuYlpKAUNAviMABCYAcYVFc/0/http://download.opensuse.org/distribution/10.3/iso/torrent/openSUSE-10.3-GM-GNOME-i386.torrent HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U

wget
no error but it does not start to download the *.torent file. DCTCS keeps working, but nothing happens.

Feb 15 23:01:00 AsusP daemon.debug dctcs: stat file read
Feb 15 23:01:00 AsusP daemon.debug dctcs: setting alarm to check torrent-directory after: 0 sec
Feb 15 23:01:11 AsusP daemon.debug dctcs: request from gui: GET / HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=
Feb 15 23:01:12 AsusP daemon.debug dctcs: request from gui: GET /darkside.ctcs.gui.nocache.js HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: */*^M Accept-Language: de-de,de;
Feb 15 23:01:12 AsusP daemon.debug dctcs: request from gui: GET /gui.css HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/css,*/*;q=0.1^M Accept-Language: de-de,de;q=0.8,
Feb 15 23:01:12 AsusP daemon.debug dctcs: request from gui: GET /C9671341924D6DDD3C66ADB1F031E09A.cache.html HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 15 23:01:12 AsusP daemon.debug dctcs: request from gui: GET /messages.properties HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml,application/xht
Feb 15 23:01:15 AsusP daemon.debug dctcs: request from gui: AUTH /0 HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml,application/xhtml+xml,text/html;
Feb 15 23:01:15 AsusP daemon.debug dctcs: request from gui: AUTH /1?af99218f32b62ffbcd8e173b2dcce08c HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/xml
Feb 15 23:01:16 AsusP daemon.debug dctcs: request from gui: GET /logo.gif HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: image/png,*/*;q=0.5^M Accept-Language: de-de,de;q=0.
Feb 15 23:01:16 AsusP daemon.debug dctcs: request from gui: GETCLIENTSINFO /GVsRVIUGqgNHWGidbFWvVwEIavlakMNr HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 15 23:01:16 AsusP daemon.debug dctcs: request from gui: GETLIMITS /GVsRVIUGqgNHWGidbFWvVwEIavlakMNr HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/
Feb 15 23:01:16 AsusP daemon.debug dctcs: stat file wrote, ret: 32
Feb 15 23:01:16 AsusP daemon.debug dctcs: request from gui: GETTORRENTS /GVsRVIUGqgNHWGidbFWvVwEIavlakMNr HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applicatio
Feb 15 23:01:16 AsusP daemon.debug dctcs: request from gui: GETWGETS /GVsRVIUGqgNHWGidbFWvVwEIavlakMNr HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/x
Feb 15 23:01:22 AsusP daemon.debug dctcs: request from gui: SUBMITWDOWNLOAD /GVsRVIUGqgNHWGidbFWvVwEIavlakMNr/1/http://download.opensuse.org/distribution/10.3/iso/torrent/openSUSE-10.3-GM-GNOME-i386.torrent HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Wind
Feb 15 23:01:27 AsusP daemon.debug dctcs: request from gui: GETCLIENTSINFO /GVsRVIUGqgNHWGidbFWvVwEIavlakMNr HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applica
Feb 15 23:01:27 AsusP daemon.debug dctcs: request from gui: GETTORRENTS /GVsRVIUGqgNHWGidbFWvVwEIavlakMNr HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,applicatio
Feb 15 23:01:27 AsusP daemon.debug dctcs: request from gui: GETLIMITS /GVsRVIUGqgNHWGidbFWvVwEIavlakMNr HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/
Feb 15 23:01:27 AsusP daemon.debug dctcs: request from gui: GETWGETS /GVsRVIUGqgNHWGidbFWvVwEIavlakMNr HTTP/1.1^M Host: 172.16.1.1:18000^M User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12^M Accept: text/xml,application/x

If I download the torrentfile myselve, dctcs does not start at all.

Feb 15 23:03:41 AsusP daemon.debug dctcs: listdir found file: /mnt/usbdrive/torrent/openSUSE-10.3-GM-GNOME-i386.torrent

If you need more debugs, just tell me.

Re: web gui for ctorrent

Thanks a lot.
Unfortunately i need more info because it seems nothing changed. I updated the dctcs-kam on the homepage it wont fork to background and will print lot of debug messages _including_your_password_and_username. I would appreciate it if you could send me the output.

71 (edited by Oconnor 2008-02-16 13:22:24)

Re: web gui for ctorrent

Here is the output:

root@AsusP:/mnt/usbdrive/linux/usr/bin# ./dctcs-kam
found option: torrent-directory : /mnt/usbdrive/torrent/
t  = /mnt/usbdrive/torrent/
found option: download-directory : /mnt/usbdrive/download
d  = /mnt/usbdrive/download
found option: user : me
U  = me
found option: password : just
P  = just
found option: exit-hours : 168
e  = 168
found option: exit-ratio : 5.6
E  = 5.6
found option: cache-size : 1
s  = 1
found option: restart-torrents : 0
r  = 0
found option: download-limit : 0
D  = 0
found option: upload-limit : 0
u  = 0
userargs:
stat file read
setting alarm to check torrent-directory after: 0 sec
wgui: GET / HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://172.16.1.1:81/
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D
Cache-Control: max-age=0

path: /usr/share/dctcs/www/darkside.ctcs.gui//gui.html
wgui: GET /darkside.ctcs.gui.nocache.js HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: */*
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://172.16.1.1:18000/
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D
Cache-Control: max-age=0

path: /usr/share/dctcs/www/darkside.ctcs.gui//darkside.ctcs.gui.nocache.js
wgui: GET /gui.css HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/css,*/*;q=0.1
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://172.16.1.1:18000/
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D
Cache-Control: max-age=0

path: /usr/share/dctcs/www/darkside.ctcs.gui//gui.css
wgui: GET /C9671341924D6DDD3C66ADB1F031E09A.cache.html HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://172.16.1.1:18000/
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D

path: /usr/share/dctcs/www/darkside.ctcs.gui//C9671341924D6DDD3C66ADB1F031E09A.cache.html
wgui: GET /messages.properties HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: text/plain; charset=utf-8
Referer: http://172.16.1.1:18000/C9671341924D6DDD3C66ADB1F031E09A.cache.html
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D

path: /usr/share/dctcs/www/darkside.ctcs.gui//messages.properties
wgui: AUTH /0 HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: text/plain; charset=utf-8
Referer: http://172.16.1.1:18000/C9671341924D6DDD3C66ADB1F031E09A.cache.html
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D

6c8acac5b6e47ec7c1d933705430d723
wgui: AUTH /1?6c8acac5b6e47ec7c1d933705430d723 HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: text/plain; charset=utf-8
Referer: http://172.16.1.1:18000/C9671341924D6DDD3C66ADB1F031E09A.cache.html
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D

6c8acac5b6e47ec7c1d933705430d723
wgui: GET /logo.gif HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://172.16.1.1:18000/
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D
Cache-Control: max-age=0

path: /usr/share/dctcs/www/darkside.ctcs.gui//logo.gif
wgui: GETCLIENTSINFO /TbfWdtgslrVyBxEjXTNPlCankwPxXtbr HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: text/plain; charset=utf-8
Referer: http://172.16.1.1:18000/C9671341924D6DDD3C66ADB1F031E09A.cache.html
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D

wgui: GETLIMITS /TbfWdtgslrVyBxEjXTNPlCankwPxXtbr HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: text/plain; charset=utf-8
Referer: http://172.16.1.1:18000/C9671341924D6DDD3C66ADB1F031E09A.cache.html
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D

0/0

wgui: GETWGETS /TbfWdtgslrVyBxEjXTNPlCankwPxXtbr HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: text/plain; charset=utf-8
Referer: http://172.16.1.1:18000/C9671341924D6DDD3C66ADB1F031E09A.cache.html
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D

wgui: GETTORRENTS /TbfWdtgslrVyBxEjXTNPlCankwPxXtbr HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: text/plain; charset=utf-8
Referer: http://172.16.1.1:18000/C9671341924D6DDD3C66ADB1F031E09A.cache.html
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D

wgui: SUBMITURL /TbfWdtgslrVyBxEjXTNPlCankwPxXtbr/0/http://download.opensuse.org/distribution/10.3/iso/torrent/openSUSE-10.3-GM-KDE-i386.torrent HTTP/1.1
Host: 172.16.1.1:18000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: text/plain; charset=utf-8
Referer: http://172.16.1.1:18000/C9671341924D6DDD3C66ADB1F031E09A.cache.html
Cookie: style=null; punbb_cookie=a%3A2%3A%7Bi%3A0%3Bs%3A1%3A%223%22%3Bi%3A1%3Bs%3A32%3A%220b734bf323cc30c6f535e22cbc0ddc55%22%3B%7D

./dctcs-kam: can't resolve symbol 'rindex'
root@AsusP:/mnt/usbdrive/linux/usr/bin#

I gess

./dctcs-kam: can't resolve symbol 'rindex'

is the error, If I start dctcs with a downloaded torrent I get the same error.

Re: web gui for ctorrent

Yes that is the error. This is a glibc compatibility issue. I replaced rindex with srtrrchr i hope this will work for you. (download again from the same location and name)

Re: web gui for ctorrent

Thanks that did it smile!

Re: web gui for ctorrent

I'm a bit confused. I have been using ctorrent on the lastest Kamakazi sucessfully fro mthe console and just installed the latest version of YODCTCS. I can startup this YODCTCS and browse it from my PC and see the torrent as stopped but can't start it? Do you have to manually start ctorrent or can YODCTCS start it for you when needed?  My config file:

torrent-directory=/mnt/ctorrent/torrent/
download-directory=/mnt/ctorrent/
user=root
password=password
# exit-hours=168
exit-ratio=1.5
# cache-size=1
restart-torrents=0

download-limit=0
upload-limit=16

#check-interval=0

#port=18000

#arbitrary arguments to ctorrent
#ctorrent-args=-a

#url to prepend in the details box
#detail-url=ftp://192.168.1.1/mnt/disc0_1/

#arbitrary arguments to wget
#wget-args=-c

#write-stats=1
ctorrent=/usr/bin/ctorrent
#client-host=localhost:15000
#htmlroot-directory=/usr/share/dctcs/www/darkside.ctcs.gui/
#wget=/usr/bin/wget

Linksys WRTSL54GS
X-Wrt Kamakazi 7.09
2.5" 40GB USB2 bus-powered harddrive

Re: web gui for ctorrent

Oh, and "dctcs start" works but "dctcs stop" gives:
bind client port: Address already in use

Thanks,
Ron

Linksys WRTSL54GS
X-Wrt Kamakazi 7.09
2.5" 40GB USB2 bus-powered harddrive