Operating System - HP-UX
1748136 Members
3540 Online
108758 Solutions
New Discussion

HP-UX 11v1: Unable to access system via serial terminal

 
Martin Paech
Visitor

HP-UX 11v1: Unable to access system via serial terminal

After inserting the line

ttp0:234:respawn:/usr/sbin/getty -h tty0p0 H

in /etc/inittab and re-initializing with init q I did not get a login prompt on an attached terminal.

# ps -ef | grep -e 'getty'

replies only

    root 4510 1 0 Jul 24 console 0:00 /usr/sbin/getty console console

    root 13642 13602  1 20:53:54 pts/8     0:00 grep getty

 

 

When I start

# /usr/sbin/getty -h tty0p0 H

interactively, I get access as expected. Also I did not have any problems with the procedure described above on a 11v3 machine,

# ps -ef | grep -e 'getty'

replies

    root 24059     1  0  Apr 11  console   0:00 /usr/sbin/getty console console
    root 12779     1  0 20:49:48 ?         0:00 /usr/sbin/getty -h tty0p0 H
    root 12782 11527  0 20:49:54 pts/2     0:00 grep -e getty

 

 

Ideas, hints, solutions are very welcome—thank you in advance!

 

Martin

 

"Failure is not an option." (Gene Kranz)
1 REPLY 1
Martin Paech
Visitor

Re: HP-UX 11v1: Unable to access system via serial terminal

Strange behavior: If I change the inittab-line to

ttp9:234:respawn:/usr/sbin/getty -h tty0p0 H
and do an init q the getty-process gets started and a login is possible.

 

After disable getty on tty0p0 and reset it to
ttp0:234:respawn:/usr/sbin/getty -h tty0p0 H
everything works as it should! A

# ps -ef | grep getty

shows
    root 4510 1 0 Jul 24 console 0:00 /usr/sbin/getty console console
    root 21254 21233 0 11:12:48 pts/8 0:00 grep getty
    root 20493 1 0 10:55:30 tty0p0 0:00 /usr/sbin/getty -h tty0p0 H

 

Was there something like a ‘lock’ on ttp0? Any explanations are appreciated.

 

Greetings from a greenhorn!

 

Martin

 

"Failure is not an option." (Gene Kranz)