Description
The error is not based on AWS; instead, it is an error of AlmaLinux. The cPanel installation script attempts to detect the server’s IP to verify the license during the initial stages. If the installation cannot determine the server’s IP, it will trigger a failure. In some installations of AlmaLinux, it was discovered that the NSCD service isn’t starting successfully. The inability to start NSCD is causing a mismatch when discovering the server’s IP address.
Workaround
Start NSCD and then run the installer once more.
systemctl start nscd
cd /home/
sh latest