SPC-OCC-10747: Error capturing configuration for host:
SPC-OCC-11549: Capture failed.
Enable the NCM in debug mode and the following errors were found:
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - captureRunningConfigImpl starting for host : xx.yy.ww.zz
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - Configuration :
Communication Mode : CUSTOM_SSH
User : xywz
Password : xxxxxxxx
Enable Password: CUSTOM_SSH
Capture File Name : SCM_0x117975
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - Custom Configuration :
runningCaptureCommandList {
str: "show running-config"
}
runningCaptureCommand: "show running-config"
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - Diff Masks :
str: "[!#]"
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - Policy Items:
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - calling custom family jsch
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - CustomSSH jschCaptureConfig starting:
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - host: xx.yy.ww.zz
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - filename: E:\win32app\Spectrum\NCM\cache\SCM_0x117975
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - username: xywz
Feb 14, 2023 17:30:21.231 (captureRunningConfig for host: xx.yy.ww.zz) - password: xxxxxxxx
Feb 14, 2023 17:30:21.715 (captureRunningConfig for host: xx.yy.ww.zz) - Session created successfully
Feb 14, 2023 17:30:21.715 (captureRunningConfig for host: xx.yy.ww.zz) - Execute sucessful com.jcraft.jsch.ChannelShell@fcf556e
Feb 14, 2023 17:30:21.731 (captureRunningConfig for host: xx.yy.ww.zz) - Channel connection sucessfull :
Feb 14, 2023 17:30:21.731 (captureRunningConfig for host: xx.yy.ww.zz) - getSSHOutput() started waitTries :5
Feb 14, 2023 17:30:21.731 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :0
Feb 14, 2023 17:30:22.734 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :1
Feb 14, 2023 17:30:23.737 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :2
Feb 14, 2023 17:30:24.740 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :3
Feb 14, 2023 17:30:25.754 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :4
Feb 14, 2023 17:30:26.766 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :5
Feb 14, 2023 17:30:26.766 (captureRunningConfig for host: xx.yy.ww.zz) - exit-status: -1
Feb 14, 2023 17:30:26.766 (captureRunningConfig for host: xx.yy.ww.zz) - getSSHOutput() ended
Feb 14, 2023 17:30:26.766 (captureRunningConfig for host: xx.yy.ww.zz) - getSSHOutput() started waitTries :5
Feb 14, 2023 17:30:26.766 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :0
Feb 14, 2023 17:30:27.767 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :1
Feb 14, 2023 17:30:28.768 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :2
Feb 14, 2023 17:30:29.776 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :3
Feb 14, 2023 17:30:30.787 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :4
Feb 14, 2023 17:30:31.789 (captureRunningConfig for host: xx.yy.ww.zz) - while true loop counter :5
Feb 14, 2023 17:30:31.789 (captureRunningConfig for host: xx.yy.ww.zz) - exit-status: -1
Feb 14, 2023 17:30:31.789 (captureRunningConfig for host: xx.yy.ww.zz) - getSSHOutput() ended
Feb 14, 2023 17:30:31.789 (captureRunningConfig for host: xx.yy.ww.zz) - output for enable command :
% Access denied
Feb 14, 2023 17:30:31.789 (captureRunningConfig for host: xx.yy.ww.zz) - Could not enter privileged exec mode with the specified enable password.
Feb 14, 2023 17:30:31.789 (captureRunningConfig for host: xx.yy.ww.zz) - channel closed
Feb 14, 2023 17:30:31.789 (captureRunningConfig for host: xx.yy.ww.zz) - Session closed
Feb 14, 2023 17:30:31.789 (captureRunningConfig for host: xx.yy.ww.zz) - error status not equal to SUCESS : 8523793
Feb 14, 2023 17:30:31.789 (captureRunningConfig for host: xx.yy.ww.zz) - captureRunningConfigRun attempts down to: 2
Release : 22.2,23.3
Wrong username, password and enable password
After supplying the correct username, password and enable password the issue was resolved.