Operating System - HP-UX
1827276 Members
2291 Online
109717 Solutions
New Discussion

Re: getty : Can not vhangup line "console" : error no 25

 
Q4you
Regular Advisor

getty : Can not vhangup line "console" : error no 25

There are large numbers of such messages getting logged on to syslog.log file. Also on the console does not return "Console Login:" prompt.

Have you seen this ? Any suggestions ?

-Q
3 REPLIES 3
Paul Sperry
Honored Contributor

Re: getty : Can not vhangup line "console" : error no 25

Jeff Schussele
Honored Contributor

Re: getty : Can not vhangup line "console" : error no 25

Hi,

Sure looks like something is wrong with either the console itself or the shell it os/was running or possibly some SW running that is expecting input from the console.
Err 25 is ENOTTY - "Not a typewriter"

So look at the following:

1) do a ps -ef | grep console and see if anything is running & if so kill it if you can.

2) Reset the console - power it down & hold the "D" key on power up.

3) Verify that no SW is running that requires console input.

HTH,
A4you
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Darren Prior
Honored Contributor

Re: getty : Can not vhangup line "console" : error no 25

Hi,

Have you checked that you have one blank line either side of each entry in /etc/gettydefs? This file is very sensitive to any syntax errors. If in doubt start with /usr/newconfig/etc/gettydefs and replace your customisation later. I suggest that any customisation is added above the last entry in the file - with a blank line above & below it. Basic syntax checking from getty -c will help; the getty man page has further info.

errno 25 is "not a typewriter." Check for any unusual entries in /etc/inittab - especially related to the console.

regards,
Darren.
Calm down. It's only ones and zeros...