My custom Network Configuration Manager (NCM) SSH-based Perl Scripts that work on Spectrum which is running on Windows, fail with the following error when Spectrum is migrated to Linux (RHEL) platform.
SPC-OCC-1074: The operation failed. SPC-NCM-20007: Capture Running Script Returned Error : Can't locate Net/SSH/Expect.pm in @INC ...
Although I have confirmed Perl exists in the RHEL platform, I have installed Net::SSH Perl module and I have enabled Use Custom Perl and set up Custom Perl Directory correctly in the Configuration Manager -> Information tab -> Perl Configuration subview.
Net:SSH:Expect Perl Module hasn't been installed.
Login to the SpectroSERVER machine and run 'instmodsh' command and type 'l' to list Perl modules that have been installed and check if you have Net:SSH:Expect module.
If you don't have Net::SSH::Expect module then run 'cpan' utility and on the cpan prompt run 'install Net::SSH::Expect' to install the required Perl Module.
If the NCM Operations still fail with "cannot locate" messages identify the offending module(s) and locate it on the system and copy it to opt/SPECTRUM/lib/Perl preserving the same directory structure as the location of the original file.
Configuring CA Spectrum to Use a Custom Perl Install