- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- getty process for console keeps dying
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
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
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
тАО11-20-2001 07:27 PM
тАО11-20-2001 07:27 PM
getty process for console keeps dying
I have a getty process for the console that dies frequently. When I do a init q the process will run for a few seconds and then die off. Hoe do I enure that the getty process is running fine. Why does it die off?
Thks for all help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2001 07:40 PM
тАО11-20-2001 07:40 PM
Re: getty process for console keeps dying
Can you verify that you have this exact same entry in your /etc/inittab:
cons:123456:respawn:/usr/sbin/getty console console # system console
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2001 07:42 PM
тАО11-20-2001 07:42 PM
Re: getty process for console keeps dying
First check the setup of the console
Check the /etc/inittab file
cons:123456:respawn:/usr/sbin/getty console console
Also check if /dev/console is:
crw--w--w- 1 root sys 0 0x000000 Sep 5 13:39 /dev/console
You can recreate /dev/console with:
insf -evd cn
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2001 07:45 PM
тАО11-20-2001 07:45 PM
Re: getty process for console keeps dying
I have seen with mux board the getty process dying it their is problem with mux board. It may be problem with serial port which is your case is console.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2001 09:55 PM
тАО11-20-2001 09:55 PM
Re: getty process for console keeps dying
Thanks for all the responses. It's been very helpful. I checked the entry in /etc/inittab and there was an entry:
cons:123456:respawn:/usr/sbin/getty console console # system console
However, when I listed the /dev/console it showed:
# cd /dev
# ll console
crw--w--w- 1 root tty 0 0x000000 Nov 21 14:13 console
with group belonging to "tty". Is this right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2001 10:00 PM
тАО11-20-2001 10:00 PM
Re: getty process for console keeps dying
the group tty should be okay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2001 11:24 PM
тАО11-20-2001 11:24 PM
Re: getty process for console keeps dying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2001 12:23 PM
тАО11-21-2001 12:23 PM
Re: getty process for console keeps dying
check the contents of your "/etc/gettydefs". the should be a line/paragraph starting with "console" - check this or post it to the forums. You may compare it to the "original" in "/usr/newconfig/etc/gettydefs" to detect changes.
You can check it with "getty -c 2>&1 | more", too...
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2001 06:06 PM
тАО11-21-2001 06:06 PM
Re: getty process for console keeps dying
# This entry is used for the console
#
console # B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
# B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
#Console Login: #console
contents in /etc/gettydefs:
#
# This entry is used for the console
#
console # B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
# B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
#Console Login: #console
There doesn't seem to appear any difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2001 06:38 PM
тАО11-21-2001 06:38 PM
Re: getty process for console keeps dying
In patch PHCO_23876 there is some fixes
in regards to 'getty', I am not sure
whether this will fix your particular
problem, but you should check anyway.
This patch is for HPUX 11. (You didn't
mention what your OS level was)
Only other thing I can suggest is that
your console part could be flakey....
-Michael