Operating System - HP-UX
1752273 Members
4406 Online
108786 Solutions
New Discussion юеВ

Re: /usr/sbin/getty process ....

 
SOLVED
Go to solution
Manuales
Super Advisor

/usr/sbin/getty process ....

Hi !!!
can you tell me, how do i must start getty process?

it was started as next: /usr/sbin/getty
and now there is not started.

Thanks, Manuales.
5 REPLIES 5
Deoncia Grayson_1
Honored Contributor
Solution

Re: /usr/sbin/getty process ....

the getty process is normally spawned off of the inittab, but if its not started then you can simply type ./usr/sbin/getty & and this should start it in the background, make the file is executable.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
James R. Ferguson
Acclaimed Contributor

Re: /usr/sbin/getty process ....

Hi Manuales:

'Getty' processes are started in '/etc/inittab' usually with a 'respawn' action for dial-in capable lines.

See the man pages for 'inittab(4)' and 'getty(1M)' for more information.

Regards!

...JRF...
Manuales
Super Advisor

Re: /usr/sbin/getty process ....

Hi!!
I executed:
./usr/sbin/getty &

and few seconds later the answer was a message on prompt:
unix1:/->
[1] + Done(1)


why?

Manuales.
Deoncia Grayson_1
Honored Contributor

Re: /usr/sbin/getty process ....

do a ll /usr/sbin/getty and make sure the process actually exist, also look inside your /etc/inittab and make sure this process is not commented out
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Devender Khatana
Honored Contributor

Re: /usr/sbin/getty process ....

Hi,

Look for similar entries in /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

And look for the desired tty in the desired column. The column should have a proper device file and if you make any changes to file then do not forget to do a "init q" for the cahnges made to be effective immediately.

Please specify the requirement for running this.

Also the running getty processes can be listed by using ps command

#ps -ef|grep -i getty

HTH,
Devender
Impossible itself mentions "I m possible"