ServiceDeskIntegrationSetup - Can't load '/tmp/p2xtmp-xxxxxxx/auto/MIME/Base64/Base64.so' for module MIME::Base64:
search cancel

ServiceDeskIntegrationSetup - Can't load '/tmp/p2xtmp-xxxxxxx/auto/MIME/Base64/Base64.so' for module MIME::Base64:

book

Article ID: 428228

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction


When running the ServiceDeskIntegrationSetup binary to configure the SD_Notifier the following error is returned preventing the configuration of the sd-integration.cfg file.

cd $SPECROOT/Notifier/sd_notifier/
./ServiceDeskIntegrationSetup

Can't load '/tmp/p2xtmp-1627393/auto/MIME/Base64/Base64.so' for module MIME::Base64:  /tmp/p2xtmp-1627393/auto/MIME/Base64/Base64.so: failed to map segment from shared object at PERL2EXE_STORAGE/DynaLoader.pm line 193.

  at /opt/ca/Spectrum/NotifieI/sd_notifier/ServiceDeskIntegrationSetup line 40-

Compilation failed in at /opt/ca/Spectrum/Notifier/sd_notifier/ServiceDeskIntegrationSetupline 40.

BEGIN failed--compilation aborted at /opt/ca/Spectrum/Notifier/sd_notifier/ServiceDeskIntegrationSetup line 40.


Environment

24.3, 25.4

Cause


The PERL2EXE utility extracts to /tmp, however, /tmp had the noexec flag set and thus could not load and execute

/dev/mapper/rootvg-tmplv on /tmp type xfs (rw,nosuid,nodev,noexec,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)

Resolution


If the /tmp file system cannot have the noexec flag temporarily removed try the perl script version of ServiceDeskIntegrationSetup.pl attached to the following KB Article.


Error running the ServiceDeskIntegrationSetup program on the Spectrum OneClick system

Note: No need to follow the steps in the above KB, just download the perl script to the sd_notifier folder, grant execute privileges then execute to generate the sd-integration.cfg file.