Can't login to managemt console

  • I have been using FOG for years and I finally did an upgrade from 0.30 to 0.32 this morning and it seemed to go ok, and I was able to login and all of my info was there, but I went to change some info in the configs pertaining to the username and password of MySQL and now I cannot get logged into the interface.

    When I enter the username and password the screen flashes for a second and then goes back to the login screen. The default username and password used during setup doesn’t work either. I have checked the database and all of the info is still in there, but I can’t get logged in.

    I have also reinstalled FOG about 3 times with no change.

    What am I missing?

  • Do you have any error messages?

    I believe the FOG Linux user password and the FTFP password have to be the same. upgrading FOG might have changed the TFTP one, but not the Linux FOG as the user was already created.

    To test, get the TFTP password from the .cfg and try to use it to login to the Linux FOG user account.

  • I was able to get back in and I am starting to clean stuff up, but now I cannot connect to the TFTP server.

  • well it would appear that my global settings table got corrupted and there are no settings and my .sql file is no good

  • FOG stores the mysql password in /opt/fog/service/etc/config.php AND /var/www/fog/commons/config.php. You can try firing up mysql from the command line to make sure that the information in those two files is correct to start with:
    [CODE]mysql -u FOGuser -pFOGpassword -Dfog[/CODE]
    …and while you’re in there, assuming that worked, you can change the fog logon password in the users table.