FTP Host: 192.168.*.* %%%, Error: ftp_rename(): /volume1/images %%%
-
Hello,
I’ve the same problem with FOG 1.2.0 and Debian 7.9. The complete message is :
* FOGFTP: Failed to rename file. Remote_Path: /images/2015-08_win10, Local Path: /images/dev/0050569ad368, Error: ftp_rename(): Rename Failed.
Thanks for your help.
-
@aruhuno said:
Hello,
I’ve the same problem with FOG 1.2.0 and Debian 7.9. The complete message is :
* FOGFTP: Failed to rename file. Remote_Path: /images/2015-08_win10, Local Path: /images/dev/0050569ad368, Error: ftp_rename(): Rename Failed.
Thanks for your help.
Hi, your storage is on the FOG server or a NAS ?
-
@ch3i Is on FOG server, thanks for your fast reply.
-
@aruhuno Check this out, pay special attention to the credentials section: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP
-
@aruhuno said:
@ch3i Is on FOG server, thanks for your fast reply.
Ok, follow @Wayne-Workman link. This article is very usefull
-
Thanks @Wayne-Workman and @ch3i !
I’m testing my ftp and have a problem
root@fogsrv:~# ftp 192.168.0.39 Connected to 192.168.0.39. 220 (vsFTPd 2.3.5) Name (192.168.0.39:root): fog 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 200 PORT command successful. Consider using PASV. 150 Here comes the directory listing. 226 Directory send OK. ftp> cd /images 250 Directory successfully changed. ftp> ls 200 PORT command successful. Consider using PASV. 150 Here comes the directory listing. drwxr-xr-x 2 0 0 4096 Jun 11 2014 2014-06-11_Win7ent64 drwxrwxrwx 2 0 0 4096 Apr 17 07:16 2015-04_win7_Lenovo drwxr-xr-x 2 0 0 4096 Sep 24 12:17 2015-08_win10 drwxrwxrwx 3 0 0 4096 Sep 24 10:51 dev drwxrwxrwx 5 0 0 4096 May 12 09:11 fog_boot drwxrwxrwx 2 0 0 16384 Nov 19 2012 lost+found drwxrwxrwx 2 0 0 4096 Oct 14 2014 postdownloadscripts 226 Directory send OK. ftp> put test.txt local: test.txt remote: test.txt 200 PORT command successful. Consider using PASV. 553 Could not create file. ftp> ls 200 PORT command successful. Consider using PASV. 150 Here comes the directory listing. drwxr-xr-x 2 0 0 4096 Jun 11 2014 2014-06-11_Win7ent64 drwxrwxrwx 2 0 0 4096 Apr 17 07:16 2015-04_win7_Lenovo drwxr-xr-x 2 0 0 4096 Sep 24 12:17 2015-08_win10 drwxrwxrwx 3 0 0 4096 Sep 24 10:51 dev drwxrwxrwx 5 0 0 4096 May 12 09:11 fog_boot drwxrwxrwx 2 0 0 16384 Nov 19 2012 lost+found drwxrwxrwx 2 0 0 4096 Oct 14 2014 postdownloadscripts 226 Directory send OK. ftp> quit 221 Goodbye.
-
@aruhuno Check your your folders rights, all you need is on the wiki : https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP
-
Change the Folder permissions to ensure they are world writable (or if you’re that worried, ensure the folder and all contents are owned by fog);
sudo chmod -R 777 /images
(world writable)
sudo chown -R fog /images
(at least fog owned) -
@ch3i: I’m sorry, I don’t see my “images” directory permission are false, it’s ok now!
@Tom-Elliott: Yeah, it’s ok now, I don’t understand why their permissions changed… but, it’s ok
Thanks a lot for all !
-
Yeah I marked at solved a 3 years old topic !