- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Telnet service 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
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-28-2009 08:08 AM
07-28-2009 08:08 AM
1. In /etc/services file, line exists:
telnet 23/tcp #Virtual Terminal
2. In /etc/inetd.conf file, line exists:
telnet stream tcp nowait root /usr/lbin/tcpd /usr/lbin/telnetd telnetd
3. I typed: /etc/inetd -c
4. When I typed: netstat -an | grep LISTEN | grep 23
nothing displayed.
It should have "tcp 0 0 *.23 *.* LISTEN" returned.
Any one know what did I wrong? Thank you!
Jess
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 08:37 AM
07-28-2009 08:37 AM
Re: Telnet service not working
Posted an HP-UX issue in the OpenVMS forum.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 08:41 AM
07-28-2009 08:41 AM
Re: Telnet service not working
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 08:42 AM
07-28-2009 08:42 AM
Re: Telnet service not working
You mean other than asking an HP-UX question
in a VMS forum?
> [...] telnet service is not working.
Did you actually try it? What happened?
> telnet stream tcp nowait root /usr/lbin/tcpd /usr/lbin/telnetd telnetd
Around here:
dy # grep telnet /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
What's "/usr/lbin/tcpd"?
> It should have [...]
Yup:
dy # 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
07-28-2009 08:46 AM
07-28-2009 08:46 AM
Re: Telnet service not working
Next time:
http://forums.itrc.hp.com/service/forums/familyhome.do?familyId=117
Some alert moderator will probably move it
eventually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 08:50 AM
07-28-2009 08:50 AM
Re: Telnet service not working
netstat -an | grep LISTEN | grep '.23 '
nothing happen. No return at all.
telnet/tcp service unknown.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 08:59 AM
07-28-2009 08:59 AM
Re: Telnet service not working
> [...]
Yeah, I got that. I was wondering whether
you had actually tried a "telnet" command.
> telnet/tcp service unknown.
Huh?
Around here, copy+paste makes it very easy to
show actual commands with their actual
output. My psychic powers are too weak to
tell me how you got that.
> What's "/usr/lbin/tcpd"?
Still wondering...
Did you look at the difference between your
/etc/inetd.conf and mine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 09:05 AM
07-28-2009 09:05 AM
Re: Telnet service not working
where is your /etc/inetd.conf ?
Thanks.
Jes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 09:10 AM
07-28-2009 09:10 AM
Re: Telnet service not working
So why did you specify it in your
/etc/inetd.conf file?
> Might be the problem?
Duh, may be.
> where is your /etc/inetd.conf ?
On my disk. Where's yours? Did you read
any of those replies?
> Jul 28, 2009 16:42:54 GMT
> [...]
> Around here:
>
> dy # grep telnet /etc/inetd.conf
> telnet stream tcp nowait root /usr/lbin/telnetd telnetd
> [...]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 09:11 AM
07-28-2009 09:11 AM
Re: Telnet service not working
Have you checked your syslog (/var/adm/syslog/syslog.log) file after you did the 'inetd -c' command? If inetd doesn't like your telnet configuration, you might find some clues there.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 09:15 AM
07-28-2009 09:15 AM
Re: Telnet service not working
telnet stream tcp nowait root /usr/lbin/tcpd /usr/lbin/telnetd telnetd
if /usr/lbin/tcpd does not exist, that might be the problem. I will copy one from anothe HP box and test.
syslog message: telnet/tcp service unknown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 09:19 AM
07-28-2009 09:19 AM
Re: Telnet service not working
If you can't find one, let me know, and I'll
show you mine again (and again, ...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 09:34 AM
07-28-2009 09:34 AM
Re: Telnet service not working
and ftp, rlogin... not working. Ping and NFS work.
some patch missing? Thanks!
Jessica
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 09:39 AM
07-28-2009 09:39 AM
Re: Telnet service not working
tail -f /var/adm/syslog/syslog.log
go to another system and telnet to this system. At this point, do you see anything coming to the syslog ? There should be some words written into the syslog and to your screen at the same time, regarding a telnet connection attempt. If you are not getting these notifications, I would suspect your firewall blocking the request from coming to your server. If this is the case, talk to your network or firewall administrators.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 09:45 AM
07-28-2009 09:45 AM
Re: Telnet service not working
I got "services unknown"
No firewall blocked at all. It is within the company. My system adminstrator checked it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 09:53 AM
07-28-2009 09:53 AM
Re: Telnet service not working
Sorry. I assumed that you'd be copying the
right line to put into your /etc/inetd file,
not the file you didn't need and shouldn't
have been specifying there.
At the risk of repeating myself (yet again):
> Did you look at the difference between your
> /etc/inetd.conf and mine?
> Jul 28, 2009 16:42:54 GMT
> [...]
> Around here:
>
> dy # grep telnet /etc/inetd.conf
> telnet stream tcp nowait root /usr/lbin/telnetd telnetd
> [...]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 10:04 AM
07-28-2009 10:04 AM
Re: Telnet service not working
# grep telnet /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
which is exactly the same as yours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 10:08 AM
07-28-2009 10:08 AM
Re: Telnet service not working
grep telnet /etc/services
telnet 23/tcp #Virtual Terminal Protocol
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 10:11 AM
07-28-2009 10:11 AM
Re: Telnet service not working
> telnet stream tcp nowait root /usr/lbin/tcpd /usr/lbin/telnetd telnetd
> on my box,
> # grep telnet /etc/inetd.conf
> telnet stream tcp nowait root /usr/lbin/telnetd telnetd
>
> which is exactly the same as yours.
Did it change? If so, did you repeat step 3
("3. I typed: /etc/inetd -c") after the
change?
And if it didn't change, what's the story?
I'm confused.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 10:15 AM
07-28-2009 10:15 AM
Re: Telnet service not working
I'll say. Especially, given this:
> Jul 28, 2009 16:08:53 GMT
> [...]
> 1. In /etc/services file, line exists:
> telnet 23/tcp #Virtual Terminal
> I wouldn't think that would stop it,
I wouldn't, either.
> but
> who knows?
Someone who's tried it might.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 10:23 AM
07-28-2009 10:23 AM
Re: Telnet service not working
2. In /etc/inetd.conf file, line exists:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 10:25 AM
07-28-2009 10:25 AM
Re: Telnet service not working
ping and NFS work.
strange!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 10:52 AM
07-28-2009 10:52 AM
Re: Telnet service not working
>I got "services unknown"
do you see services unknown in the syslog file when you try to telnet from another box ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 11:11 AM
07-28-2009 11:11 AM
Re: Telnet service not working
1. cp /etc/nsswitch.nis /etc/nsswitch.conf
2. vi /etc/nsswitch.conf
3. remove all lines, but line:
services files
4. inetd -c
Thanks for eveyone's help.
Jessica
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 12:42 PM
07-28-2009 12:42 PM
SolutionI don't recall anyone mentioning that NIS was
in use.
> Any one know what did I wrong?
Only the more powerful psychics knew what you
did, let alone what you did wrong.
> I fixed it by the following steps:
> [...]
Some people merge the "services" data from
all their NIS client systems into the master
NIS "services" source file. Unless there's
a conflict (unlikely, I'd guess, but I also
don't know where you use NIS), that method
obviates problems like this.