Need help configuring Transmission - Permissions Issue

Status
Not open for further replies.

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
Hi guys,

OK. So, I've been using this FreeNAS box more and more recently. I've migrated all of my iTunes library to it and have multiple computers running off of the NAS box (using symlinks - Apple sure doesn't like us tinkerers doing that kind of thing!). I'd also like to off-load some more of my computing tasks to the server, including my Torrent downloads. I've followed the guide here :

http://forums.freenas.org/showthrea...LEASE_MULTIMEDIA&p=22966&viewfull=1#post22966

practically to a 'T', but I keep running into the same problem.

If I start a Torrent download (using the Remote GUI app), the download goes on for a little bit (usually 3 or 4 MB), and then stops, citing a "Permission Denied" error. I know this is very generic, but please shoot with any info you need to further troubleshoot (including, maybe, how to get it...=)), and I'll gladly help you help me.

Cheers! =)
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
OK, so just to eliminate permissions as an issue, I switched the user for Transmissions (in the rc.conf file) from "www" to "root", just to see. Same thing happens! Except that, this time, the error is "No space left on device"!!! This, even though I have well over 6TB left...=))) (Torrent in question was just over 2 Gb). Any ideas?
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
So, I copy-pasted what I believe to be the output of the log file (clicking on the few lines of code at the bottom of the GUI reveals some more lines), and here it is :

Apr 4 19:40:23 freenas kernel: GEOM: ada2: partition 2 does not start on a track boundary.
Apr 4 19:40:23 freenas kernel: GEOM: ada2: partition 2 does not end on a track boundary.
Apr 4 19:40:23 freenas kernel: GEOM: ada2: partition 1 does not start on a track boundary.
Apr 4 19:40:23 freenas kernel: GEOM: ada2: partition 1 does not end on a track boundary.
Apr 4 19:40:23 freenas kernel: Trying to mount root from ufs:/dev/ufs/FreeNASs1a
Apr 4 19:40:23 freenas kernel: ZFS filesystem version 4
Apr 4 19:40:23 freenas kernel: ZFS storage pool version 15
Apr 4 19:40:23 freenas root: /etc/rc: WARNING: failed precmd routine for vmware_guestd
Apr 4 19:40:25 freenas transmission-daemon[1311]: UDP Failed to set receive buffer: No buffer space available (tr-udp.c:56)
Apr 4 19:40:25 freenas transmission-daemon[1311]: UDP Failed to set send buffer: No buffer space available (tr-udp.c:62)
Apr 4 19:40:25 freenas transmission-daemon[1311]: UDP Failed to set receive buffer: requested 4194304, got 42080 (tr-udp.c:75)
Apr 4 19:40:25 freenas transmission-daemon[1311]: UDP Failed to set send buffer: requested 1048576, got 9216 (tr-udp.c:86)
Apr 4 19:40:25 freenas transmission-daemon[1311]: ubuntu-11.10-desktop-i386.iso No data found! Ensure your drives are connected or use "Set Location". To re-download, remove the torrent and re-add it. (torrent.c:487)
Apr 4 19:40:46 freenas ntpd[1653]: ntpd 4.2.4p5-a (1)
Apr 4 19:40:50 freenas transmission-daemon[2035]: Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:365)
Apr 4 19:40:50 freenas transmission-daemon[2035]: Couldn't bind port 51413 on ::: Address already in use (Is another copy of Transmission already running?) (net.c:365)
Apr 4 19:40:50 freenas transmission-daemon[2035]: UDP Couldn't bind IPv4 socket (tr-udp.c:260)
Apr 4 19:40:50 freenas transmission-daemon[2035]: ubuntu-11.10-desktop-i386.iso No data found! Ensure your drives are connected or use "Set Location". To re-download, remove the torrent and re-add it. (torrent.c:487)

Questions :

1. I have tried following the guides in the thread above (there is this one, and in the same thread, another one written by the actual thread author) a few times, to try and make sure I was doing everything right. Looks like I might have a few instances of transmission running...? How do I disable them?
2. What's the deal about the ports not being open and such? And the buffer space not available...?
3. The first four lines worry me...I did indeed replace the drive ada2 two or three weeks ago, as it was defective. Things were re-silvered, and there you go, I thought it all went well - should I be worried?

For the record, I still get the same error as before - "Permission Denied" or some such after a few MB of downloads.

Please help! =)
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
Follow-Up : The whole "Failed to set receive/send buffer" errors can be eliminated by adding the following two lines of code :

kern.ipc.maxsockbuf=5242880
net.inet.udp.recvspace=4194304

to the end of the file /conf/base/etc/sysctl.conf

So, I did :

mount -uw /
ee /conf/base/etc/sysctl.conf

and then added the two lines above at the end of the file (it only had four lines of code that were actually used up, in my config).

Sorry if this sounds tedious to the power users - I'm just documenting this half for myself as a placeholder, but also half for others who might run in the same situation and end up here with some search. =)

Now, just got to figure out those permissions issues...
 
Status
Not open for further replies.
Top