DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-03-21 08:31:56

nUll
Member
Registered: 2008-03-09
Posts: 113

Transmission+Clutch Problems. Please Help

So I am going on a trip and I would liek to get this setup...

So I navigate to the clutch page and it seems to be up but I get the following messages...

Could not connect to the server. You may need to reload the page to reconnect.

I use the following guide

http://www.shadowandy.net/_html/archive … n_106.html
and
http://www.shadowandy.net/_html/archive … nsmis.html

Please Help!

TIA!

Offline

 

#2 2008-03-21 08:33:57

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

By the way I got the following running right now...

/mnt/HD_a2/fun_plug.d/sbin/lighttpd -f /mnt/HD_a2/fun_plug.d/etc/lighttpd.conf
/mnt/HD_a2/fun_plug.d/bin/transmission-daemon -f
/mnt/HD_a2/fun_plug.d/bin/transmission-daemon -f
/mnt/HD_a2/fun_plug.d/bin/transmission-daemon -f

Anything I am missing?

Thank You!

Offline

 

#3 2008-03-21 11:22:14

moquilok
Member
Registered: 2008-03-17
Posts: 28

Re: Transmission+Clutch Problems. Please Help

I think I received that error message once when attempting to upload a torrent file, so I just reloaded the page, and it worked.  I've been playing with transmission/clutch for a few days now and it's only happened that one time.  When are you getting that message?

Offline

 

#4 2008-03-21 11:32:35

Pejn
Member
Registered: 2007-12-17
Posts: 61

Re: Transmission+Clutch Problems. Please Help

Have you changed the path in the socket.txt file? (www\pages\Clutch\remote\data\socket.txt) making sure it points to the location of your transmission-daemon socket file? (ex: /mnt/HD_a2/.transmission/daemon/socket)

Offline

 

#5 2008-03-21 16:21:24

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

Mosquilok - I did that no sppon.
Pejn - Yes I did... But  in my .transmission/daemon/ is empty there is no socket file..

Offline

 

#6 2008-03-21 16:22:58

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

moquilock I am getting that message when I go to the page and try to click on some thing it does not let me do anything...

Offline

 

#7 2008-03-22 02:52:38

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

Any body? smile

Offline

 

#8 2008-03-22 18:06:47

Pejn
Member
Registered: 2007-12-17
Posts: 61

Re: Transmission+Clutch Problems. Please Help

you should have a file in there called socket

Offline

 

#9 2008-03-23 01:58:19

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

Can somebody attach me the file or can any body point me to the correct pakg to install?

Thank You!!!

Offline

 

#10 2008-03-23 04:23:13

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission+Clutch Problems. Please Help

nUll wrote:

Mosquilok - I did that no sppon.
Pejn - Yes I did... But  in my .transmission/daemon/ is empty there is no socket file..

If the socket file is not present in  that directory while transmission-daemon is running, then the daemon uses a different home directory (most likely /home/root/.transmission).
This happens if the environment variable TRANSMISSION_DAEMON is not set properly before starting the daemon.

For it to work correctly, you need the following line in 3 places:
* in /mnt/HD_a2/fun_plug
* in /mnt/HD_a2/fun_plug.d/etc/profile (only necessary if you connect via ssh)
* in /mnt/HD_a2/fun_plug.d/start/transmission.sh

Code:

export TRANSMISSION_HOME=/mnt/HD_a2/.transmission

Some of Clutches messages provide a "More" button for a complete error message. It would help if you can post this.

Offline

 

#11 2008-03-23 05:26:40

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

KyleK,

Thanks for the post but even with your changes I still get the same error...

In the details I get...

403 - Forbidden

Offline

 

#12 2008-03-23 05:31:11

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission+Clutch Problems. Please Help

The folder www/pages/Clutch/remote/data has to have full access for whatever account Clutch runs on (probably root).
The same goes for the folder /mnt/HD_a2/.transmission/daemon.

Offline

 

#13 2008-03-23 06:06:56

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

All the permissions are set properly I even chown it to root with 777 and still no go.

403 Forbidden

Thank You in advance for all the help!
Any more ideas KyleK?

Offline

 

#14 2008-03-23 06:12:54

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

Does the binary have to be 777 as well?
I mean I dont get it... I still get the 403 Forbidden...

Offline

 

#15 2008-03-23 06:33:42

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission+Clutch Problems. Please Help

Did you use the -R option when setting permissions for both directories?
Other than that, I'm at a loss as to why it fails. Check your lighttpd log files (www/logs usually), maybe some clue is hidden in there.

Offline

 

#16 2008-03-23 06:36:25

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

Yes I did use -R for recursive...

The logs show nothing that show any issues...

Thank You for all the help....

sad

Offline

 

#17 2008-03-23 10:50:09

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

Any body else?
TIA!

Offline

 

#18 2008-03-23 14:43:45

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission+Clutch Problems. Please Help

I guess I need more information about your setup:
Where is your www folder located?
Does lighttpd.conf point to the correct folder?
What are the folder permissions?
Under which user do lighttpd & php run?
what are the file permissions for www/pages/Clutch/remote/data/socket.txt
what are the file permissions for /mnt/HD_a2/.transmission/daemon/socket
Does the socket.txt contain  the correct (and absolute!) path to the socket file
Can you access Transmission via command line (type transmission-remote -h to see what you can do. try adding a torrent, or change some preference)

Offline

 

#19 2008-03-23 21:37:35

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

Where is your www folder located?
Is located at /mnt/HD_a2/www

Does lighttpd.conf point to the correct folder?
server.document-root        = "/mnt/HD_a2/www/pages/"

What are the folder permissions?
for the folder www and .transmission
owner:root
group:root
777

Under which user do lighttpd & php run?
I am guessing root since its starts automatically

what are the file permissions for www/pages/Clutch/remote/data/socket.txt
777
what are the file permissions for /mnt/HD_a2/.transmission/daemon/socket
777 - Note I do not have a socket file

Does the socket.txt contain  the correct (and absolute!) path to the socket file
Yes

Can you access Transmission via command line (type transmission-remote -h to see what you can do. try adding a torrent, or change some preference)
When I try to use command line I get...
[warn] epoll_create: Function not implemented

Thank You for all the help.

Offline

 

#20 2008-03-23 21:56:22

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

Ok so even though I get  [warn] epoll_create: Function not implemented the commands seem to be working just fine from command line...
But Clutch still 403 Forbidden.

Offline

 

#21 2008-03-23 22:02:05

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission+Clutch Problems. Please Help

When I try to use command line I get...
[warn] epoll_create: Function not implemented

What command did you try specifically?
transmission-remote -h should bring up a list of possible options.
Try transmission-remote -l. If you have no torrents downloading, and the above warning is the only message you get, then transmission-daemon is running.

If so, do the following:

Code:

$ kill `pidof transmission-daemon`
$ export TRANSMISSION_HOME=/mnt/HD_a2/.transmission
$ transmission-daemon -d

You should see some informative messages about transmission starting up.
If you notice any problems here, post the messages.

The daemon runs in foreground mode now, you'll have to terminate it with Ctrl-C.
Try Clutch now. If it works, then the TRANSMISSION_HOME variable was not set correctly.

Close the daemon, then restart it using the fun_plug script:

Code:

sh /mnt/HD_a2/fun_plug.d/start/transmission.sh start

A socket file should appear in /mnt/HD_a2/.transmission/daemon
(if you type ls -alh --color the word socket should be colored, and the permissions should be "srwxr-xr-x")

Clutch should work fine now.

Offline

 

#22 2008-03-23 22:17:20

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

Following your first instructions I get..

/mnt/HD_a2 # kill `pidof transmission-daemon`
/mnt/HD_a2 # export TRANSMISSION_HOME=/mnt/HD_a2/.transmission
/mnt/HD_a2 # transmission-daemon -d
[warn] epoll_create: Function not implemented
[warn] epoll_create: Function not implemented
Transmission 1.06 (5136) started
Bound socket 12 to port 51413
Port Mapping: opened port 51413 to listen for incoming peer connections

So all seems fine there...

Than I go to http://ip:8080/clutch/

And I get 403 Forbidden.

and when I ls -alh --color the socket file I get..

drwxrwxrwx    2 root     root         4.0k Mar 23 15:15 .
drwxrwxrwx    5 root     root         4.0k Mar 23 13:39 ..
-rw-r--r--    1 root     root            5 Mar 23 15:14 lock
srwxr-xr-x    1 root     root            0 Mar 23 15:14 socket
-rw-r--r--    1 root     root          281 Mar 23 15:15 state

All seems fine as well...

But still no spoon sad

Offline

 

#23 2008-03-23 22:23:26

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

By the way just to verify...

/mnt/HD_a2 # echo $TRANSMISSION_HOME
/mnt/HD_a2/.transmission
/mnt/HD_a2 #

Offline

 

#24 2008-03-23 22:23:32

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission+Clutch Problems. Please Help

Does the Clutch page show up at all (any images, buttons), or does lighttpd immediately report 403 forbidden?

I have a feeling this is more of a lighttpd issue than a problem with transmission.
Check if you have the mod_auth module activated in Transmission. If so, your authentication might be set up wrongly in the web server.

Offline

 

#25 2008-03-23 22:26:20

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: Transmission+Clutch Problems. Please Help

I haven't modify the lighttpd.conf at all... Do I have to enable modules in it?

All images are loading just fine... How can I see if I have those modules enables in transmission?

Thank You!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB