Transmission No such file or directory error
Forum » Forum / Torrent programs » Transmission No such file or directory error
Started by: nevil3nevil3
On: 1245769367|%e %b %Y, %H:%M %Z|agohover
Number of posts: 14
rss icon RSS: New posts
Transmission "No such file or directory error"
nevil3nevil3 1245769367|%e %b %Y, %H:%M %Z|agohover

Im hoping someone can help me with this. Updated transmission from 1.34 to 1.72 yesterday and had heaps of issues with it ever since. Ive been through the threads almost a hundred times.

Basically, a torrent appears to start downloading but the stops saying "no such file or directory" Ive triple checked the location in the settings.json file which is: "\/shares\/internal\/TORRENT\/Downloading\/"

Im completely stumped why it wont work. The old 1.34 worked wondefully but i liked the idea of having a watch directory.

Cheers for any help

last edited on 1245770148|%e %b %Y, %H:%M %Z|agohover by nevil3 + show more
unfold Transmission "No such file or directory error" by nevil3nevil3, 1245769367|%e %b %Y, %H:%M %Z|agohover
Re: Transmission "No such file or directory error"
anpe008anpe008 1245780527|%e %b %Y, %H:%M %Z|agohover

what is you settings.json file?

try to set up the download-dir in the webGUI…

unfold Re: Transmission "No such file or directory error" by anpe008anpe008, 1245780527|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
boondoklifeboondoklife 1245800305|%e %b %Y, %H:%M %Z|agohover

Check your permissions on the file, I generaly get this issue when the download directory is not available to the user running transmission.


while ( love & passion ) {
for( fight = 0 ; rights < freedom ; rights++ )
fight = standup( rights );
free( babylon ); }

unfold Re: Transmission No such file or directory error by boondoklifeboondoklife, 1245800305|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
nevil3nevil3 1245844296|%e %b %Y, %H:%M %Z|agohover

The settings.json is as follows:

{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": true,
"complete-dir": "/shares/internal/TORRENT/Complete",
"dht-enabled": true,
"download-dir": "/shares/internal/TORRENT/Downloading",
"download-limit": 800,
"download-limit-enabled": true,
"encryption": 1,
"lazy-bitfield-enabled": true,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": 0,
"pex-enabled": true,
"port-forwarding-enabled": false,
"preallocation": 2,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 2.0000,
"ratio-limit-enabled": false,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{985010b4e74933a74f1a92230ae8bb9a482b6505f5m23vXm",
"rpc-port": 9091,
"rpc-username": "",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"speed-limit-down": 800,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": true,
"upload-limit": 100,
"upload-limit-enabled": true,
"upload-slots-per-torrent": 14,
"watch-dir": "/shares/internal/TORRENT/Watchtorrent",
"watch-dir-enabled": true
}

I thought it might have been a permissions issue and have given the directories 755 permissions. But still no fix.

Any suggestions?

unfold Re: Transmission No such file or directory error by nevil3nevil3, 1245844296|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
anpe008anpe008 1245848168|%e %b %Y, %H:%M %Z|agohover

See my settings.json settings:
http://mybookworld.wikidot.com/forum/t-163773/noob-trying-to-install-transmission#post-513960

After a quick check the correct syntax are:

"watch-dir": "\/shares\/Public\/WWW\/Qtorrent\/Watchtorrent\/",
"download-dir": "\/shares\/Public\/WWW\/Qtorrent\/Downloading\/",

The complete-dir does not work AFAIK.

"complete-dir": "\/shares\/Public\/WWW\/Qtorrent\/Downloaded\/",

Note that if you change the settings.json whil the tranmission is running
you lose the changes. So the correct steps for changing settings.json would be:

1) Stop Transmission
2) Edit and Save settings.json
3) Start Transmission
4) Check settings.json again that it has what you want.

last edited on 1245848598|%e %b %Y, %H:%M %Z|agohover by anpe008 + show more
unfold Re: Transmission No such file or directory error by anpe008anpe008, 1245848168|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
boondoklifeboondoklife 1245856186|%e %b %Y, %H:%M %Z|agohover

Are you running transmission as root? if so then 755 would be fine, but if not then check the ownership of the directory. Note you will also need to escape the "/" with "\", in other words for each "/" use "\/".


while ( love & passion ) {
for( fight = 0 ; rights < freedom ; rights++ )
fight = standup( rights );
free( babylon ); }

unfold Re: Transmission No such file or directory error by boondoklifeboondoklife, 1245856186|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
nevil3nevil3 1245859725|%e %b %Y, %H:%M %Z|agohover

The directory location was previously in the correct syntax i.e \/ but still did not work. I use killall transmission command before making any changes to the settings.json file and even issue a reboot command to make sure changes are properly implemented.

Re: transmission running as root, I have a limited amount of unix knowledge and don't know how to check if transmission is running as root or not. :$

unfold Re: Transmission No such file or directory error by nevil3nevil3, 1245859725|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
boondoklifeboondoklife 1245867593|%e %b %Y, %H:%M %Z|agohover

well easiest way to know is how do you login and what do you do to start it, If you are loging into the box with a username other than root and then starting it with out using the su or sudo command then it prolly is run by that username. Can you give a little info as to how you are starting the program?

also you can check who owns the folder with ls -l.


while ( love & passion ) {
for( fight = 0 ; rights < freedom ; rights++ )
fight = standup( rights );
free( babylon ); }

unfold Re: Transmission No such file or directory error by boondoklifeboondoklife, 1245867593|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
nevil3nevil3 1245870597|%e %b %Y, %H:%M %Z|agohover

when i ssh into the box i log in as root but transmission starts automatically with an s88 startup script. Ive looked into the startup script and transmission is starting up as www-data.

All the directories are owned by www-data.

last edited on 1245878006|%e %b %Y, %H:%M %Z|agohover by nevil3 + show more
unfold Re: Transmission No such file or directory error by nevil3nevil3, 1245870597|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
nevil3nevil3 1245877027|%e %b %Y, %H:%M %Z|agohover

an ls -l command on /shares/internal gives me the follwing:

[root@FileServer internal]# ls -l
total 24
drwsrwsr-x 3 www-data www-data 4096 May 24 18:42 PUBLIC
drwxrwxrwx 5 www-data www-data 4096 May 24 17:38 TORRENT
drwsrwsr-x 2 www-data www-data 16384 Nov 12 2007 lost+found

and then an ls -l command within the torrent folder (where transmission settings.json links are) gives this:

[root@FileServer TORRENT]# ls -l
total 12
drwxr-xr-x 2 www-data www-data 4096 May 24 17:38 Complete
drwxr-xr-x 2 www-data www-data 4096 May 24 17:38 Downloading
drwxr-xr-x 2 www-data www-data 4096 May 24 18:08 Watchtorrent

Hope this helps

unfold Re: Transmission No such file or directory error by nevil3nevil3, 1245877027|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
boondoklifeboondoklife 1245888378|%e %b %Y, %H:%M %Z|agohover

try backing up the settings and then removing all the transmission installation and then reinstalling it and using the default configuration.


while ( love & passion ) {
for( fight = 0 ; rights < freedom ; rights++ )
fight = standup( rights );
free( babylon ); }

unfold Re: Transmission No such file or directory error by boondoklifeboondoklife, 1245888378|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
fraterfrater 1245911070|%e %b %Y, %H:%M %Z|agohover

If it starts as user www-data it wants its config in /var/www/.config/transmission-daemon by default.
/var/www is the home-directory of www-data

My best guess is that you created the /root/.config/transmission-daemon/settings.json manually.
All changes to that file will not be used.
Even if you tell transmission-daemon to use that file because it can't see that file. Only root has permissions to open that directory.

Just remove transmission-daemon and follow a decent tutorial to install it.
I would just run transmission-daemon as root.

unfold Re: Transmission No such file or directory error by fraterfrater, 1245911070|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
anpe008anpe008 1245916291|%e %b %Y, %H:%M %Z|agohover

I am about to finalize a Tranmission HOW TO. I will post in then ext couple of days.

unfold Re: Transmission No such file or directory error by anpe008anpe008, 1245916291|%e %b %Y, %H:%M %Z|agohover
Re: Transmission No such file or directory error
nevil3nevil3 1245922295|%e %b %Y, %H:%M %Z|agohover

Thanks for all your help guys, finally got it working last night. It turns out that I had two instances of transmission on my little white box. One was located in "/var/www" and the other located in "/root/.config".
I can only imagine this is because I originally used the automated installation to get transmission on my box, which installed in "/var/www" but then the ipkg upgrade installed to "/root/.config".

I deleted all instances of transmission (including the S88 startup script that the automated inatallation did for me), issued ipkg remove, rebooted and then installed transmission again and Voila!

Kudos again for all the help guys n gals! :D

unfold Re: Transmission No such file or directory error by nevil3nevil3, 1245922295|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License