Operating System - HP-UX
1748211 Members
5088 Online
108759 Solutions
New Discussion

Too much time taken while login

 
SOLVED
Go to solution
Jenny John
Advisor

Too much time taken while login

Hi All,

      While login into my HP-UX v11i3 system it take too much time & it doesnt prompt any error. Please suggest me where should I look-up for this problem. Thanks is advance

 

Jenny John

7 REPLIES 7
Steven Schweda
Honored Contributor

Re: Too much time taken while login

> [...] login [...]

   Login _how_?  At a terminal connected to a serial port?  Telnet?
RSH/REMSH?  SSH?

   If you're connecting through a network, then a forum or Web search
for keywords like, say:
    slow telnet
or
    slow ssh
should find many old discussions of the usual causes.

Jenny John
Advisor

Re: Too much time taken while login

im login through SSH.
only intial SSH login is slow . after im connected to the server it works fine.
pradeep m
Respected Contributor

Re: Too much time taken while login

Check the below command output  for possible issues

# ssh -vvv <servername>

 

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


pradeep m
Respected Contributor
Solution

Re: Too much time taken while login

 


Check the /var/adm/wtmp and /var/adm/wtmps files. IF it is huge in size. Move the file and re-create the file.

 

Now retry the ssh login.


Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


Jenny John
Advisor

Re: Too much time taken while login

/var/adm/wtmps file size is too large. Jus one more query i have
if i try cat /dev/null > /var/adm/wtmps it will clear d wtmps file. does this command corrupt the wtmps file?
pradeep m
Respected Contributor

Re: Too much time taken while login

Take a copy of the existing wtmps file and run the below command to empty the file. 

# cat /dev/null > /var/adm/wtmps 

This command empties the file and  doesnt corrupt the wtmps file. 

 

Alternatively you also delete and recreate this file. 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


mahindraandmahi
Regular Visitor

Re: Too much time taken while login

Thanks..Problem resolved.