My Oracle Support Banner

Exalogic: Exapasswd Fails To Update Cisco Management Switch Password With "Syntax error while parsing 'help'" Error (Doc ID 2571549.1)

Last updated on AUGUST 20, 2019

Applies to:

Oracle Exalogic Elastic Cloud Software - Version 2.0.6.4.190115 and later
Linux x86-64
Oracle Solaris on x86-64 (64-bit)
Oracle Virtual Server x86-64

Symptoms

Exapasswd fails for Cisco switch if it has "Cisco Nexus Operating System (NX-OS) Software".


       [root@elcn01 ecu]# exapasswd --cisco-switch --debug
       Additional information can be found in the log file /var/log/exapasswd-19xxxx-09xxxx.log
       Exapasswd 1.0.4 (build 12626)
       -------------------------------------------------
       Setting passwords for the following components:
       DEBUG: Loading /var/tmp/exalogic/ecu/ops_center.properties
        Cisco Switch (1 targets)
       -------------------------------------------------
       Continue? [y/n] y
       -------------------------------------------------
       After setting passwords, they will be synchronised with Ops Center
       DEBUG: Loading JSON file /var/tmp/exalogic/ecu/elcontrol.json
       Checking connection to Ops Center <IPADD> (<HOSTNAME>)
       DEBUG: Trying passwordless SSH for root@<IPADD>:22
       DEBUG: ssh -oStrictHostKeyChecking=no -oCheckHostIP=no -oNumberOfPasswordPrompts=0 -oLogLevel=INFO -p 22 -l root <IPADD> help
       DEBUG: RET: 0
       DEBUG: Passwordless SSH succeded
       root@<IPADD> authentication successful
       -------------------------------------------------
       Setting Cisco Switch password for 1 targets:
        <IPADD> (
<HOSTNAME>)
       -------------------------------------------------
       Continue? [y/n] y
       Connecting to Cisco Switch first
       DEBUG: ssh enabled on target (cisco) <IPADD>.
       admin@<IPADD>'s password:
       DEBUG: connect to admin@<IPADD>
       DEBUG: expect /exalogic-lctools/lib/exatools/Exapasswd/lib/utils2/ssh.exp 900 admin <IPADD> 22 "help"
       DEBUG: RET: 16, OUTPUT: Syntax error while parsing 'help'                                                                                                               <<<< ==================================


       Cmd exec error.
       DEBUG: END OUTPUT
       DEBUG: User error: Syntax error while parsing 'help'                                                                                                                         
<<<< ==================================


       Cmd exec error. (host: <IPADD>, command: "help", returncode: 16)
       Password invalid, please try again.
       admin@<IPADD>'s password:
       DEBUG: connect to admin@<IPADD>
       DEBUG: expect /exalogic-lctools/lib/exatools/Exapasswd/lib/utils2/ssh.exp 900 admin <IPADD> 22 "help"
       DEBUG: RET: 16, OUTPUT: Syntax error while parsing 'help'                                                                                                             
<<<< ==================================


       Cmd exec error.
       DEBUG: END OUTPUT
       DEBUG: User error: Syntax error while parsing 'help'                                                                                                                        
<<<< ==================================


       Cmd exec error. (host: <IPADD>, command: "help", returncode: 16)
       Password invalid, please try again.
       admin@<IPADD>'s password:
       DEBUG: connect to admin@<IPADD>
       DEBUG: expect /exalogic-lctools/lib/exatools/Exapasswd/lib/utils2/ssh.exp 900 admin <IPADD> 22 "help"
       DEBUG: RET: 16, OUTPUT: Syntax error while parsing 'help'


       Cmd exec error.
       DEBUG: END OUTPUT
       DEBUG: User error: Syntax error while parsing 'help'


       Cmd exec error. (host: <IPADD>, command: "help", returncode: 16)
       ERROR: Password not valid for <IPADD>
       Failed connecting to Cisco Switch targets.
       Valid connection to all the targets is required for continuing.
       Skipping Cisco Switch targets...
       -------------------------------------------------
       SUMMARY
       -------------------------------------------------
       ERROR: 1 out of 1 component types failed.
       -------------------------------------------------

Changes

 Customer upgraded the Cisco switch to NX-OS Operating system.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.