FTP issue cant create image
- FOG Version: 1.4.4
- OS: Ubuntu 17
- Service Version:
63 Error message : ftp_login : login Incorrect., host Username fog
- Reattempting to update database
*Error Returned: Type: 2 File: /var/www/fog/lib/fog/fogftp.class.php
Still no change
I’ve change the tftp user from “foguser” to fog and made sure the passwords match. set the pass for fog it states unchanged. made sure the firewall was off and not starting. Also check the configs and those match the knowledge base articles.
Not sure what I’m missing.
So I am marking this solved now. Feel free to open a new post in case you run into another issue.
@bigredcherokee I’m not sure what to tell you. If you followed the process I outlined and then reran the installer at the end it should be working.
That process will be consistent when you upgrade next time. That is why we need to be sure to fix everything based on the .fogsettings file. You can change the password to what ever you like using the process, but its best to just let the fog installer pick a complex password for the service account and then not touch it afterwards.
I’m glad you have it working now!! Well done.
okay weird but it looks like it erased the old pass but everything is working right now after the reinstall.
@george1421 * Press [Enter] key when database is updated/installed.
- Setting up storage…OK
- Setting up and starting DHCP Server… !!! No router address found !!!
!!! No dns address found !!!
- Setting up and starting TFTP and PXE Servers…OK
- Setting up and starting VSFTP Server…OK
- Setting up FOG Snapins…OK
- Setting up UDPCast…OK
- Configuring UDPCast…OK
- Building UDPCast…OK
- Installing UDPCast…OK
- Installing FOG System Scripts…OK
- Configuring FOG System Services
Setting permissions on FOGMulticastManager.service script…OK
Enabling FOGMulticastManager.service Service…OK
Setting permissions on FOGImageReplicator.service script…OK
Enabling FOGImageReplicator.service Service…OK
Setting permissions on FOGSnapinReplicator.service script…OK
Enabling FOGSnapinReplicator.service Service…OK
Setting permissions on FOGScheduler.service script…OK
Enabling FOGScheduler.service Service…OK
Setting permissions on FOGPingHosts.service script…OK
Enabling FOGPingHosts.service Service…OK
Setting permissions on FOGSnapinHash.service script…OK
Enabling FOGSnapinHash.service Service…OK
Setting permissions on FOGImageSize.service script…OK
Enabling FOGImageSize.service Service…OK
Setting up FOG Services…OK
Starting FOGMulticastManager.service Service…OK
Starting FOGImageReplicator.service Service…OK
Starting FOGSnapinReplicator.service Service…OK
Starting FOGScheduler.service Service…OK
Starting FOGPingHosts.service Service…OK
Starting FOGSnapinHash.service Service…OK
Starting FOGImageSize.service Service…OK
Setting up exports file…OK
Setting up and starting RPCBind…OK
Setting up and starting NFS Server…OK
Ensuring node username and passwords match…Done
You can now login to the FOG Management Portal using
the information listed below. The login information
is only if this is the first install.
This can be done by opening a web browser and going to:
Default User Information
@bigredcherokee That’s very strange. The fog installer should set the linux user
fogback to what ever value IS found in the .fogsettings file. password should have never been the default password for the linux user
So far so good. Okay one question it set the fog account back to password. Should I go back and change the fog user account to what I found in the fog settings ?
@bigredcherokee Well my google-fu is failing me right now so I’ll have to retype it. Screen shots are not required at this time. Unfortunatly this is a common occurrence (reusing the
fogsystem account for other purposes).
- Login with another user account that has sudo rights.
- Inspect the file /var/fog/.fogsettings (its hidden)
- Collect and document the value of password in the document. That is the password the
fogaccount should be set to.
- Reset the linux
foguser account to that password defined in step 3. You will use
passwd fogto reset the account. Hint: If you log into your fog server using putty you can copy and paste text much easier than using the linux console.
- From a windows computer confirm that you can ftp to the fog server. Login with the user
fogand the password collected from step 3. If successful proceed to the next step.
- Goto the FOG Web gui and FOG settings. Ensure the user ID in the tftp section says
fogand the password matches the value collected in step 3.
- Go to the storage node configuration for this FOG server. Ensure the management id is
fogand the management password is the same as you collected in step 3.
- Now go back to the fog server linux console and rerun the fog installer (
./installfog.sh) to realign the remaining bits.
@george1421 Will do. Thanks I have some screenshots of the errors would you want to see those?
@bigredcherokee To avoid issues in the future, I would surely use a different user account for system administration. Let me get the process to fix this.
Yes we use the account fog and password. I think were I went wrong was I restored a 1.2.0 config and then updated the db again. Everything else has been working until i tried up upload a image. I can use another account for administration that isn’t a problem.
Have you or do you use the linux user
fogfor system administration and/or changed the password to the account? If you do that is the root of your problem. We can get you back in sync, but you will need to use another user account for system administration.