SOLVED Error: Updating Database during Capture

  • Server
    • FOG Version: 1.4.0
    • OS: Ubuntu 16.
    • Service Version:
    • OS: Windows 10 Edu

    Type: 2, File: /var/www/fog/lib/fog/fogftp.class.php, Line 463, Message: ftp_login(): Login incorrect., Host, Username: fog
    I can manually ftp files using fog to and from images directory.
    Have run chmod -R 777 /images
    Have checked .fogsettings and config.class.php usernames and passwords.

  • Moderator

    It sounds like someone has mucked about with the linux user account called fog. We have seen some people use the linux fog account for system maintenance and other activities. This is an internal account and should be used by the FOG system only.

    It sounds like you have started checking the spots for this user account. I would look in this order.

    1. Review the /opt/fog/.fogsettings file for the password.
    2. Ensure you can log into the FOG server from a windows ftp program using uid= fog and passwd= <password listed in .fogsettings>. If that works move on to step 3
    3. In the web gui, look at the storage node configuration for the master server. At the bottom there should be a user ID and password. Make sure that password is the same that is found in the .fogsettings file.
    4. Look at FOG Configuration->FOG Settings, in the tftp section there is also a user ID and password that needs to be consistent with the .fogsettings file.

    If all of the test pass then post back here (either way) and we can dig a bit deeper into the error message, but I believe either the linux user fog's password has been changed or one of the checks above will point to the problem.

    I might also suggest (once you get the password issue worked out), that you upgrade to fog 1.4.4, because 1.4.0 had several issues with the single disk resizeable option, that was addressed in 1.4.1 and again in 1.4.4. It is in your best interest to upgrade once the password issue has been fixed.