Symptoms
Imunify360 fails to install and one or more of the following errors can be found in the installation log.
opt/alt/python38/bin/python3: error while loading shared libraries: /opt/alt/python38/lib64/libpython3.8.so.1.0: file too short
ImportError: /opt/alt/sqlite/usr/lib64/libsqlite3.so.0: file too short
AttributeError: 'NoneType' object has no attribute 'Binary'
Description
Files from the alt-python38 and alt-sqlite packages required for Imunify360 to install are corrupt or empty. These files need to be replaced for Imunify360 to install properly and run.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command.
- CentOS 7, CloudLinux 6, and CloudLinux 7
yum reinstall alt-python38* alt-sqlite
- CloudLinux 8, AlmaLinux 8, and Rocky Linux 8
dnf reinstall alt-python38* alt-sqlite
- Ubuntu 20.04
apt list --installed|egrep 'alt-python38|alt-sqlite'|cut -f1 -d '/'|while read pkgs;do apt-get install --reinstall $pkgs;done
- CentOS 7, CloudLinux 6, and CloudLinux 7