Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
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
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
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
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
Mosquilok - I did that no sppon.
Pejn - Yes I did... But in my .transmission/daemon/ is empty there is no socket file..
Offline
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
Any body?
Offline
you should have a file in there called socket
Offline
Can somebody attach me the file or can any body point me to the correct pakg to install?
Thank You!!!
Offline
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
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
KyleK,
Thanks for the post but even with your changes I still get the same error...
In the details I get...
403 - Forbidden
Offline
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
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
Does the binary have to be 777 as well?
I mean I dont get it... I still get the 403 Forbidden...
Offline
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
Yes I did use -R for recursive...
The logs show nothing that show any issues...
Thank You for all the help....
Offline
Any body else?
TIA!
Offline
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
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
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
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:
$ 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:
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
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
Offline
By the way just to verify...
/mnt/HD_a2 # echo $TRANSMISSION_HOME
/mnt/HD_a2/.transmission
/mnt/HD_a2 #
Offline
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
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