"Error 252 Login Error:" running Spectrum NCM Capture
search cancel

"Error 252 Login Error:" running Spectrum NCM Capture

book

Article ID: 272286

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The following error is seen when running an NCM capture using the Cisco NX OS Capture_Startup_Script:

Oct 28, 2024 22:38:38.030 -  Exception occured :8523794

252
Use of uninitialized value $login_output in concatenation (.) or string at /spectrum/NCM/cache/script_0x4ed766_0x4443de_cap_run line 110.

Host <ip address>:  
Login has failed. Output:  

Cause

Incorrect fingerprint in the $HOME/.ssh/known_hosts file of the user that owns the Spectrum installation on the SpectroSERVER system.

Resolution

Delete the  $HOME/.ssh/known_hosts file of the user that owns the Spectrum installation on the SpectroSERVER system. Then ssh to the system to update the $HOME/.ssh/known_hosts file

- Modify the perl script and add Stricthostkeychecking to "No". Reference https://linuxhint.com/ssh-stricthostkeychecking/