SSH takes too much time while login

by HP Pro ‎02-07-2012 10:09 AM - edited ‎02-06-2012 09:14 PM

Symptoms

Initial SSH login to the HP-UX 11.31 is slower without any errors. 

Diagnosis



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

 

Found that the  /var/adm/wtmps file is very huge. 

Solution

 

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. 

 

Issue resolved after emptying the wtmps file. 

Search
Follow Us


Twitter Stream
Contributors
HP Blog
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation