![]() | Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Problem Resolution Sure Solution 1383988.1 : CheckSWProfile.Sh Reports "Failed To Login Admin User With Given Password For Switch"
In this Document Created from <SR 3-4993759920> SymptomsWhen running the script '/opt/oracle.SupportTools/CheckSWProfile.sh' with -I or -S options (used to check Infiniband switch configuration) the script reports the message: # /opt/oracle.SupportTools/CheckSWProfile.sh -I myswitch - The correct root password has been supplied. - The script goes on to connect successfully to the switch and is able to print the switch information: Enter admin or root password for <my switch>: Note: - This script is also called from exachk so you may see exachk reporting a similar failure. - The message is slightly misleading as there is no 'admin' user on the V2/X2 switches, also the correct root password was supplied to the script. CauseMost likely 'ssh' to that switch is slow. Try 'ssh' from the command line ( from a DB node for example): # ssh <my switch> If this takes 20 to 30 seconds then this delay is likely to be the reason for the message "Failed to login admin user with given password for switch" as the script has timed out. Solution- When the CheckSWProfile.sh script displays the message : [ERROR] Failed to login admin user with given password for switch 'myswitch' There could be many reasons but most likely these are related to the network configuration on the switch related to ssh. If ssh tries to lookup the client IP and it can't reach the DNS servers then it waits for a timeout. Possible Workarounds: 1) Check /etc/resolv.conf has valid entries. Compare the settings with switches that do not have slow 'ssh'. or 2) Put IP address and hostnames of the client into the /etc/host on the switch. or 3) On the switch, verify 'ifconfig -a' output and contents of '/etc/sysconfig/network-scripts/ifcfg-eth0' are valid. The following bug was logged to make the error message more meaningful - as there was no admin user on the switch and the correct password was supplied: <Bug:13474864> MISLEADING MESSAGE FROM CHECKSWPROFILE.SH WHEN SSH TIMES OUT References<NOTE:1286263.1> - Troubleshooting InfiniBand Switch Problems on Exadata<BUG:13474864> - MISLEADING MESSAGE FROM CHECKSWPROFILE.SH WHEN SSH TIMES OUT Attachments This solution has no attachment |
||||||||||||
|