- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- telnet is not working
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
Discussions
Discussions
Forums
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
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
тАО02-10-2010 04:49 AM
тАО02-10-2010 04:49 AM
i am running HP-UX amdb01 B.11.23 U ia64 2321177401 unlimited-user license.
i am not able to telnet on it however i am able to ssh on it.
i have checked /etc/inetd.conf the entry is there and uncommented, i have also checked /etc/services its also fine.
when i am checking for ps -ef | grep telnetd there is no process.
please help me to get it done.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 05:08 AM
тАО02-10-2010 05:08 AM
Re: telnet is not working
To start telnetd from the Internet daemon, the configuration file
/etc/inetd.conf must contain an entry as follows:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
than run /usr/sbin/inetd -c
if still not working please send me the following output
/var/adm/syslog/syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 05:19 AM
тАО02-10-2010 05:19 AM
Re: telnet is not working
#netstat -an |grep LISTEN |grep 23
tcp 0 0 *.23 *.* LISTEN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 05:22 AM
тАО02-10-2010 05:22 AM
Re: telnet is not working
Feb 10 18:46:57 amdb01 inetd[1250]: Rereading configuration
Feb 10 18:46:57 amdb01 inetd[1250]: Configuration complete
Feb 10 18:42:09 amdb01 cimserver[2016]: PGS17200: Authentication failed for user root.
Feb 10 18:47:05 amdb01 above message repeats 3 times
Feb 10 18:47:07 amdb01 cimserver[2016]: PGS17200: Authentication failed for user root.
Feb 10 18:48:36 amdb01 telnetd[25060]: tcgetattr(TCGETA): Not a typewriter
Feb 10 18:48:36 amdb01 telnetd[25060]: ioctl(TCSANOW): I/O error
Feb 10 18:48:36 amdb01 vmunix: tunwrput(0): M_DATA for unconnected stream
Feb 10 18:47:09 amdb01 cimserver[2016]: PGS17200: Authentication failed for user root.
Feb 10 18:48:46 amdb01 telnetd[25118]: tcgetattr(TCGETA): Not a typewriter
Feb 10 18:48:46 amdb01 telnetd[25118]: ioctl(TCSANOW): I/O error
Feb 10 18:49:13 amdb01 telnetd[25340]: tcgetattr(TCGETA): Not a typewriter
Feb 10 18:49:13 amdb01 telnetd[25340]: ioctl(TCSANOW): I/O error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 05:24 AM
тАО02-10-2010 05:24 AM
Re: telnet is not working
If you said that you have choosed to run telnetd from inetd, there should be no telnetd process except for the period you actually have one telnet client connected. If you would set up telnetd as stand alone, you would always see that daemon running.
If you say that you did what it takes (regarding telnetd) in /etc/inetd.conf, then maybe you forgot to run a
/usr/sbin/inetd -c
in order to let inetd re-scan the configuration file and re-configure itself.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 05:31 AM
тАО02-10-2010 05:31 AM
Re: telnet is not working
amdb01#netstat -an |grep LISTEN |grep 23
tcp 0 0 *.2301 *.* LISTEN
tcp 0 0 *.23 *.* LISTEN
tcp 0 0 *.62308 *.* LISTEN
tcp 0 0 *.49239 *.* LISTEN
and /etc/inetd.conf also contain a entry as
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
then i have also ran /usr/sbin/inetd -c
stll i am not able to do telnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 05:49 AM
тАО02-10-2010 05:49 AM
Re: telnet is not working
Please check following:
# telnet 0
# lsdev | grep -i tel
# ll /dev/telnetm
# lssf /dev/telnetm
Telnet patch level.
You can compare above outputs with any working server.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 05:55 AM
тАО02-10-2010 05:55 AM
Re: telnet is not working
following is the output of all the commands
amdb01#telnet 0
Trying...
Connected to 0.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED option ON
HP-UX amdb01 B.11.23 U ia64 (ta)
Connection closed by foreign host.
amdb01#lsdev | grep -i tel
95 -1 tels strtels
96 -1 telm strtelm
amdb01#ll /dev/telnetm
crw-rw-rw- 1 root sys 72 0x000060 Feb 10 19:21 /dev/telnetm
amdb01#lssf /dev/telnetm
streams cloneable pseudo driver telm /dev/telnetm
still iam not able to telnet on to the system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 06:15 AM
тАО02-10-2010 06:15 AM
Re: telnet is not working
What do you get when you do:
# telnet
like Connected to..
You can also try to enable inetd logging and then check syslog.log:
# inetd -l
# tail -f /var/adm/syslog/syslog.log
Now telnet the server and see what fresh is logged in syslog.log
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 06:29 AM
тАО02-10-2010 06:29 AM
Re: telnet is not working
cd /etc
mv securetty securetty.old
and than try
Good luck