Hi every. Have a constant error with not being able to access transmission form inside my home network. I have tried installing it 3 times with variations and its always the same. Im following the guide http://forum.dsmg600.info/t2719-%5BREL% ... ssion.html.
I m using a dlink share center 320
I put transmission.tgz here: /mnt/HD/HD_a2
I then run the script "funpkg -i Transmission-2.42-1.tgz"
Followed by: su nobody -c "transmission-daemon -f -g /mnt/HD/HD_a2/.transmission-daemon -w /mnt/HD/HD_a2/Downloads -t -u sean -v 123456 -a 127.0.0.1,192.168.*.*,192.168.1.5,192.168.1.6,*.*.*.*"
I have tried a few combos on the code above and nothing changes.
I have had some or two success with it. But I have found when the NAS restarts I always seem the be denied access to transmission.
Any ideas at all? Thanks
403: Forbidden
Re: 403: Forbidden
does the user "nobody" have permission to read/write under the mounted share /mnt/HD/HD_a2/ , which is where your download and config directories seem to be located. often permissions are source of these types of errors. running the command
ls -laR /mnt/HD/HD_a2/
might give some clues.
ls -laR /mnt/HD/HD_a2/
might give some clues.
Re: 403: Forbidden
Thanks for getting back to me. The command gives:gunzip wrote:does the user "nobody" have permission to read/write under the mounted share /mnt/HD/HD_a2/ , which is where your download and config directories seem to be located. often permissions are source of these types of errors. running the command
ls -laR /mnt/HD/HD_a2/
might give some clues.
drwxrwxrwx 13 root root 4096 Nov 30 16:05 HD_a2
drwxrwxrwx 5 root root 4096 Nov 29 12:33 .transmission-daemon
/mnt/HD/HD_a2/.transmission-daemon:
drwxrwxrwx 5 root root 4096 Nov 29 12:33 .
drwxrwxrwx 13 root root 4096 Nov 30 16:05 ..
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 blocklists
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 resume
-rw------- 1 nobody allaccou 2210 Nov 29 13:55 settings.json
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 torrents
The folder " .transmission-daemon" belonged to the group allaccouounts 501 and the owner was nobody 501. change them to root to see if it would make a difference, it didnt. I dont believe "nobody" can write or read to /mnt/HD/HD_a2/. I know "root" and user '"sean" can.
Re: 403: Forbidden
that's odd, your config directory "/mnt/HD/HD_a2/.transmission-daemon" is owned by root, which is not a good idea. also your download directory "/mnt/HD/HD_a2/Downloads" doesn't even appear in the listing, which might be the reason for the hangup. the directory cannot be created as the parent directory is also owned by root. maybe try this after stopping the daemon:seanyd wrote:drwxrwxrwx 13 root root 4096 Nov 30 16:05 HD_a2
drwxrwxrwx 5 root root 4096 Nov 29 12:33 .transmission-daemon
/mnt/HD/HD_a2/.transmission-daemon:
drwxrwxrwx 5 root root 4096 Nov 29 12:33 .
drwxrwxrwx 13 root root 4096 Nov 30 16:05 ..
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 blocklists
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 resume
-rw------- 1 nobody allaccou 2210 Nov 29 13:55 settings.json
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 torrents
Code: Select all
mkdir /mnt/HD/HD_a2/Downloads
chown -R nobody /mnt/HD/HD_a2/Downloads
chown -R nobody /mnt/HD/HD_a2/.transmission-daemon
Re: 403: Forbidden
gunzip wrote:that's odd, your config directory "/mnt/HD/HD_a2/.transmission-daemon" is owned by root, which is not a good idea. also your download directory "/mnt/HD/HD_a2/Downloads" doesn't even appear in the listing, which might be the reason for the hangup. the directory cannot be created as the parent directory is also owned by root. maybe try this after stopping the daemon:seanyd wrote:drwxrwxrwx 13 root root 4096 Nov 30 16:05 HD_a2
drwxrwxrwx 5 root root 4096 Nov 29 12:33 .transmission-daemon
/mnt/HD/HD_a2/.transmission-daemon:
drwxrwxrwx 5 root root 4096 Nov 29 12:33 .
drwxrwxrwx 13 root root 4096 Nov 30 16:05 ..
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 blocklists
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 resume
-rw------- 1 nobody allaccou 2210 Nov 29 13:55 settings.json
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 torrents
the idea is to give user "nobody" full read/write access to both your config and download directories.Code: Select all
mkdir /mnt/HD/HD_a2/Downloads chown -R nobody /mnt/HD/HD_a2/Downloads chown -R nobody /mnt/HD/HD_a2/.transmission-daemon
I Have a download directory but I must have missed it when copying. I ran both those commands. Just so you know when I run start transmission I get:
Code: Select all
root@dlink-50DA9D:/mnt/HD/HD_a2/ffp/home/root# /ffp/start/transmission.sh start
mkdir: cannot create directory '/mnt/HD_a2/.transmission-daemon': No such file or directory
Starting transmission-daemon
Couldn't open "/mnt/HD_a2/.transmission-daemon/transmission-daemon.log": No such file or directory
root@dlink-50DA9D:/mnt/HD/HD_a2/ffp/home/root#

EDIT:
Code: Select all
/mnt/HD/HD_a2/.transmission-daemon:
drwxrwxrwx 5 nobody root 4096 Nov 29 12:33 .
drwxrwxrwx 13 root root 4096 Nov 30 18:38 ..
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 blocklists
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 resume
-rw------- 1 nobody allaccou 2209 Dec 1 18:29 settings.json
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 torrents
drwxrwxrwx 4 nobody allaccou 4096 Nov 28 20:27 Downloads
- Attachments
-
- Part1
- Capture2.PNG (53.3 KiB) Viewed 8103 times
-
- Part2
- Capture1.PNG (3.36 KiB) Viewed 8103 times
Re: 403: Forbidden
the config directory from your original post is at /mnt/HD/HD_a2/.transmission-daemon, not /mnt/HD_a2/.transmission-daemonseanyd wrote:mkdir: cannot create directory '/mnt/HD_a2/.transmission-daemon': No such file or directory
Starting transmission-daemon
Couldn't open "/mnt/HD_a2/.transmission-daemon/transmission-daemon.log": No such file or directory
these are are two different locations.:Followed by: su nobody -c "transmission-daemon -f -g /mnt/HD/HD_a2/.transmission-daemon -w /mnt/HD/HD_a2/Downloads -t -u sean -v 123456 -a 127.0.0.1,192.168.*.*,192.168.1.5,192.168.1.6,*.*.*.*"
/mnt/HD/HD_a2/.transmission-daemon
/mnt/HD_a2/.transmission-daemon
i say try again, but be more careful on the paths.
Re: 403: Forbidden
Sorry about that.
root@dlink-50DA9D:/mnt/HD/HD_a2/ffp/home/root# ls -laR /mnt/HD/HD_a2/
/mnt/HD/HD_a2/:
drwxrwxrwx 5 nobody root 4096 Nov 29 12:33 .transmission-daemon
drwxrwxrwx 4 nobody allaccou 4096 Nov 28 20:27 Downloads
/mnt/HD/HD_a2/.transmission-daemon:
drwxrwxrwx 5 nobody root 4096 Nov 29 12:33 .
drwxrwxrwx 14 root root 4096 Dec 6 15:41 ..
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 blocklists
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 resume
-rw------- 1 nobody allaccou 2209 Dec 1 18:29 settings.json
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 torrents
root@dlink-50DA9D:/mnt/HD/HD_a2/ffp/home/root# ls -laR /mnt/HD/HD_a2/
/mnt/HD/HD_a2/:
drwxrwxrwx 5 nobody root 4096 Nov 29 12:33 .transmission-daemon
drwxrwxrwx 4 nobody allaccou 4096 Nov 28 20:27 Downloads
/mnt/HD/HD_a2/.transmission-daemon:
drwxrwxrwx 5 nobody root 4096 Nov 29 12:33 .
drwxrwxrwx 14 root root 4096 Dec 6 15:41 ..
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 blocklists
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 resume
-rw------- 1 nobody allaccou 2209 Dec 1 18:29 settings.json
drwxr-xr-x 2 nobody allaccou 4096 Nov 29 12:25 torrents
Re: 403: Forbidden
OK the permissions look right when starting manually, but when you run the script it's looking in a different directory
you have to modify the transmission.sh script to match the path.
in summary when you run manually it's looking in
/mnt/HD/HD_a2 (this exists on your system and should work now)
but the transmission.sh startup script is looking in
/mnt/HD_a2 (which does NOT exist, hence the errors)
seanyd wrote:
/ffp/start/transmission.sh start
mkdir: cannot create directory '/mnt/HD_a2/.transmission-daemon': No such file or directory
Starting transmission-daemon
Couldn't open "/mnt/HD_a2/.transmission-daemon/transmission-daemon.log": No such file or directory
you have to modify the transmission.sh script to match the path.
in summary when you run manually it's looking in
/mnt/HD/HD_a2 (this exists on your system and should work now)
but the transmission.sh startup script is looking in
/mnt/HD_a2 (which does NOT exist, hence the errors)
Re: 403: Forbidden
Thats done it. I just edited the script and it worked perfectly. I also took the liberty of moving transmission into my opt folder alongside twonky media server to keep it more organized. Thank you very much for your time and patience, its very much appreciated 
