O/S Deployment Thread, FTP connection to Storage Server has failed! in Technical; Hi chaps
I wonder if anybody in the know might be able to point me in the right direction with ...
10th February 2010, 11:56 AM #1
FTP connection to Storage Server has failed!
I wonder if anybody in the know might be able to point me in the right direction with this one.
We recently stuck some new hard drives in our Fog server. Mike did a fresh install of Debian Lenny and then restored the data and mysql database from our backup server.
Everything the Fog server has to do works great apart from one thing, we can't upload images... but it only fails on the last 1%! From what I have observed it will create the image in the /images/dev/ directory but then cannot move and rename the image, reporting on the screen of the client "FTP connection to Storage Server has failed!"
I have checked that Fog has the correct FTP login on the settings page, and I can connect to the server using this login and an FTP client without any difficulty. It does seem clear to me that Fog *can* access the FTP server because it manages to upload all of the data; if I manually move and rename the image file it creates then it will deploy without issue.
If anyone has any idea what it is I'm missing please let me know... I've spent a couple of hours asking google questions and not finding the answer!
10th February 2010, 11:55 PM #2
Sounds like the fog user doesn't have permission to move the image file, for diagnostics you could just do a 777 on images and images/dev and see if that works.
11th February 2010, 12:24 AM #3
Yeh, I thought of that. Didn't make any difference
11th February 2010, 12:41 AM #4
The one time I did have an FTP quirk I did manage to fix it by resetting all the passwords in configuration files, fog user, storage nodes, everywhere I could find a password. That was going wrong at the start of the image write though, not at the end.
12th February 2010, 12:46 PM #5
Ok. Yeah, you're right that's not what's happening for me.
I don't have a clue what's going on
12th February 2010, 12:49 PM #6
Adding Storage to a FOG Server - FOGWiki
Did you create the mntcheck files etc?
I followed the instructions on this page when having similar issues and it worked
12th February 2010, 01:25 PM #7
Aren't the mount check files for NFS?
17th February 2010, 10:43 PM #8
I had this same problem today, I was testing a workstation so I tried to upload a 25GB CC3 workstation (probably had hidden recovery partitions and such in there too). I left it resizing the image, when I came back I was getting FTP errors moving the temp image file.
I deployed one of my normal fog images to it, then uploaded it back to the same image I was using before, no error.
Were you trying to upload a standard-ish image without recovery/backup partitions?
19th February 2010, 09:23 PM #9
We're having problems with every image... it's not the images, it's something else.
I received a distress call via email today:
As I have figured out how to do this I thought I'd share with everyone.
Hi Batman. I came across your post re FOG and ftp problem. I'm having exactly the same issue right now after changing my storage hard drive. I'm desperately trying to image a bunch of laptops tonight ready to put away again tomorrow. With the site manager tapping his feet and watch, would you be able to advise as to how to manually move the image from its temporary location and get stuff deployed
If you look under /images/dev/ you will find some temp image files. If it's single partition then you're just talking one file, if it's multi-partition there will be a directory containing the image files. I'm pretty sure the file or directory will be named with the mac address of the machine you used to upload it. All you've got to do is rename it to whatever FOG thinks the image filename should be and move it down one level to the /images/ directory.
So you'll do something along the lines of:
mv 001D0917E9BF ../hpdc7800windows7
where 001D0917E9BF is the temp filename and hpdc7800windows7 is the intended filename of the image.
It doesn't stop it falling over but at least you can use the image!
2 Thanks to Batman:
lasercat (19th February 2010), mikeglover (22nd February 2010)
23rd February 2010, 05:06 PM #10
- Rep Power
Any news yet?
I'm in the same boat as Batman, the exact same error. I have one FOG server set up perfectly, and am trying to make a second one on a better box to replace it. The only possible suspects I can think of is that I made /image before installing fog, although have chmod'd . and dev/ 777, and an IP address change, which I thoroughly replaced everywhere.
23rd February 2010, 05:17 PM #11
I moved servers when I was on version 0.25 I think, and also had the /images directory set up before hand as it was on a different set of drives. I had numerous issues after doing this (password mismatches, no .mntcheck files, TFTP errors when trying to update the boot menu). I wish I had documented everything that I had broken and then how it was fixed but it was over a year ago and I can't remember.
You could try removing the FOG user from the OS and then rerunning the FOG installer to recreate it.
23rd February 2010, 05:32 PM #12
- Rep Power
I get that. I've given up and am reinstalling from scratch, and this time I'm documenting everything from installing Ubuntu and up, both to document errors for myself, and as a guide to whomever might inherit this beast.
Originally Posted by morganw
P.S. I know this is off topic from the original thread subject, but has anyone used NIC bonding with FOG?
23rd February 2010, 08:37 PM #13
I shifted ours to a XenServer VM, it makes it really easy to recover from problems after fiddling with it or after running the latest update. Would probably make it easier to set up NIC bonding as you would set that up in the virtual machine environment not directly within the machine itself.
26th May 2010, 07:42 PM #14
- Rep Power
FTP connection to Storage Server has failed! - Solved
I'm just begining with FOG (just found it) and installed version 0,28. I could not get 0.29 to work as it gave me an gettext and clamav-update error.
Originally Posted by Atex
But, as i end up reading an old tutorial, i created the fog user in linux prior to installing fog software . After installing it i noticed that it creates this user if it doesn't exist. So, i think that when migrating servers this problem also arises as the password in the database will not match.
So, this FTP password is not in "other information menu". Here resides the TFTP password that also needs to be changed in order to set tasks as upload or download images.
FTP password, on the other hand, is on "storage management" menu. In my case i only have the default storage set so just edit it and change the FTP password.
Hope it can help.
Thanks for all those who created and maintain this excellent software.
26th May 2010, 11:11 PM #15
I had this same problem earlier today. I reset the DefaultMember node password under the Storage Nodes > All Storage Nodes Menu. Worked fine for me after that, hope it helps you too. Good luck!
By tech_guy in forum MIS Systems
Last Post: 20th May 2013, 10:15 AM
By FN-GM in forum Educational Software
Last Post: 21st November 2008, 05:49 PM
By mortstar in forum MIS Systems
Last Post: 5th June 2008, 01:48 PM
By amvc in forum MIS Systems
Last Post: 25th October 2007, 09:37 AM
By OverWorked in forum *nix
Last Post: 8th July 2006, 01:13 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)