- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to telnet
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
Forums
Discussions
Discussions
Discussions
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
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-29-2005 04:06 AM
06-29-2005 04:06 AM
Unable to telnet
I am facing problems in connecting to a newly installed machine using telnet with hostname.It works fine with IP address within the same network.I have entered hostname in /etc/hosts and my /etc/nsswitch.conf says
"hosts: files".
With hostname it is taking 5-6 minutes to get the login prompt within the same network and from outside network it says "telnet: Unable to connect to remote host: Connection timed out".
I am able to connect to this host from outside network immediately after it is rebooted.If I logout and try once more it is not connecting timesout after sometime.
I am confused and dont have any clue how to continue,I need help from all of you gurus.
Siju Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 04:12 AM
06-29-2005 04:12 AM
Re: Unable to telnet
Also check for following ndd setting. It should be 0. Should be disabled.
ndd -get /dev/ip ip_ire_gw_probe.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 04:14 AM
06-29-2005 04:14 AM
Re: Unable to telnet
My first suggestion is, if you can, configure your server to use a dns server or 2 or 3 dns servers by modifying your /etc/resolv.conf and /etc/nsswitch.conf.
also, if dns is not an option, modify your nsswitch.conf as follows:
hosts: files [NOTFOUND=return]
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 04:17 AM
06-29-2005 04:17 AM
Re: Unable to telnet
yes,the hostname resolution is correct and the ndd setting is also 0.But does it matter within the same network???
Thanks
Siju Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 04:25 AM
06-29-2005 04:25 AM
Re: Unable to telnet
DNS is not an option.I have changed the nsswitch.conf entry but the situation has not improved.
Also I cant understand why I am able to telnet immediately after this host is rebooted.
Thanks
Siju Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 01:00 PM
06-29-2005 01:00 PM
Re: Unable to telnet
Try nslookup & traceroute commands for confirming the PATH & reason for dealy in the resolution.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 06:15 PM
06-29-2005 06:15 PM
Re: Unable to telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 08:29 PM
06-29-2005 08:29 PM
Re: Unable to telnet
Please see the following.The difference to do traceroute to the same host is too large
spexts1[root]:/root:>timex traceroute 194.35.246.158
traceroute to 194.35.246.158 (194.35.246.158), 30 hops max, 40 byte packets
1 papaloco (194.35.246.158) 0.423 ms 0.221 ms 0.189 ms
real 0.02
user 0.00
sys 0.01
spexts1[root]:/root:>timex traceroute papaloco
traceroute to papaloco (194.35.246.158), 30 hops max, 40 byte packets
1 papaloco (194.35.246.158) 0.404 ms 0.213 ms 0.188 ms
real 5:40.21
user 0.01
sys 0.02
nslookup completes succeesfully without any time delay.
Regards
Siju Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 08:54 PM
06-29-2005 08:54 PM
Re: Unable to telnet
When you are using telnet from remote system it checks it own hosts file or dns server for ip resoltuion. This problem may be with you dns server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 09:06 PM
06-29-2005 09:06 PM
Re: Unable to telnet
There is no DNS involved in this.Both machines are in same network itself.
Siju Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 01:08 AM
06-30-2005 01:08 AM
Re: Unable to telnet
Please put the hostname and IP address of the server in the remote machine from where you telne to the newly installed machine.
Please let me know the OS of your remot machine. If you have a nix box int he network, please try from there and let us know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 01:09 AM
06-30-2005 01:09 AM
Re: Unable to telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 01:16 AM
06-30-2005 01:16 AM
Re: Unable to telnet
The entries are already in place,It is reolving the hostname by nslookup also.
Siju Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 01:59 AM
06-30-2005 01:59 AM
Re: Unable to telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 02:00 AM
06-30-2005 02:00 AM
Re: Unable to telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 02:00 AM
06-30-2005 02:00 AM
Re: Unable to telnet
example;
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
100.169.67.69 100.169.67.69 UH 0 lan7 4136
100.169.67.0 100.169.67.69 U 2 lan7 1500
If these are missing it will use the default route to get to this network.
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 02:04 AM
06-30-2005 02:04 AM
Re: Unable to telnet
From papaloco it seems to be fast
papaloco[root]:/root:>timex traceroute spexts1
traceroute to spexts1 (194.35.246.155), 30 hops max, 40 byte packets
1 spexts1 (194.35.246.155) 0.457 ms 0.469 ms 0.283 ms
real 0.03
user 0.01
sys 0.02
papaloco[root]:/root:>timex traceroute 194.35.246.155
traceroute to 194.35.246.155 (194.35.246.155), 30 hops max, 40 byte packets
1 spexts1 (194.35.246.155) 0.485 ms 0.397 ms 0.308 ms
real 0.03
user 0.01
sys 0.02
Also there are entries for interface also
papaloco[root]:/root:>netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
194.35.246.158 194.35.246.158 UH 0 lan1 4136
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 03:53 AM
06-30-2005 03:53 AM
Re: Unable to telnet
on spexts1 run;
$ lanscan
Get the station address (MAC) for the interface for that network.
Then on papaloco run;
$ arp -a | grep spexts1 (or use -an and grep for the IP)
If the MAC addresses don't match you have another interface out there with the same MAC. Everything might work fine right after a reboot because the arp table is empty. At some point the rogue interface might respond and get itself into the arp table.
A slim chance I know, but it may be worth a look.
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 03:57 AM
06-30-2005 03:57 AM
Re: Unable to telnet
It matches the lanscan output.
Siju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2005 09:43 PM
07-04-2005 09:43 PM
Re: Unable to telnet
I am able to ftp with hostname without any delays,it gets connected instanmtly.Only telnet is having issues.Can somebody help???
Siju Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2005 02:54 AM
07-05-2005 02:54 AM
Re: Unable to telnet
Can you try the command inetd -c and try with telnet again ?
I prefer you to kill telned processes in the system and execute the command inetd -c.
Thanks
PVR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2005 11:47 PM
07-05-2005 11:47 PM
Re: Unable to telnet
run the command arp -a to check for arp cache entries.it will show if there are any duplicate entries.
check file /var/adm/inetd.sec for login and telnet allows entry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 12:47 AM
07-06-2005 12:47 AM
Re: Unable to telnet
So you have
... delay ...
But also try
and see if you get delay.
This may indicate the corruption of /etc/utmp and /etc/utmpx files. It's been fixed with the following patch
Patch Name: PHNE_28841
Patch Description: s700_800 11.11 telnet kernel, telnetd(1M), telnet(1) patch
However, after installing the patch you will need to zero out /etc/utmp and /etc/utmpx files (you can do this in single user mode).
Otherwise, your problem sounds remarkably like a name resolution issue. If you have /etc/resolv.conf verify that you have valid entries in there.
Check name resolution with nsquery for both name and IP.
Lastly, if someone configured duplicate IP on the network that conflicts with your server IP you would see relevant entries in the output of