Got incident for AIX LPAR not connecting from outside using ssh.
To solve this issue followed following approach.
First did pre-check like tried to connect from AIX NIM server and CyberArk, so found that its not connecting from both NIM and CyberArk.
so finally decided to try from putty, that also failed.
so, decided to take console from HMC and took session. upon checking found that "ssh" process is in inoperative state. so tried to start that process but its not starting using following command. :(
#startstc -s sshd
#refresh -s sshd
so decided to check which process is holding that port 22. checked this using lsof command
#lsof -i :22
this command showing process id where socket status is "closed_wait",
so decided that will go for kill that process.
killed that process by command #kill -9 PID
and started "sshd" process and finally it work.
AIX lpar we able access from cyberARK ,putty and NIM.
Finally we conclude that, ssh process was in "hung" state and sshd process refresh and stop, start also not worked, then finally after clearing PID associated with that process solve issue.
Thanks !!!!
No comments:
Post a Comment