Issue
-
Scan progress is stuck at 0% for a long time.
-
In the scanner log one of the following errors can be found:
# tail -n10 /var/imunify360/aibolit/run/*/err_file
/opt/alt/php-internal/usr/bin/php: error while loading shared libraries: /opt/alt/libxml2/usr/lib64/libxml2.so.2: file too short
/opt/alt/php-internal/usr/bin/php: error while loading shared libraries: /opt/alt/libssh211/usr/lib64/libssh2.so.1: file too short
/opt/alt/php-internal/usr/bin/php: error while loading shared libraries: /opt/alt/krb5/usr/lib64/libgssapi_krb5.so.2: file too short
Environment
- Imunify360
- ImunifyAV
- Malware scanner
Solution
-
Stop the current scans:
# imunify360-agent malware on-demand stop --all
OK
# imunify360-agent malware on-demand status
queued: 0
status: stopped -
Find what package owns the problem file. E.g. for error:
/opt/alt/php-internal/usr/bin/php: error while loading shared libraries: /opt/alt/libxml2/usr/lib64/libxml2.so.2: file too short
Do the following:
# rpm -qf /opt/alt/libxml2/usr/lib64/libxml2.so.2
alt-libxml2-2.9.7-2.el7.x86_64 -
Reinstall the package:
# yum reinstall alt-libxml2
...
Reinstalled: alt-libxml2-2.9.7-2.el8.x86_64
Complete! -
Start the scan again and check the error log for similar errors:
# tail -n10 /var/imunify360/aibolit/run/*/err_file
Repeat the same steps if there are further errors.
Cause
Corrupted system libraries.
Comments
0 comments
Please sign in to leave a comment.