NCM SSH-based Perl Scripts failed with SPC-OCC-10746 error on Linux

Document ID : KB000006823
Last Modified Date : 27/12/2018
Show Technical Document Details

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 [2]: Can't locate Net/SSH/ 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.

SpectroSERVER running on RHEL 7

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.



Additional Information:

Configuring CA Spectrum to Use a Custom Perl Install