2.8.1 - Blank Page

Recently updated the CWAF plugin version too 2.8.1 - about 40+ servers now display a blank page - see: http://oi68.tinypic.com/29wmweo.jpg

The update to 2.8.1 was successful (no errors), little confused as to what to do?

Please, check:


# less /usr/local/cpanel/logs/error_log

There are errors about cwaf and perl modules.

Also run:


/usr/local/cpanel/3rdparty/bin/perl -we 'print "$_\n" for @INC;'

and sent us this command output.
Thanks.

Undefined subroutine &main::is_virtualmin called at /usr/local/cpanel/whostmgr/cgi/cwaf_sharedlib.pl line 138.
[2016-10-28 22:11:29 +1100] warn [cpsrvd] The subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_cwaf.cgi) exited with an error: The subprocess reported error number 2 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 156.
Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0x2a646c0)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 71
Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x2a646c0), CPANEL_HIDDEN, CPANEL_HIDDEN, CPANEL_HIDDEN, IO::Handle=GLOB(0x2dd9f90), CPANEL_HIDDEN, GLOB(0x2dd9ee8)) called at cpsrvd.pl line 6206
cpanel::cpsrvd::cgiHandler(CPANEL_HIDDEN, CPANEL_HIDDEN, CPANEL_HIDDEN, CPANEL_HIDDEN) called at cpsrvd.pl line 5699
cpanel::cpsrvd::dodoc_whostmgrd() called at cpsrvd.pl line 1552
cpanel::cpsrvd::dodoc(HASH(0xeb0778)) called at cpsrvd.pl line 1315
cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 807
cpanel::cpsrvd::script() called at cpsrvd.pl line 314

root [~]# /usr/local/cpanel/3rdparty/bin/perl -we ‘print “$_\n” for [at]INC;’
Unquoted string “at” may clash with future reserved word at -e line 1.
Bareword found where operator expected at -e line 1, near “]INC”
(Missing operator before INC?)
syntax error at -e line 1, near “]INC”
Execution of -e aborted due to compilation errors.

Please, use Shift+2 or [at-bypass] instead of [at] in the last command.

[~]# /usr/local/cpanel/3rdparty/bin/perl -we ‘print “$_\n” for @INC;’
/usr/local/cpanel
/usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int
/usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib
/usr/local/cpanel/3rdparty/perl/522/lib64/perl5/5.22.1/x86_64-linux-64int
/usr/local/cpanel/3rdparty/perl/522/lib64/perl5/5.22.1
/opt/cpanel/perl5/522/site_lib/x86_64-linux-64int
/opt/cpanel/perl5/522/site_lib

Perl modules are located in two directories:

/usr/local/cpanel/3rdparty/perl/522/lib64/perl5/ and /opt/cpanel/perl5/522/site_lib
So, please, do the next thing:

# mv /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Comodo /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Comodo.sav
# ln -s /opt/cpanel/perl5/522/site_lib/Comodo /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Comodo

Final paths might be slightly different. You need to find Comodo directories, save it and create symlink for it.