- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP UX : console is hung
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2011 11:43 AM
09-17-2011 11:43 AM
Hi
I have a rx8640 server . But I am not able to login to the OS from console
Also I could see form OS that the getty process is not owned by console
root@sghar:/ : ps -ef | grep -i getty
root 20092 1 0 20:40:06 ? 0:00 /usr/sbin/getty console console
root 20217 13016 1 20:40:24 pts/3 0:00 grep -i getty
root@sghar:/ :
Entry is there in inittab
root@sghar:/ : grep -i getty /etc/inittab
cons:123456:respawn:/usr/sbin/getty console console # system console
#ttp1:234:respawn:/usr/sbin/getty -h tty0p1 9600
#ttp2:234:respawn:/usr/sbin/getty -h tty0p2 9600
#ttp3:234:respawn:/usr/sbin/getty -h tty0p3 9600
#ttp4:234:respawn:/usr/sbin/getty -h tty0p4 9600
#ttp5:234:respawn:/usr/sbin/getty -h tty0p5 9600
root@sghar:/ :
I itied init q also . Still not able to login to OS
No error nothing displaying in console
Please some one help me to solve this
Solved! Go to Solution.
- Tags:
- inittab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2011 01:21 PM
09-17-2011 01:21 PM
Re: HP UX : console is hung
Hi:
This has nothing to do with 'getty' or your 'inittab' if your server boots without complaint. How are you logging in --- at the console; by a telnet connection; by a ssh connection?
Do you have a '/etc/securetty' file? If so, look at its contents. If "console" isn't listed as one of the lines, then root cannot login. Add a "console" entry to allow it.
If your connection is an SSH one, look at the 'sshd_config' file for the 'PermitRootLogin' directive and it's setting.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2011 06:54 AM
09-18-2011 06:54 AM
Re: HP UX : console is hung
If you're using a local serial-connected terminal/emulator, be advised that the rx8640 can have two identical Core I/O cards and thus two console port connectors. Only one of them will be active. Make sure you've connected your cable to the correct Core I/O card: I think they have LEDs to indicate which one is active.
The iLO MP (Management Processor) that controls the console might also be hung. Press Ctrl-B when connected to the console. If you can access the MP menus this way, try CM (Command Menu) -> XD (MP diagnostics) -> R (MP reset). This can be done safely while the OS is running.
If you cannot even access the MP menus, look for the MP reset button in the core I/O card.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2011 09:36 AM
09-18-2011 09:36 AM
Re: HP UX : console is hung
Hi All
I am able to access to MP . Only Proble I cannot login to OS for a particular vpar . For the other vpars in the same Npar I am able to login to OS from Console
This was working fine when I checked few days back
Now when I checked I am not able to able to login to console . I am accessing the server via telnet .
When I checked in other server I could see that the process getty the ower of process as console . Here as per the output instead of console its only shows "?"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2011 09:39 AM
09-18-2011 09:39 AM
Re: HP UX : console is hung
This is the output from other server for the same process
root@s123:/ : ps -ef | grep -i getty
root 20092 1 0 20:40:06 console 0:00 /usr/sbin/getty console console
root 20217 13016 1 20:40:24 pts/3 0:00 grep -i getty
root@s123:/ :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2011 11:29 AM
09-18-2011 11:29 AM
Re: HP UX : console is hung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2011 05:36 AM
09-19-2011 05:36 AM
Re: HP UX : console is hung
yes the vpar switching is working .
and I am able to login to OS of other vpar also
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2011 06:13 AM
09-19-2011 06:13 AM
Re: HP UX : console is hung
GenericSysName [HP Release B.11.23] (see /etc/issue)
Console Login:
[sghar]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2011 08:30 AM - edited 09-19-2011 02:02 PM
09-19-2011 08:30 AM - edited 09-19-2011 02:02 PM
Re: HP UX : console is hung
>GenericSysName [HP Release B.11.23] (see /etc/issue)
If you aren't worried too much about security, you might want to update /etc/issue to mention the name of the system, so you can make sure you are talking to the right system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2011 12:52 PM
09-19-2011 12:52 PM
Re: HP UX : console is hung
Normally, init should automatically restart the getty process on the console if it gets killed. So if your console getty looks suspicious, you can kill it and wait for init to restart it.
If the restart does not happen, then something is very wrong with the system: either /etc/inittab is broken, or the init process is in an unhealthy state. Has someone modified /etc/inittab recently? What is the output of "ps -fp 1"?
If the init process is hung or killed, a reboot is the surest way to cure the problem. But init is very robust and should never die randomly: is this vPar up to date with patches? Has this vPar had a critical shortage of RAM since it was last rebooted? Does the "dmesg" listing contain anything that looks like a possible hardware issue or other serious problem?