- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: telnetd deamon issue
Operating System - HP-UX
1753437
Members
4961
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО03-06-2008 10:38 PM
тАО03-06-2008 10:38 PM
telnetd deamon issue
Hi,
One of our HP-UX Server (rx6600-ia64) is having problem with the telnetd daemon.If We try to do telnet from a different machine We get the follwing error. Can you please help on it.
Escape character is '^]'.
Local flow control off
telnetd: Telnet device drivers missing: No such device Connection closed by foreign host.
We have seen that there are around 40-50 telnetd daemons are running with owner root . Once we kill all of them and start the inetd daemon then it starts working. We would like to know why so many telnetd daemons are running and what is root cause of this problem.
Thanks in advance
One of our HP-UX Server (rx6600-ia64) is having problem with the telnetd daemon.If We try to do telnet from a different machine We get the follwing error. Can you please help on it.
Escape character is '^]'.
Local flow control off
telnetd: Telnet device drivers missing: No such device Connection closed by foreign host.
We have seen that there are around 40-50 telnetd daemons are running with owner root . Once we kill all of them and start the inetd daemon then it starts working. We would like to know why so many telnetd daemons are running and what is root cause of this problem.
Thanks in advance
- Tags:
- telnetd
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2008 10:51 PM
тАО03-06-2008 10:51 PM
Re: telnetd deamon issue
Hi,
try to increase kernel parameters npty and nstrpty (via SAM) and create corresponding devices with insf.
For example:
# insf -e -n 120 -s 120
try to increase kernel parameters npty and nstrpty (via SAM) and create corresponding devices with insf.
For example:
# insf -e -n 120 -s 120
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2008 11:18 PM
тАО03-06-2008 11:18 PM
Re: telnetd deamon issue
Hello,
A search of this Forum will reveal several
possibilities. This was discussed on many
occasions.
a) Corruption of devices.
Firstly, do some sanity checks. Telnet
requires two drivers to be installed
in the kernel: a master telm and as many
slave tels as are required by the
number of telnet connections.
In addition, at the file system level, telm
requires one device file - /dev/telnetm.
tels requires an nstrtel number of device
files in /dev/pts/t*
Each inbound telnet connection takes one
nstrtel kernel entry and one tels(7)
device file. The kernel entry and device
file should be released when the
telnet connection is closed.
Here is an example of telnet drivers and
device files:
# lsdev | grep tel
Character Block Driver Class
58 -1 telm strtels
61 -1 tels strtelm
Check the master driver's device file:
# ll /dev/telnetm
crw-rw-rw- 1 root sys 72 0x00003d Jan 27 2006 /dev/telnetm
# lsdev | grep 72
72 -1 clone pseudo
# lssf /dev/telnetm
streams cloneable pseudo driver telm /dev/telnetm
How many tels devices are available?
# ll /dev/pts/t* | wc -l
60
Possible solution at the console (do not log
in via standard remote session!):
# cd /
# rm /dev/pty/*
# rm /dev/pts/*
# insf -e
# cd /dev
# insf -d telm
# insf -d tels
b) Insufficient kernel parameters:
npty
nstrpty
nstrtel
c) For some HP-UX versions - missing patches.
For HP-UX 11.23 PA-RISC, patch HNE_35770 is
recommended.
At a quick glance, I did not see similar
patch for Integrity platforms.
Cheers,
VK2COT
A search of this Forum will reveal several
possibilities. This was discussed on many
occasions.
a) Corruption of devices.
Firstly, do some sanity checks. Telnet
requires two drivers to be installed
in the kernel: a master telm and as many
slave tels as are required by the
number of telnet connections.
In addition, at the file system level, telm
requires one device file - /dev/telnetm.
tels requires an nstrtel number of device
files in /dev/pts/t*
Each inbound telnet connection takes one
nstrtel kernel entry and one tels(7)
device file. The kernel entry and device
file should be released when the
telnet connection is closed.
Here is an example of telnet drivers and
device files:
# lsdev | grep tel
Character Block Driver Class
58 -1 telm strtels
61 -1 tels strtelm
Check the master driver's device file:
# ll /dev/telnetm
crw-rw-rw- 1 root sys 72 0x00003d Jan 27 2006 /dev/telnetm
# lsdev | grep 72
72 -1 clone pseudo
# lssf /dev/telnetm
streams cloneable pseudo driver telm /dev/telnetm
How many tels devices are available?
# ll /dev/pts/t* | wc -l
60
Possible solution at the console (do not log
in via standard remote session!):
# cd /
# rm /dev/pty/*
# rm /dev/pts/*
# insf -e
# cd /dev
# insf -d telm
# insf -d tels
b) Insufficient kernel parameters:
npty
nstrpty
nstrtel
c) For some HP-UX versions - missing patches.
For HP-UX 11.23 PA-RISC, patch HNE_35770 is
recommended.
At a quick glance, I did not see similar
patch for Integrity platforms.
Cheers,
VK2COT
VK2COT - Dusan Baljevic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 06:10 PM
тАО03-07-2008 06:10 PM
Re: telnetd deamon issue
As replied over other replies, run "insf -e" to recreate DSFs should solve the telnet problem. But you may be left with some stale DSFs, which you need to identify and remove manually.
Sometimes these issues are reported when panic/TOC is involved. For 11.31 install the following patches to avoid this happing in such situations.
--vishwas
-
11.31 ioscan(1M) cumulative patch PHCO_37479
11.31 ioinit(1M) cumulative patch PHCO_37481
11.31 ioinitrc cumulative patch PHCO_37482
11.31 mksf(1M) cumulative patch PHCO_37484
11.31 sfd patch PHCO_37485
11.31 GIO cumulative patch PHKL_37458
11.31 dev_config cumulative patch PHKL_37459
Sometimes these issues are reported when panic/TOC is involved. For 11.31 install the following patches to avoid this happing in such situations.
--vishwas
-
11.31 ioscan(1M) cumulative patch PHCO_37479
11.31 ioinit(1M) cumulative patch PHCO_37481
11.31 ioinitrc cumulative patch PHCO_37482
11.31 mksf(1M) cumulative patch PHCO_37484
11.31 sfd patch PHCO_37485
11.31 GIO cumulative patch PHKL_37458
11.31 dev_config cumulative patch PHKL_37459
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP