- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Slow response telnet-ssh-ping
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 03:09 AM
тАО06-24-2010 03:09 AM
Slow response telnet-ssh-ping
test:/#timex ping localhost
PING localhost: 64 byte packets
64 bytes from 127.0.0.1: icmp_seq=0. time=0. ms
----localhost PING Statistics----
1 packets transmitted, 1 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
real 15.97
user 0.03
sys 0.02
It takes 15 seconds to start showing the first ping line and after that, it works right and show no delays. The same happens with telnet-ssh; they take about 20 seconds to show the prompt and the same time once I have entered the password.
I have looked for name resolution issues, but there is no problems:
test:/#timex nslookup localhost
Using /etc/hosts on: test
looking up FILES
Name: localhost
Address: 127.0.0.1
Aliases: loopback
real 0.04
user 0.01
sys 0.01
test:/#timex nslookup www.google.com
Using /etc/hosts on: test
looking up FILES
Trying DNS
Non-authoritative answer:
Name: www.l.google.com
Addresses: 209.85.229.104, 209.85.229.147, 209.85.229.99
Aliases: www.google.com
real 0.02
user 0.01
sys 0.01
test:/#
What could be happening?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 05:36 AM
тАО06-24-2010 05:36 AM
Re: Slow response telnet-ssh-ping
Also, confirm your gateway address because you may be sending it off so it is traveling more than it should to start with.
If you see you are hopping more than you should around routers (internally), then discuss this with your network person.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 05:44 AM
тАО06-24-2010 05:44 AM
Re: Slow response telnet-ssh-ping
> but there is no problems:
> [...]
Look harder? A Forum search for keywords
like, say:
slow telnet
should find many old threads which describe
the usual DNS problem in such cases, namely
that the server system can't look up the IP
address of the client to determine the
client's name. "nslookup
where you see this problem, it's with
"nslookup
What's in your "resolv.conf" file? "hosts"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 05:54 AM
тАО06-24-2010 05:54 AM
Re: Slow response telnet-ssh-ping
I have solved the problem. In console I saw lots of messages saying that "unable to bind to NIS server" (sth like that) and I have killed the ypbind process and changed the "NIS CLIENT" entry to 0 in "/etc/rc.config.d/namesrvs". Now there is no delay in ping-telnet-ssh. Many thanks for your effort !!
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 05:55 AM
тАО06-24-2010 05:55 AM
Re: Slow response telnet-ssh-ping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 05:59 AM
тАО06-24-2010 05:59 AM
Re: Slow response telnet-ssh-ping
You didn't mention your HP-UX version, but if it's 11.23 or 11.31, it might be because telnet, ssh and ping are all IPv6-aware in 11.23 and above.
That means they'll be using IPv6-compatible name resolution routines, which are configured in /etc/nsswitch.conf using the "ipnodes" line, not the traditional "hosts" line.
The "ipnodes" line also has a factory default of "DNS first, then /etc/hosts".
If the nslookup command is IPv4-only, it uses the "hosts" line in /etc/nsswitch.conf (or the factory default of looking in /etc/hosts first), so it cannot detect the problem.
The current recommendation is that every DNS server should map "localhost" to 127.0.0.1 and vice versa, but not all DNS admins follow that rule.
My suggestion would be: check your /etc/nsswitch.conf. If it does not have an "ipnodes: ..." line, make a copy of your "hosts: ..." line and change the copy to "ipnodes". If you're using 11.23, you can also change it using SAM (Networking and Communications -> Name Service Switch). I don't remember how to find it in 11.31's GUI tools, sorry.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 06:39 AM
тАО06-24-2010 06:39 AM
Re: Slow response telnet-ssh-ping
Oops. That the one I meant. (Brain ... old.)
> [...] "unable to bind to NIS server" [...]
Revealing the use of NIS is yet another
reason for showing what's in that file.