- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Strange Telnet Problem
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
11-03-2003 02:51 AM
11-03-2003 02:51 AM
I'm running HP-UX 11.00 configured with ssh and regular inet services. When I reboot the server I am unble to telnet or ftp for an hour or so. I can connect through ssh immediately.
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 02:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 03:03 AM
11-03-2003 03:03 AM
Re: Strange Telnet Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 03:16 AM
11-03-2003 03:16 AM
Re: Strange Telnet Problem
Is the dns working perfectly.
Does ping returns fast. Do nslookup works better?
Try logging the ftpd daemon. Add -l in /etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -lv
Check the time delay between when the line appears in /var/adm/syslog/syslog.log and the ftp client actually gets a session.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 03:26 AM
11-03-2003 03:26 AM
Re: Strange Telnet Problem
nslookup 1.2.3.4
(where 1.2.3.4 is your PCs address) on the server. The server wil try to verify your PC's address through your current resolver. This is one of the reasons why having files, then dns in /etc/nsswitch.conf is preferred. If you can fix long delays or DNS issues by simply adding the name+IP to /etc/hosts, then your DNS folks have work to do. Note also that delays can be caused by the DNS server(s) not knowing their own name. nslookup will report this on the first couple of lines of output. Again, fixaable by putting the DNS server(s) name/IP addres in /etc/hosts. The hosts entry in /etc/nsswitch.conf should be:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
Put only a handful of stable (production machines) systems in /etc/hosts (and of course, the server's own name, localhost and the DNS server names).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 03:45 AM
11-03-2003 03:45 AM
Re: Strange Telnet Problem
I've also tried telneting to the localhost and it hangs.
After the server is running for a half hour or more then everything is fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 03:56 AM
11-03-2003 03:56 AM
Re: Strange Telnet Problem
Is the system heavily loaded, so it takes this much time to get itself ready?
Did you monitor swap usage? If you have glance try running it. Try to monitor the system for the first half hour from console/webconsole.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 04:09 AM
11-03-2003 04:09 AM
Re: Strange Telnet Problem
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 04:21 AM
11-03-2003 04:21 AM
Re: Strange Telnet Problem
also, this may not solve the problem, but may help you find it. I might stop/start the inetd daemon from the console as well, just to check from there...see if that will allow you to telnet right away.
I would also look at your startup file, under /sbin/init.d/inetd.
In addition, I would check if you are able to rlogin to it or rcp from another box.
I also would suggest looking at a telnet patch. have you patched recently?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 05:06 AM
11-03-2003 05:06 AM
Re: Strange Telnet Problem
NIC:
there is only only NIC assigned and netstat -r does return a route for localhost and 127.0.0.1. the gateways are correct.
Todd,
The problem has been present for several months. I was just made aware of it after a hardware failure, so I'm not sure.
I will try restarting the inetd and rlogin on the next reboot.
I did apply patches this morning:
PHCO_23651
PHCO_27370
PHKL_18543
PHKL_20016
PHKL_23409
PHKL_29434
PHNE_14820
PHNE_26096
PHNE_27821
PHNE_27902
PHNE_28143
PHKL_28150
PHCO_21187
PHCO_23791
PHCO_24542
PHKL_22840
PHKL_27980
PHKL_28766
PHNE_26771
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 06:41 AM
11-03-2003 06:41 AM
Re: Strange Telnet Problem
netstat -an |grep 23
show it listening on TCP port 23? (Telnet)
netstat -an |grep 21
show it listening on TCP port 21? (FTP)
does
nslookup nameofaclient
come back with an IP address? Is it correct?
Does
nslookup nameofserver
work?
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 04:37 AM
11-04-2003 04:37 AM
Re: Strange Telnet Problem
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 05:10 AM
11-04-2003 05:10 AM
Re: Strange Telnet Problem
Telnet and ftp does a reverse lookup. The delay seems to be bacause of some trouble that you may be having on the system while it is trying to do a reverse lookup.
do nslookup when you are having the problem.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 06:50 AM
11-04-2003 06:50 AM
Re: Strange Telnet Problem
Does this get solved? I am eager to know the solution.
Can you please post a summary.
cheers
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 01:05 AM
11-10-2003 01:05 AM
Re: Strange Telnet Problem
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 01:11 AM
11-10-2003 01:11 AM
Re: Strange Telnet Problem
I'm still trying to correct problem. Haven't been able to reboot server. I've tried all the suggestions except for Reverse DNS solution. Unfortunately, none of the others worked. I'll be rebooting server tomorrow AM and will test Reverse DNS.
thanks for all the assitance,
Troy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 01:15 AM
11-10-2003 01:15 AM
Re: Strange Telnet Problem
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 05:05 AM
11-10-2003 05:05 AM
Re: Strange Telnet Problem
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
then put the hostnames+IPaddrs of the problem systems into /etc/hosts. Now nslookup (and nsquery) will demonstrate forward and reverse lookups. You'll find nsquery more useful than nslookup for these types of problems as you can test the behavior of different nsswitch.conf options on the command line.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 05:07 AM
11-10-2003 05:07 AM
Re: Strange Telnet Problem
try telnet by mentioning ip addresses rather using hostname. If it works it might be name resolution issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 06:24 AM
11-10-2003 06:24 AM
Re: Strange Telnet Problem
I only experience problems for an hour after a reboot. Initially, I can't telnet or ftp to the localhost from the console or from exterior hosts. I can telnet/ftp from the console to other hosts in our network with no problems. I did check DNS and I can resolve hostname via IP and name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 08:55 AM
11-10-2003 08:55 AM
Re: Strange Telnet Problem
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 09:15 AM
11-10-2003 09:15 AM
Re: Strange Telnet Problem
1. Maybe there is something funky happening on the switch your server is connected to? If you have the opportunity, disconnect your server from the network, reboot and try telnetting to it using a cross-over cable and a laptop with a network card installed. If the hang issue still happens, then you know it's your server causing the problem.
2. Are you setting any ndd parameters on boot? Check your /etc/rc.config.d/nddconf file. If you are, what parameters are you modifying?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 07:12 AM
11-13-2003 07:12 AM
Re: Strange Telnet Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 07:37 AM
11-13-2003 07:37 AM
Re: Strange Telnet Problem
See if you can connect with ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 07:42 AM
11-13-2003 07:42 AM