1826103 Members
4443 Online
109690 Solutions
New Discussion

Re: login not possible

 
SOLVED
Go to solution
Ionut Grigorescu_2
Super Advisor

login not possible

Hi all,

since yesterday I have no more a login prompt to a HP-UX 11.00 box when using telnet/ssh - I still can rlogin from another box in the same NIS domain but no more directly from my workstation or any other box outside this NIS domain - and I have no clue what should be the cause for this... any idea? - when I try a telnet session it simply hangs, only the CTRL ] sequence can close the session, no login prompt appears... I couldn't find anything in the logs.

Thanks in advance,
ionut
If it weren't for STRESS I'd have no energy at all
10 REPLIES 10
T G Manikandan
Honored Contributor

Re: login not possible

check /var/adm/syslog/syslog.log and check as whether the telnet sessions have gone above the max kernel limit.

Ionut Grigorescu_2
Super Advisor

Re: login not possible

Hi,

there are only timeout entries in syslog related to telnet - the same behaviour is also for ssh...
If it weren't for STRESS I'd have no energy at all
Hoang Chi Cong_1
Honored Contributor

Re: login not possible

Hi Ionut Grigorescu

I think first, you should try to reboot the inetd daemon (inetd -c).
Second, you should check in the /var/adm/inetd.sec file.
May be someone change and disable the telnet service permission!
Add one more line like this:

telnet allow

then reboot the inetd daemon.
I think it works!

Best and regard,
HoangChiCong
Looking for a special chance.......
Ionut Grigorescu_2
Super Advisor

Re: login not possible

Hi Hoang,

nobody changed the permissions on my box, and I have no inetd.sec - If I would I should receive something like "connection closed" when trying to telnet, shouldn't I? It simply doesn't prompt me to login, it makes me crazy...
If it weren't for STRESS I'd have no energy at all
bhavin asokan
Honored Contributor

Re: login not possible

hi,

are you using any firewall in your setup?.any configuration has changed.

regds,
Ionut Grigorescu_2
Super Advisor

Re: login not possible

Hi,

everything I have done was editing named.conf, resolv.conf and adding some zone files to /var/named in order to prepare the box for beeing a name server for the application which will run on it. I still haven't started named on it so everything should be as before. On the box is running MC/Service Guard and one of the packages is the NIS+NFS server. There are 2 MC/SG packages running on it and there is another server running the database package - both are building up a cluster. In the same NIS domain there are 3 other HP workstations - I don't know if that helps.
If it weren't for STRESS I'd have no energy at all
Bharat Katkar
Honored Contributor

Re: login not possible

Hi ionut,
Can u doi one thing.. do rlogin to your box and then :

# telnet boxname

Try doing telnet from the box to box itself.
See if that works?

Regards,

You need to know a lot to actually know how little you know
Ionut Grigorescu_2
Super Advisor

Re: login not possible

telnet to my own box works.
If it weren't for STRESS I'd have no energy at all
bhavin asokan
Honored Contributor
Solution

Re: login not possible

Ionut Grigorescu_2
Super Advisor

Re: login not possible

I ahve choosed from the thread you've mentioned the quick and "dirty way" - I've added the IP address of the box from which I'm telnet-ing to the /etc/hosts on the HP box. The problem were of course the new entries in resolv.conf
Thanks a lot
If it weren't for STRESS I'd have no energy at all