Updated Fog and Ubuntu no longer able to login
-
I updated both Fog and Ubuntu today, then restarted the server (Hyper-V VM) and the regular login page came up, but none of my accounts let me log in. I checked the login/var/www/fog and have a list of errors saying simply that “username:fog failed to login” (and other usernames that were attempted.
All the accounts were working prior to the update. I checked MySQL and reset the password for FOG, no change. I created a new user in MySQL and that is unable to login either. I have plenty of free space, RAM is at about 50% max usage. Everything has been working perfectly for a few years, but now we are moving to Windows 11 I figured it was time to upgrade. I am at a loss, any suggestions?
-
@EuroEnglish Check the usual suspects first
1.) Since it seems your passwords may have changed, make sure they are all synced. This includes the ones in the FOG webUI configurations, in configuration files like the .fog_settings file for instance, MySQL etc.
2.) Check the permissions of your files on the FOG server. Make sure they mirror what you had before (prob something like fogproject:root or likes). EG the folder with the images, the tftpboot folder as well (esp if you’re PXE booting images from the menu and not just capturing or deploying images).
3.) Check logs in /var/log/fog and /var/log in general depending on the issues. This will tell you exactly what’s going on if you know how to read the logs. This should actually be #1 on this list.
4.) Check systemctl status messages: make sure fog-tftp is the correct tftp server running, is actually running, and pointing to where the files actually are (like /tftpboot versus /var/lib/tftpboot).
-
I realized that I didn’t include any version information:
Ubuntu now version - 20.04.6 LTS
Fog now (Master) - 1.5.10.29Also, trying to image a computer brings up the regular FOG screen, PXE is working fine, but then it locks up - You can kind of keep hitting down to get to deploy, but even that takes about 5 minutes, entering a username password has proven impossible as it lags so much.
-
So, I have fixed the login issues, apparently installing the Dev Branch cured that problem. However, it now fails after selecting which image to push. I am receiving a few messages:
Could not select: Exec format error (https://ipxe.org/2e008081)
Could not boot: Exec format error (https://ipxe.org/2e008081)
Chainloading failed, hit ‘s’ for the for the iPXR shell; reboot in 10 secondsThose errors appear no matter what image I select, or laptop I use. All the images and the laptops were working before this issue started.
-
@EuroEnglish Check the usual suspects first
1.) Since it seems your passwords may have changed, make sure they are all synced. This includes the ones in the FOG webUI configurations, in configuration files like the .fog_settings file for instance, MySQL etc.
2.) Check the permissions of your files on the FOG server. Make sure they mirror what you had before (prob something like fogproject:root or likes). EG the folder with the images, the tftpboot folder as well (esp if you’re PXE booting images from the menu and not just capturing or deploying images).
3.) Check logs in /var/log/fog and /var/log in general depending on the issues. This will tell you exactly what’s going on if you know how to read the logs. This should actually be #1 on this list.
4.) Check systemctl status messages: make sure fog-tftp is the correct tftp server running, is actually running, and pointing to where the files actually are (like /tftpboot versus /var/lib/tftpboot).
-
I quickly read about your issue, could this be related with your problem ? :
https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy?page=1
-