1834604 Members
4154 Online
110069 Solutions
New Discussion

No login prompt

 
Carlo Henrico_1
Regular Advisor

No login prompt

Hi All

One of my production servers (HP-UX 11.0 on a RP2470) was giving no login prompt via telnet or the console. After a reset via GSP it came right temporarily. After about 12 hours or so it did the same. After another reset I cleared out the wtmp (backed it up first!), and now all seems fine.

Any ideas what causes this and how do I prevent it in future?

Thanks

Carlo
(198/198!)
Live fast, die young - enjoy a good looking corpse!
8 REPLIES 8
Devender Khatana
Honored Contributor

Re: No login prompt

Hi,

Was it giving "GSP Write access failed" when tried to telnet to GSP IP.If yes it is a GSP hangup which usually occurs. The only remedy is to reset GSP through

#stty +resetGSP
It can not be avoided.

HTH,
Devender
Impossible itself mentions "I m possible"
Carlo Henrico_1
Regular Advisor

Re: No login prompt

No, no GSP errors, only no login prompt via telnet or the console.

Carlo
Live fast, die young - enjoy a good looking corpse!
Devender Khatana
Honored Contributor

Re: No login prompt

Hi,

It means you reseted the machine itself not GSP. What was the error when tried to login through telnet or on console ? Was anything logged to /var/adm/syslog/syslog.log ?

Regards,
Devender
Impossible itself mentions "I m possible"
Carlo Henrico_1
Regular Advisor

Re: No login prompt

As I said "...reset via GSP ...". In other words, I rebooted the server using GSP commands, not the GSP. I could not access the server at all through telnet or console, it just gave me a blank screen, no login prompt and no errors.

Carlo
Live fast, die young - enjoy a good looking corpse!
T G Manikandan
Honored Contributor

Re: No login prompt

Any such problems first take a look in /var/adm/syslog/syslog.log
Carlo Henrico_1
Regular Advisor

Re: No login prompt

There was nothing in the syslog, neither time.

Thanks

Carlo
Live fast, die young - enjoy a good looking corpse!
Mario_66
Valued Contributor

Re: No login prompt

Hi,

please check which version of "s700_800 11.00 telnet kernel and telnetd(1M) patch" is running on your server. There was an issue where utmp/utmpx could be corrupted by telnetd. The last version is PHNE_26096.

BR,
Mario.
Kent Ostby
Honored Contributor

Re: No login prompt

Carlo -- In the future, rather than resetting the whole machine there are two things you can do to get the console getty working again -- one hardware, one software.

Hardware -- If you are using a 700/92 terminal (or 700/96), you can power off the terminal, hold down the "d" key, and power the terminal back on while still holding the "d" key. Count to about 5 and let go of the "d" key. You should get a message on the screen that says "default configs used, press return to clear", hit return and the hardware of the terminal will have been reset.

Software -- Get a network connection to the box and do:

ps -ef | grep console

There is probably a getty process running. Type: kill

The to use is the first number on the line returned by the ps -ef

Best regards,

Kent M. OStby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"