Operating System - HP-UX
1833311 Members
2984 Online
110051 Solutions
New Discussion

Telnet / SSH Connection is Badly Slow

 
Ranjith_5
Honored Contributor

Telnet / SSH Connection is Badly Slow

Hi Experts,

Morning I set up an itianium server with Hpux version B11.23. I have connected a VGA monitor to the console and able to login. But I am not able to make a telnet session successfully. It takes almost 3-4 mins to get the login prompt for a telnet attempt. It used to timeout.Now After struggling for 2-4 hrs it started working but then as follows.

After issuing the command #telnet I have to wait for 2-3 mins to get the login prompt. And After typing the username I am again waiting for 2 mins to get the password prompt. Once the password is taking immediately and I am getting the # prompt.

Also Commands related to SAM takes a long time to run, viz; sam, swlist, swinstall, swremove. Seems like system is going to die.

Any imputs?

Regards,
Syam
10 REPLIES 10
Steve Steel
Honored Contributor

Re: Telnet / SSH Connection is Badly Slow

Hi

1)What is your patch level

2)swlist -l fileset -a title -a revision -a state -x show_superseded_patches=false
|grep -v configured|grep -v "#"

Should give no output

3)dmesg and the /va/adm/syslog/syslog.log file

any errors

4)/etc/resolv.conf /etc/nsswitch.conf

Almost certainly your name resolution is bad

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Nobody's Hero
Valued Contributor

Re: Telnet / SSH Connection is Badly Slow

Not much to offer except, I had this problem during a cold install of an 11.11 Kclass server. telnet was slow got faster than was very very slow.

I resolved the problem by installing the lastest patch and upgraded Online Diag and loaded the patch bundles that can on the Online Diag CD.

UNIX IS GOOD
Steven E. Protter
Exalted Contributor

Re: Telnet / SSH Connection is Badly Slow

Right after any new install or upgrade early in the OS release cycle (first two years) I have to take the following steps:

1) Latest quarterly release if it exists.
2) Serch the patch database for sd/ux network and i/o patches, build a depot and install it.
3) put a proper nsswitch.conf file into production and restart the box.
4) Look at /var/adm/syslog/syslog.log for further clues to the problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Nobody's Hero
Valued Contributor

Re: Telnet / SSH Connection is Badly Slow

Actually I think the patch I used was PHNE_28841. Use the associated patch for your version.

Also check to make sure your domain is correct, resolv.conf.
UNIX IS GOOD
Ranjith_5
Honored Contributor

Re: Telnet / SSH Connection is Badly Slow

Hi All,

Thanks for the responses.

I am waiting for the swlist command to give some output. Seems it ill take another 5 more mins!!! I shall post the result in my next post.

resolv.conf is present and nsswitch.conf is not present in the system

dmesg and syslog showing no problem.

Regards,
Syam
Ranjith_5
Honored Contributor

Re: Telnet / SSH Connection is Badly Slow

Hi Buddies..,

I could do something now.

I did..

cp -rp /etc/nsswitch.files /etc/nsswitch.conf


Thats alllllllll

Now it working fine.

Thanks to all.

Regards,
Syam
Ranjith_5
Honored Contributor

Re: Telnet / SSH Connection is Badly Slow

Steve,

Thanks you..You could tell me where to look at.

Regards,
Syam
Ranjith_5
Honored Contributor

Re: Telnet / SSH Connection is Badly Slow

Steve..Let me assign u some more pts ..

reply back pls.

Regards,
Syam
Ranjith_5
Honored Contributor

Re: Telnet / SSH Connection is Badly Slow

Steve Steel pls reply.

regards,
Syam
Eric Antunes
Honored Contributor

Re: Telnet / SSH Connection is Badly Slow

Hi Syam,

Start a new thread with his name on the subject... :)

Regards,

Eric Antunes
Each and every day is a good day to learn.