cancel
Showing results for 
Search instead for 
Did you mean: 

Not getting prompt

Trng
Super Advisor

Not getting prompt

Hi ,

users are able to login(HPUX 11.23) to console and getting the prompt (# and $).but the same users not getting any prompt(# and $) after logging through terminal .pls find the below error.


Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter

Value of TERM has been set to "".
WARNING: YOU ARE SUPERUSER !!


i am not getting the # prompt here ,same is working fine ,if i am logging through console .what may be the problem ?


administrator
5 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Not getting prompt

What kind of terminal are you using?
Are you using telnet, rlogin or ssh?
Suraj K Sankari
Honored Contributor

Re: Not getting prompt

Hi,
Are you able to login from other terminals ?
if yes then check this terminal settings

Suraj
Prashanth.D.S
Honored Contributor

Re: Not getting prompt

Hi,

The "stty:: Not a typewriter" message is the result of attempting another login when either there are not enough of the "pts" character devices or there are insufficient kernel structures of the "strpty" class (which is generated in the kernel as nstrpty)

If there are not enough kernel structures a kernel must be rebuilt using SAM with a higher number of structures allocated; however, this may not change the number of "pts" device files available.

If the kernel example above were rebuilt for 75 kernel structures, the correct command to increase the number of character device files would be:

#insf -d pts -s 75

The insf command defaults to 60 so the "-s 75" is necessary to generate enough character devices.

If there are neither enough kernel structures nor device files; please use SAM to both configure additional structures and character devices. You will be required to recompile the kernel and reboot the system as a result.

Best Regards,
Prashanth
Dennis Handly
Acclaimed Contributor

Re: Not getting prompt

>Prashanth: The "stty:: Not a typewriter" message is the result of attempting another login when either there are not enough of the "pts"

Hmm, I thought you just don't login when that happens. And the stty error occurs when executing HP-UX's broken /etc/profile or ~/.profile.
Trng
Super Advisor

Re: Not getting prompt

Thanks for your replys,issue has been identified and solved.it was due to nstrpty ,is has reached maximum number of allowable limit.


administrator