Failed access Database after upload image
- FOG Version: 1.4.0
- Service Version:
I’m crazy … !!!
after created the image , fog server return an error when update status php image ( .
I checked USER and Password into web ser ver , php conf and all directory permission but the problem persist ! Any idea ?
@robe2conoby Just to be clear IT Admins should never directly touch/use the linux user called
fog. This is not the web ui admin account called
fog(unfortunate coincidence). The linux user FOG is 100% managed by the fog installer. If someone changes this account afterwards or uses the linux
fogaccount for system management bad things will happen.
The next time the fog installer runs it will think that it has control of this account and will reset things back to what it needs, probably clobbering your configuration. Please don’t touch or change this account.
@robe2conoby Then you need to look at your Storage Node (Management User and Management Password) settings. These are likely incorrect.
An update will “break” what you did to fix it.
I had this same Issue and under VAR/WWW/FOG/LIB/FOG/FOGFTP.CLASS.PHP
public function login
$username = null
I changed this to my ftp user name and password and it solved the issue .
The Winner is :100:
I deleted all image saved and all host and now WORKS !
but the PC after reboot was returned "WINLOAD.EXE Missing … "
there are a bug after final resize ?
@zingaro look at the fog talk bubble at the top of the browser window. Its on the fog tool tray.
@zingaro What does the same storage node look like for the username and password field. This is where people most often see the problem. My guess is this is set incorrectly which is why you’re having issues.
I’m tested ftp connection from WIndows and another istance of Fog Server:
the ftp work ( get and put ) with fogftp.class.php !
but when starts an upload of image there are the same error !.
it’s incredible but does not works…
i change user and password from unix user, fog management and directory…
same problem !!
@zingaro What does that mean?
Is this what the “storage management->storage node->management user/password” shows?
@Tom-Elliott user : fog psw: password
The password you’re using is set in Storage Management -> (Select your node) -> Management User/Password?
The “Login incorrect” message is not a misnomer in this case. It literally means, it can’t login.
@zingaro You have to cd to the directory first.
@Tom-Elliott yes !
but does not works
Once all of those passwords are in sync your capture will complete
I’m tested ftp from windows … does not works
@zingaro You followed all information?
Including the bits about chown/chmod to ensure /images was owned recursively by fog:root (
chown -R fog:root /images) and you ensured it was read/writable with:
chmod -R 777 /images
thanks for your response !
I checked all User and Password into .fogsettings and Fog management.I have change the psw into .fogsettings ( it was sets “ADFGDFGXXCXCXCXGDGDGDGHH…” ).
I have the same problem !!
Others suggest ?
The issue is with the linux
foguser and not the web gui
fogadministrator account. If you changed the linux account
foguser password then you have a problem. Some people will use that FOG Project internal user account for system maintenance. That linux
foguser should only be used by the FOG application and not for maintenance.
So how to fix?
- Review the following file
/opt/fog/.fogsettingsfor the fog password.
- Reset the linux fog user to the password found in the .fogsettings file.
- Then login to the web gui. Go to the storage management and then edit the settings for the fog server. At the bottom there will be a ftp user and password. The user is fog (as seen from your picture). Make sure the password there matches the password defined in the .fogsettings file.
Once all of those passwords are in sync your capture will complete.
- Review the following file