- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Could not connect server ..., thru 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
04-17-2002 02:06 AM
04-17-2002 02:06 AM
Could not connect server ..., thru telnet.
Following error comes while connecting server thru telnet ..,
any idea why ? and how to get rid of this.
Thanks & Regards
William
------------------
Trying...
Connected to hbxsun001.
Escape character is '^]'.
Local flow control off
telnetd: open /dev/ptmx: No such device
.
Connection closed by foreign host.
---------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 02:12 AM
04-17-2002 02:12 AM
Re: Could not connect server ..., thru telnet.
can anyone else use telnet ?.
what is the value of npty kernel parameter ?.
try increasing it.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 02:21 AM
04-17-2002 02:21 AM
Re: Could not connect server ..., thru telnet.
/dev/pty* are the device files created when users log onto servers (pseudo terminals)
do a man pty - for more info
THe problem seems to be with lack of terminal device files. Even though your npty,nstrtel values are 1200 (which should be normally sufficient), the telnets are failing occasionally. This points to lack of files in /dev/pty /dev/pts .
To check this : try
****
#cd /dev
#rm /dev/pts/*
#rm /dev/pty/*
#insf -e
#insf -d -s 1200 telm -v
#insf -d -s 1200 tels -v
#insf -d -s 1200 pty -v
***
Do these changes and see how the connections work. If you still have issues, then use
SAM to rebuild the kernel.
***
if your npty,nstrtel parameters are already 1200, there is no need to increase them further. Just increase the maxusers (about 25% from its existing value), this will automatically increase few related parameters.
Remake the kernel. The idea is ensure you have a good kernel file. This reboots the system
**
This should hopefully take care of the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 02:23 AM
04-17-2002 02:23 AM
Re: Could not connect server ..., thru telnet.
No one is able to connect ....
about npty parameter, i could not see this parameter in /etc/system file, shall i need to add ?? if so what is exact parameter name ?
Thanks & Regards
william
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 02:23 AM
04-17-2002 02:23 AM
Re: Could not connect server ..., thru telnet.
Firstly, what are you kernel params?
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 02:27 AM
04-17-2002 02:27 AM
Re: Could not connect server ..., thru telnet.
look for npty , npts .
#sysdef | grep npt*
this will let you know the kernel parameter values.
To increase that , use
#sam
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 02:32 AM
04-17-2002 02:32 AM
Re: Could not connect server ..., thru telnet.
If no one can log on. Go to the console
insf -e
This will create the device files
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 03:05 AM
04-17-2002 03:05 AM
Re: Could not connect server ..., thru telnet.
If you are on HP-UX 10.x
then there is a kernel paramete npty that controls how many rlogin, telnet and Xwindows running can be run at the same time. The default is 60.
For telnet at HP-UX 11.x the kernel parameter is nstrtel. the default is 60.
The parameters are not seen in the system file if they are set to default values. Use SAM to see and set these parameters.
Your problem seems to be that the device files for pseudo terminal devices are missing. From the message '/dev/ptmx' I guess that you are running HP-UX 10.x.
The insf -e command should fix the problem.
This may also be caused by having too many files open at the same time on the server. This is controlled by the nfile parameter. You can usage of this parameter with 'sar -v 1 1'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 03:15 AM
04-17-2002 03:15 AM
Re: Could not connect server ..., thru telnet.
I should have asked to do this first.
#ps -ef | grep ptydaemon
is ptydaemon running ?.
if not .
#/usr/sbin/ptydaemon
regards,
U.SivaKumar