Use of uninitialized value in concatenation (.) or string

Using cpanel and litespeed on centos.
I get these errors while running /var/cpanel/cwaf/scripts/updater.pl

Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
Use of uninitialized value in concatenation (.) or string at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/WebConfig.pm line 335.
current version is up to date
update process finished!

Dear savvasradevic,

Could you please provide us with your perl version?

Regards,

The standard perl package for CentOS 7.5 I believe:


$ perl -v
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
(with 33 registered patches, see perl -V for more detail)

Copyright 1987-2012, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


$ yum info perl
Name        : perl
Arch        : x86_64
Epoch       : 4
Version     : 5.16.3
Release     : 292.el7
Size        : 22 M
Repo        : installed
From repo   : base
Summary     : Practical Extraction and Report Language
URL         : http://www.perl.org

$ cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)

$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

$ cat /etc/system-release
CentOS Linux release 7.5.1804 (Core)


Thank you for your help. :slight_smile:

Hi savvasradevic,

First of all, I’d like to mention that this error is simple warning and has no influence on the update process itself. It’s related to “ServerRoot” directory specified in httpd.conf file.

Please check whether has correct value in your config.

Regards,