Exalogic: Exapasswd が "Syntax error while parsing 'help'" エラーで Cisco 管理スイッチのパスワードを更新できない
(Doc ID 2576936.1)
Last updated on AUGUST 13, 2019
適用範囲:
Oracle Exalogic Elastic Cloud Software - バージョン 2.0.6.4.190115 以降Linux x86-64
Oracle Solaris on x86-64 (64-bit)
Oracle Virtual Server x86-64
現象
Cisco スイッチが "Cisco Nexus Operating System (NX-OS) Software" の場合、Exapasswd は失敗します。
[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.
-------------------------------------------------
変更点
お客様は、Cisco スイッチを NX-OS オペレーティングシステムにアップグレードしています。
原因
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
本書の内容
現象 |
変更点 |
原因 |
解決策 |
参照情報 |