*nix Thread, Fog 0.27 resizable partition issues! in Technical; Hi All,
I am nearing the time when I will need to image all my now non CC3 machines. Typically ...
27th July 2009, 01:15 PM #1
Fog 0.27 resizable partition issues!
I am nearing the time when I will need to image all my now non CC3 machines. Typically I now notice a slight issue with my fog server. I have installe fog 0.27 and all appears OK until I try to upload a single partition NTFS resizable image. It fails after trying to resize the partition with an error like this...
ftp_rename() [<a href='function.ftp-rename' >function.ftp-rename</a>: RNFR command failed in var/www/fog/service/Post_Stage2.php on line 133.
having looked on line 133 it says...
if (ftp_rename ( $ftp, $src, $dest ) || ftp_rename ( $ftp, $srcdd, $dest ))
I can see that the renaming of the file is failing but not sure how I can fix this
Does anyone have any suggestions or come across this before?
IDG Tech News
27th July 2009, 01:43 PM #2
It looks like the error is coming from the ftp server. If thats the case it's probably the underlying filesystem thats causing the problem. I suspect you've got messed up permissions. Check that the fog user has full access to the /images folder/files/subfolders.
27th July 2009, 01:47 PM #3
Your not trying to ghost a stone computer are you?
If not change ownership of the /images file to fog.
Thanks to Potato-Peeler from:
27th July 2009, 01:51 PM #4
Now I know I need to chown for that but I'm not suer what the fog user is called. Is there a linux way to see who has ownership of folders so I could take it from there?
27th July 2009, 02:46 PM #5
root@fog-storage:/images# ls -l
drwxrwxrwx 2 fog root 4096 2009-07-23 16:01 DellD505_Full_Sysprep_230709
drwxrwxr-x 2 fog root 4096 2009-07-24 16:17 dev
-rwxrwxrwx 1 fog root 5665436712 2009-07-15 12:27 Generic_IT_150709
-rwxrwxrwx 1 fog root 2249057780 2009-07-22 14:40 hp_dx2400_base_ghost_curriclulum_060309
drwxrwxrwx 2 fog root 4096 2009-07-24 16:16 HPDX2420_Complete_240709
drwxrwxrwx 2 fog root 4096 2009-07-24 12:40 HPDX2420_Full_240709
drwxr-xr-x 2 fog root 4096 2009-07-07 11:36 OFFPC01-Base-030709
-rwxrwxrwx 1 fog root 5874706679 2009-07-14 10:11 ShuttleXPC-Full-140709
27th July 2009, 02:49 PM #6
I have chowned the ownership so all images are owned by fog root but still the same error!
I may go back to 0.26 for now.
9th December 2009, 06:12 PM #7
- Rep Power
1st October 2010, 12:11 PM #8
I'm having the same problem.
I've checked a few things,
The storage password and ftp config seem ok.
I've watched fog create the image file in /images/dev
However it seems when it comes to move and rename the image file to /images it come up with the rename error on the console of the machine uploading.
I checked the right on the directories (/images and /images/dev)
They were set correctly, but I ran thease commands just in case:
(Adds file ownership for fog and group ownership to root to all images dir and below).
chown -R fog:root /images
Still didn't work.
The file seems to get deleted rather than moved.
So, I've tried adding global write access (security risk of course) with:
This has worked on a small image upload (~2G), just trying a larger one (~30G)
chmod -R 777 /images
The specs of my system:
Virtual machine, running debian5
FOG version 0.29
1st October 2010, 04:07 PM #9
Ok I tried uploading a larger image - didn't work.
However there were two other variables:
The small image was a newly created one.
The large image wasn't (existed before).
The large image also has a "." in the file name.
8th October 2010, 10:43 AM #10
Looks like something must be corrupted with my installations or database - time to reinstall the server and FOG.
By synaesthesia in forum Windows Server 2000/2003
Last Post: 9th June 2009, 09:13 PM
By sLiDeR in forum Thin Client and Virtual Machines
Last Post: 23rd February 2009, 03:37 PM
By browolf in forum Windows
Last Post: 25th October 2008, 11:35 AM
By Simcfc73 in forum Windows
Last Post: 19th July 2006, 11:13 AM
By Michael in forum Windows
Last Post: 15th December 2005, 12:23 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread