FOG FTP login failed (?)
-
-
I installed several times FOG version 1.2 under Ubuntu 14.04 (desktop) just to be sure. I followed various tutorials (same steps more or less) : appropriate permissions, fog user, move images etc.
-
Fog worked perfectly right : importing of hosts, doing inventory, cloning of either Linux Ubuntu 12.04 or Windows 7 using the single disk multiple partitions mode, renaming of hosts etc.
-
The only problem I answered with a script was to restart each new graphical session the mysql service (or I got a message to update the database again and again on the login webpage each session) and the tftpd-hta one (apparently too fast to start).
A few days ago and I setup things again today, I got the following error and still have it now : try cloning a w7 single disk resizable, 99,7% done (fog web interface / I destroy all the images so I have enough place on the harddisk)ā¦
[When I check whatās happening with the help of a terminal, I can see a temporary cloning in /home/images/dev done by root:root]
ā¦ Then on the cloned PC, a fog FTP login error appears (with the passwordā¦) again and again.
I check : https://wiki.fogproject.org/wiki/index.php/Unable_to_connect_to_TFTP butā¦
Thanks in advance,
-
-
I think you might be suffering from a problem that affects a few newer-ubuntu platforms with 1.2.0.
Thereās a fix for it in here.
https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL
And, for the record, thereās an article on troubleshooting FTP too. Use the WiKiās search feature, type in the word āTroubleshootā and see what pops up.
-
-
Thanks for the fix about MYSQL. Iāve just followed the advice and it looks OK (no more asking for upgrading the DTB).
-
I did have a look at the forums about FTP. For the moment, it is not solving the āError: ftp_loginā.
-
-
Do a cat /etc/passwd and see if the output looks like this:
fog:x:1001:1001::/home/fog:
If it does, there is no shell associated with the user. As root, try the following:
chsh -s /bin/bash fog
Let me know if that fixes it for you!
-
@cnaud86 said:
- I did have a look at the forums about FTP. For the moment, it is not solving the āError: ftp_loginā.
I was referring to this
https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP
Look at the credentials section.What @Trevelyan posted looks like great stuff though. Iāve made note of his post.
-
Hi to all,
Thanks for your help. I finally gave up with the 14.04 Ubuntu version, too unstable for the moment with fog.
I set up fog 1.2 with Ubuntu 12.04 and it is working perfectly (no need to restart services etc.) except one problem I cannot possibly manage with.
Iām cloning my 1st image (Windows 7 resizable). The cloning is OK (not stuck into the dev folder, can connect to the ftp with the fog userā¦). I can find the image done with the appropriate name into the images folder. (I move the images folder into the /home/fog/ folder).However the image size through the webinterface is 0 + root:root permissions on it despite the fact it is here in the images folder and cloned properlyā¦
Any help again welcomeā¦ Thanks
-
@cnaud86 said:
However the image size through the webinterface is 0
have you tried to download the image ? If you have a size 0 itās a FTP login problem.
-
I insist. The image is done, 1st into /dev then moved and available into images with the appropriate name and size. But through the webinterface, size = 0 depsite the storagenode shows me there is less space available.
-
@cnaud86 What @ch3i is saying, is itās still an FTP issue. You manually moving things around, or not, means it is most likely an FTP problem even still. That said, if all of the stuff is āworkingā automatically, there is still the chance that FTP just canāt read the file size as you would like.