- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Telnet is taking long time to connect
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
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
тАО04-20-2006 05:26 AM
тАО04-20-2006 05:26 AM
Telnet is taking long time to connect
When i issue telnet hostname it could take more than 3 mins. to prompt for the login and password.
My server is a RP3440, with UX 11.11, PHNE_30695
Ping to the server by hostname and ip_addr works fine, also ssh connections.
Any help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 05:31 AM
тАО04-20-2006 05:31 AM
Re: Telnet is taking long time to connect
This sounds like a DNS reverse-name lookup delay. Try adding your PC's IPaddress to the HP server's '/etc/hosts' file. Then telnet to your HP server again. If the delay vanishes it's the issue I suggested. In that case, make sure that your DNS configuration includes all pointers.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 05:40 AM
тАО04-20-2006 05:40 AM
Re: Telnet is taking long time to connect
The server I'm trying to connect is already added to other server's /etc/hosts file, I think I'm not using DNS, could it be misconfigured? How can i verify this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 06:03 AM
тАО04-20-2006 06:03 AM
Re: Telnet is taking long time to connect
Make sure you /etc/nsswitch.conf file is configured to use files first, not dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 06:28 AM
тАО04-20-2006 06:28 AM
Re: Telnet is taking long time to connect
dmesg? dmesg -
bdf ?
Check if any NFS mount is messed up.. many times it's issue.. !
Or any errors related to network?
Thanks and regards
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 07:43 AM
тАО04-20-2006 07:43 AM
Re: Telnet is taking long time to connect
I renamed or moved the nsswitch.conf file 'cause I'm not using it, after that ssh works better, about DCE everythin it's ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 08:34 AM
тАО04-20-2006 08:34 AM
Re: Telnet is taking long time to connect
and make sure this is set, by default is yes:
UseDNS no
Restarting the daemon (/sbin/init.d/secsh) should activate the changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 08:49 AM
тАО04-20-2006 08:49 AM
Re: Telnet is taking long time to connect
ssh is working well.
Let me try to explain myself better:
I have 3 servers. src_server (the one with the telnet problem), server_1 & server_2.
All the round robin ssh connections works fine.
server_1 telnets src_server ==> prompts for login after several mins.
server_2 behaves the same.
server_1 telnets server_2 ==> OK!
src_server telnets server_1 or server_2 ==OK
src_server telnets to itself ==> prompts for login after several mins.
Any help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 08:57 AM
тАО04-20-2006 08:57 AM
Re: Telnet is taking long time to connect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 08:59 AM
тАО04-20-2006 08:59 AM
Re: Telnet is taking long time to connect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 08:59 AM
тАО04-20-2006 08:59 AM
Re: Telnet is taking long time to connect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 09:03 AM
тАО04-20-2006 09:03 AM
Re: Telnet is taking long time to connect
Are they all in the same subnet? Does telnet from src_server to src_server work normally?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 09:13 AM
тАО04-20-2006 09:13 AM
Re: Telnet is taking long time to connect
The following two links are about the same issues you seem to be having.
The first addresses/explains the issues with resolv.conf, nsswitch.conf and /etc/hosts
The second details how the problem was corrected by installing a newer version of ssh
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=824370
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=971375
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 09:15 AM
тАО04-20-2006 09:15 AM
Re: Telnet is taking long time to connect
telnet from src_srv to src_srv takes long time to reply.
ssh from src_srv to src_srv work perfect.
The other things yo ask me i don't know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 09:20 AM
тАО04-20-2006 09:20 AM
Re: Telnet is taking long time to connect
SSH AGAIN WORKS OK!
I renamed the resolv.conf and nsswitch.conf files, the same did at srv_1 and srv_1 connect well to all servers except src_srv.
More ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 09:20 AM
тАО04-20-2006 09:20 AM
Re: Telnet is taking long time to connect
hosts: files dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return] files [NOTFOUND=continue UNAVAIL=continue]
If you do a ping src_server (from src_server) does that work without delays?
Can you run these:
#netstat -in
#ipfstat -io
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 10:19 AM
тАО04-20-2006 10:19 AM
Re: Telnet is taking long time to connect
ping from src_srv to src_srv work quickly.
The output of netstat is:
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 172.16.147.0 172.16.147.30 446562 2660 623343 0 75166
lo0 4136 127.0.0.0 127.0.0.1 2841 0 2841 0 0
where 172.16.147.30 is the src_srv ip_address
I don't have ipfstat
I try with the nsswitch.conf file, at "hosts" line "file" appears only once at the beginning.
What else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2006 11:12 AM
тАО04-20-2006 11:12 AM
Re: Telnet is taking long time to connect
#telnet localhost
Does it work normally?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2006 05:37 AM
тАО04-21-2006 05:37 AM
Re: Telnet is taking long time to connect
It also takes a long time to prompt for login.
But if at src_srv i ping for src_srv it answers inmediatly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2006 06:00 AM
тАО04-21-2006 06:00 AM
Re: Telnet is taking long time to connect
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
Also this must exist in /etc/services:
telnet 23/tcp
If they do exist try this:
1. edit /etc/inetd.conf and comment out the telnet line
2. save the file
3. run #inetd -c
4. do a netstat and check if your port 23 is open
5. eventually try a #telnet localhost on that machine, you will get a prompt response: "telnet: Unable to connect to remote host: Connection refused"
6. if there is no other 23 open then there is no port "conflict" you can edit the /etc/inetd.conf back and uncomment the telnet line
7. run #inetd -c to activate the changes
8. try again telneting to the machine, use its IP address instead of name just to be sure
james