Problem
I have some HP-UX vPar machines, one day I faced the issue that one vPar machine was pinging but I was unable to login through PuTTY.
Solution
To find the reason I need to log in to the console of the vPar machine. To log in on vPar console first I need to log in on the base machine of the vPar which was a nPar machine.
Login on nPar machine
After login on nPar machine see the details of the all vPar machines created under this nPar using the command vparstatus.
# vparstatus [Virtual Partition] Num Name RunState State === ========================== ============ ========= 1 dbappweb1 UP Active 2 dbappweb2 UP Active 3 dbappweb3 UP Active [Virtual Partition Resource Summary] Virtual Partition CPU Num Num Total MB Floating MB Num Name Min/Max CPUs IO Memory Memory === ========================== ======= ==== ==== ========= ============ 1 dbappweb1 1/512 2 5 16384 0 2 dbappweb2 1/512 3 5 16384 0 3 dbappweb3 1/512 2 6 16384 0 #
Login to vPar Machine
Use the below command to log in on the vPar machine.
# vparconsole -p2 vMP MAIN MENU CO: Console CM: Command Menu CL: Console Log SL: Show Event Logs VM: Virtual Machine Menu HE: Main Help Menu X: Exit Connection [dbappweb2] vMP> co (Use Ctrl-B to return to vMP main menu.) - - - - - - - - - - Prior Console Output - - - - - - - - - - The system is ready. - - - - - - - - - - - - Live Console - - - - - - - - - - - - Console Login: root Password: # hostname dbappweb2
After login on vPar console, I restarted the ssh service to resolve the above issue.
# /sbin/init.d/secsh stop HP-UX Secure Shell stopped # /sbin/init.d/secsh start HP-UX Secure Shell started
Note: In the above case, my OS was HP-UX 11.31
Related Posts
- How to Find NIC (Network Interface Card) Details in HP-UX
- How to Install a .depot Package Using swinstall on HP-UX
- HP-UX: How to restrict NFS share access to a particular server?
- crontab: you are not authorized to use cron. Sorry. in HP-UX
- HP-UX: SSH taking too much time after adding the DNS Servers
- How to add DNS servers on an HP-UX server
- How to login to vPar console in HP-UX
- How to extend the size of Logical Volume (LV) in HP-UX
- How to determine file system type in HP-UX using command
- How to check vPar machines status in HP-UX
- How to find HBA cards/ports and WWN Number details in HP-UX (nPar)
- How to find HBA cards/ports and WWN Number details in HP-UX (vPar)
- HP-UX command to get Physical Memory Information
- HP-UX command to get Processor Information
- HP-UX command to get Hardware Serial Number
- su: Sorry in HP-UX while switching from normal user to root user
- SSH login taking too much time on HP-UX 11.31
- How to Disable Root SHH Login in HP-UX?
- hpvmstatus: HPVM currently not running.
- How to view/print routing table in HP-UX?
- Create a Logical Volume larger than 2TB and format it in HP-UX
- Protect SSH Logins with SSH and MOTD Banner Messages in HP-UX
- Remove welcome message after login in HP-UX 11.31
- Create a Logical Volume and format it in HP-UX
- How to rescan new LUNs added in HP-UX 11.31
- How to reboot a HP-UX machine?
- How to remove File System, LV and VG in HP-UX and Linux?
- How to remove NO_HW devices from ioscan in HP-UX without a reboot?
- Change root user password of vpar machine in HP-UX
No Responses