Spectrum NCM - SPC-OCC-10746: The operation failed. SPC-NCM-20007: Capture Running Script Returned Error [-1]:.

book

Article ID: 196193

calendar_today

Updated On:

Products

CA Spectrum CA eHealth

Issue/Introduction

The below error message is being received in OneClick console when attempting to run a capture of Host Configuration on Cisco NX-OS device.  

SPC-OCC-10746: The operation failed. SPC-NCM-20007: Capture Running Script Returned Error [-1]:. 

Environment

Release : 10.4.1

Component : Spectrum Core / SpectroSERVER

Resolution

1.   Export the script from NCM and verify it can be run manually with the Spectrum install user account:

2. Run "which perl" and verify the path returned

[[email protected] bin]# which perl
/usr/bin/perl

3. Specify the perl binary root path within Spectrum > Configuration Manager > Perl Configuration > Use Custom Perl

 

Additional Information

For debugging purposes, you can add a log redirect to the script and run the script manually.

If the log redirect works when running the script manually, but not when the script is run from within NCM then that shows the script is not being called (most likely perl cannot be located).

Attachments