Error running the ServiceDeskIntegrationSetup program on the Spectrum OneClick system
search cancel

Error running the ServiceDeskIntegrationSetup program on the Spectrum OneClick system

book

Article ID: 237142

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The following error is seen running the "ServiceDeskIntegrationSetup" to integrate with CA Service Desk:

Can't locate Term/ReadKey.pm in @INC (you may need to install the Term::ReadKey module) (@INC contains: PERL2EXE_STORAGE /usr/Spectrum/Notifier/sd_notifier /tmp/p2xtmp-11134) at /usr/Spectrum/Notifier/sd_notifier/ServiceDeskIntegrationSetup line 41.

Environment

Release : 21.2.x, 22.2.x running on Linux

Component : Spectrum Integrations/Service Desk

Cause

Missing the ReadKey.pm perl module and wrong path in the ServiceDeskIntegrationSetup utility

 

# sudo rpm -qa | grep perl-TermReadKey*

perl-TermReadKey-2.37-7.el8.x86_64

# sudo find / -name ReadKey.pm

/usr/lib64/perl5/vendor_perl/Term/ReadKey.pm

Resolution

Install the perl-TermReadKey package.

# sudo yum install perl-TermReadKey*

Download the attached ServiceDeskIntegrationSetup.pl perl script and place it in $SPECROOT/Notifier/sd_notifier/ directory.

Change the file permission to 755:

# chmod 755 ServiceDeskIntegrationSetup.pl

Run the script:

# ./ServiceDeskIntegrationSetup.pl

Additional Information

The fix will be in an upcoming release in December 2022 (tentatively).

Attachments

1664220263145__ServiceDeskIntegrationSetup.pl get_app