Operating System - HP-UX
1753325 Members
5456 Online
108792 Solutions
New Discussion юеВ

Getting errno=14 on console when init tries to respawn console

 
Joe White
Frequent Advisor

Getting errno=14 on console when init tries to respawn console

I've got an HP-UX 10.20 system whihc continually spits out an errno=14 when attempting to execute /usr/sbin/getty for the console. I've checked inittab and it's correct. I'm thinking a reboot will take care of this. Anyone seen this problem before?
2 REPLIES 2
melvyn burnard
Honored Contributor

Re: Getting errno=14 on console when init tries to respawn console

You may want to try this:
# ll /usr/sbin/getty -> check that the permissions, owners, size, and date are ok.
# cksum /usr/sbin/getty -> check it reports ok.
# mv /etc/inittab /etc/inittab.old
# cp /usr/newconfig/etc/inittab /etc/inittab
# init q ->
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Wodisch
Honored Contributor

Re: Getting errno=14 on console when init tries to respawn console

Hello Joe,

to be of more then generic help I would like to see
- your "getty" line in your "/etc/inittab"
- then paragraph used by it in "/etc/gettydefs"
- the output of "ls -l" of the device used by "getty"
- the output of "ls -l" of "getty" itself

What you can do, is
- check those lines in the files mentioned yourself,
comparing them to the "templates" found below
"/usr/newconfig/etc/"
- check the contents for syntax with
getty -c /etc/gettydefs 2>&1 | more
- check if the line is configured at all with something like
lssf /dev/console # or whatever your line is
stty -a < /dev/console & # or whatever your line is!
the "stty" might actually be hanging, if configured as
modem line and nothing is connected! Hence the "&"
- check the output of "who -a" for the line of your
console device, looking for the values of the "term="
and of the "exit=" entries in there

HTH,
Wodisch