- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: telnet connection
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
07-12-2001 09:48 AM
07-12-2001 09:48 AM
telnet connection
i'm having difficulty with doing a telnet connection to a remote box. I have checked all the knowledge base to no avail. i'm trying to telnet into a very old 735 with HPUX 11.0 on it and gives me "connection closed by foreign host" i can do rlogin and that works fine.
i have checked the services and the inetd.conf and all that seems to be fine. netstat works and telnet is listening.the only thing i haven't tried i think is applying patches and bouncing the box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2001 09:54 AM
07-12-2001 09:54 AM
Re: telnet connection
/etc/services and /etc/inetd.conf file should looks like this respectively.
telnet 23/tcp
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
then
/usr/sbin/inetd -c (to reread the new configuration)
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2001 10:05 AM
07-12-2001 10:05 AM
Re: telnet connection
Which version of HPUX 11.00 u use ?
We had a similar problem with installation of
May 99. We use now 11/99 without any problem.
Patches bundle XSWGR1100,r=B.11.00.47.08
install some patch for telnet and telnetd...
HTH
Herv?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2001 11:24 AM
07-12-2001 11:24 AM
Re: telnet connection
Do you have inetd.sec file in remote host..? Then probably you need to input the hostname in the file.
--USA--
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2001 11:53 AM
07-12-2001 11:53 AM
Re: telnet connection
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2001 11:54 AM
07-12-2001 11:54 AM
Re: telnet connection
Your error msg gave you specific info. It said you connected to the foreign (remote) server and that it closed the connection ! The fact that you mentioned you could rlogin shows that your /etc/passwd file is ok.
So....the problem could be a couple things at this point. Here's some things to try.
First:
Document Id : A5436800
You can find the root cause of the problem using the trace function
of inetd.
Start inetd with the -b option to enable debug mode. This command
will log errors to /var/adm/syslog/syslog.log. In the syslog file,
you will find the following error:
I_PLINK_DEV ioctl failed: Invalid argument
Checking telm and tels shows the following information:
lsdev | grep tel
75 -1 telm strtelm
76 -1 tels strtels
Notice the major number of 75/76.
Now do ll /dev/telnetm:
crw-rw-rw- 1 root sys 72 0x00004b Oct 26 07:44 /dev/telnetm
ll /dev/pts/t*
crw-rw-rw- 1 root root 76 0x000000 May 1416:21 /dev/pts/t0
The files should look similar; however, on the problem system they
are mismatched for major numbers on some of these device files,
specifically the tels(strtels) and pts/t* files.
To resolve the issue, run the following commands:
insf -d tels to create slave devices
insf -d telm to create master device
After running these commands, you will be able to telnet. The command
removes and then reinstalls the proper device files with correct major
numbers.
Second:
Here is an interesting thread from Patrick Wallek, that had a tip:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xaea953921f1ad5118fef0090279cd0f9,00.html
Third:
Make sure your ARPA patches are up to date on that server.....
Last:
Stop your inetd and then restart it....
Just few thoughts,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 08:21 AM
07-13-2001 08:21 AM
Re: telnet connection
i've tried all of the above. it seems like when i start my inetd, telnetd won't start.
any reasons why. i've checked all the conf files and it looks okay and the /etc/services file. in the process of applying patches
thanks