IBM Support

Guardium GIM installation failed with error "Can't locate Sys/Syslog.pm" or "Can't locate Data/Dumper.pm"

Troubleshooting


Problem

Attempting to install Guardium GIM on a Red Hat Enterprise Linux Server and getting a failed installation error "Can't locate Sys/Syslog.pm" or "Can't locate Data/Dumper.pm".

Symptom

The following is an example of the error messages on the server where GIM is being installed:

Can't locate Sys/Syslog.pm in @INC (@INC contains:
/opt/IBM/Guardium/GIM/modules/GIM/9.0.0_r85844_1-1469003132/perl5
/usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at GIM.pm line 103.
BEGIN failed--compilation aborted at GIM.pm line 103.
Compilation failed in require at
/opt/IBM/Guardium/GIM/modules/GIM/9.0.0_r85844_1-1469003132/rc line 18.
BEGIN failed--compilation aborted at
/opt/IBM/Guardium/GIM/modules/GIM/9.0.0_r85844_1-1469003132/rc line 18.
Failed installing UTILS
Installation failed

Cause

The Perl package perl-Sys-Syslog is missing from the server.

Environment

GIM install on Red Hat server

Resolving The Problem

Install perl-Sys-Syslog.x86_64 on the server.
If there is another error message like "Can't locate Data/Dumper.pm" install perl-Data-Dumper.x86_64.
Example:

1) Installing module using RPM based O.S. tool:

[root@localhost Discovery_and_GIM_Agents]# yum install perl perl-Sys-Syslog
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.rackspace.com
 * extras: mirror.mobap.edu
 * updates: repos-tx.psychz.net
base                                                                          | 3.6 kB  00:00:00
http://mirrors.cmich.edu/centos/7.6.1810/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#56 - "Recv failure: Connection reset by peer"
Trying other mirror.
extras                                                                        | 3.4 kB  00:00:00
mysql-connectors-community                             | 2.5 kB  00:00:00
mysql-tools-community                                        | 2.5 kB  00:00:00
mysql56-community                                              | 2.5 kB  00:00:00
updates                                                                     | 3.4 kB  00:00:00
(1/3): mysql-connectors-community/x86_64/primary_db                           |  37 kB  00:00:00
(2/3): mysql-tools-community/x86_64/primary_db                                |  54 kB  00:00:00
(3/3): updates/7/x86_64/primary_db                                            | 2.4 MB  00:00:08

Package 4:perl-5.16.3-294.el7_6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package perl-Sys-Syslog.x86_64 0:0.33-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================
Package                      Arch                Version                    Repository         Size
=====================================================================================
Installing:
 perl-Sys-Syslog              x86_64              0.33-3.el7                 base               42 k
Transaction Summary
=====================================================================================
Install  1 Package
Total download size: 42 k
Installed size: 93 k
Is this ok [y/d/N]: y
Downloading packages:
perl-Sys-Syslog-0.33-3.el7.x86_64.rpm                                         |  42 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : perl-Sys-Syslog-0.33-3.el7.x86_64                                                 1/1
  Verifying  : perl-Sys-Syslog-0.33-3.el7.x86_64                                                 1/1
Installed:
  perl-Sys-Syslog.x86_64 0:0.33-3.el7
Complete!

2) Install perl modules using CPAN

http://www.cpan.org/modules/INSTALL.html

 Install cpanm to make installing other modules easier. You need to type these commands into a Terminal emulator (Mac OS X, Win32, Linux)

                 cpan App::cpanminus

            Now install any module you can find.

                cpanm Module::Name

GIM was installed despite of perl failure message, so next step is to start GIM

3) GIM is installed but not running. Please start gim by running 'systemctl start guard_gim'


Reference:

How the Guardium S-TAP Process is handled throughout OS versions

Related Information

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMPHH","label":"IBM Security Guardium"},"Component":"Guardium Database Activity Monitor","Platform":[{"code":"PF016","label":"Linux"}],"Version":"9;10;11","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Document Information

Modified date:
02 July 2019

UID

swg21990011