Symptoms
There are 3 instances that Security Advisor will not recommend Imunify which includes the following:
- Your server does not support ImunifyAV.
- You are using a trial account.
- You are not a
root
user or a reseller account withroot
-level privileges.
In select cases, your server does meet all requirements however Imunify is still not being recommended due to the following entry in the cPanel Error Log:
Use of uninitialized value $centos_version in numeric ge (>=) at /usr/local/cpanel/Cpanel/Security/Advisor/Assessors/Imunify360.pm line 399.
Description
The issue is a result of Security Advisor being unable to properly detect the OS version on the server to verify OS compatibility with Imunify. This can be replicated using the following:
# /usr/local/cpanel/3rdparty/bin/perl -MCpanel::Sys::OS::Check -MData::Dumper -e 'print Dumper(Cpanel::Sys::OS::Check::get_strict_centos_version());'
$VAR1 = undef;
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-36103. Follow this article to receive an email notification when a solution is published in the product.
Workaround
While Imunify is not being recommended by Security Advisor, it can still be installed manually over the command-line. Guidance regarding this can be found here:
https://docs.imunifyav.com/imunifyav/#installation-instructions
https://docs.imunify360.com/installation/#installation-instructions