- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tcp/telnet: unknown service (telnet problem)
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
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
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
тАО08-20-2007 11:46 PM
тАО08-20-2007 11:46 PM
I have installed HP-UX 11.11 and i am not able to do telnet to this machine.
when i run telnet i am getting the error message:-
telnet tcp/telnet: unknown service
i am getting the similar error even for ftp.
I have entries of telnet in /etc/services and /etc/inetd.conf.
I can ping by hostname and ipaddress, but not telnet localhost.
Please suggest.
thanks
JK
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 11:54 PM
тАО08-20-2007 11:54 PM
Re: tcp/telnet: unknown service (telnet problem)
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01004664-1
if the link does not work, here is the content
PROBLEM
The system would not accept any new rlogin sessions, testing showed telnet and
ftp also failed with the same error of unknown service being shown in
syslog.log.
CONFIGURATION
Unix 11.0
RESOLUTION
The problem was casued by a corruption in the /etc/nsswitch.conf file.
This file had an entry for the /etc/services file which was corrupt, replacing
the nsswitch.conf file with a new copy resolved the problem. There are several
sample copies of the nsswitch.conf file provided on hpux 11.0 systems.
There is a man page, "man switch" which describes the function of the file
nsswitch.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:21 AM
тАО08-21-2007 12:21 AM
Re: tcp/telnet: unknown service (telnet problem)
I have tried replacing the nsswitch.conf file.
Now when i try telnet, i am getting error:-
telnet: unable to connect to remote host: connection refused.
Please suggest.
thanks,
JK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:22 AM
тАО08-21-2007 12:22 AM
Re: tcp/telnet: unknown service (telnet problem)
telnet 127.0.0.1
and paste content of nsswitch file.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:33 AM
тАО08-21-2007 12:33 AM
Re: tcp/telnet: unknown service (telnet problem)
Here is the nsswitch.conf file
# cat nsswitch.conf
passwd: compat
group: compat
hosts: files [NOTFOUND=return] dns
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
#services: nis [NOTFOUND=return] files
thanks,
JK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:34 AM
тАО08-21-2007 12:34 AM
Re: tcp/telnet: unknown service (telnet problem)
Here is the nsswitch.conf file
# cat nsswitch.conf
passwd: compat
group: compat
hosts: files [NOTFOUND=continue] dns
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
#services: nis [NOTFOUND=return] files
thanks,
JK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:35 AM
тАО08-21-2007 12:35 AM
Re: tcp/telnet: unknown service (telnet problem)
grep telnet /etc/inetd.conf
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:46 AM
тАО08-21-2007 12:46 AM
Re: tcp/telnet: unknown service (telnet problem)
# grep telnetd /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
thanks,
JK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:49 AM
тАО08-21-2007 12:49 AM
Re: tcp/telnet: unknown service (telnet problem)
-r-xr--r-- 1 bin bin 94208 Sep 16 2002 /usr/lbin/telnetd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:52 AM
тАО08-21-2007 12:52 AM
Re: tcp/telnet: unknown service (telnet problem)
#services: nis [NOTFOUND=return] files
uncomment it and try again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:54 AM
тАО08-21-2007 12:54 AM
Re: tcp/telnet: unknown service (telnet problem)
# ls -l /usr/lbin/telnetd
-r-xr--r-- 1 bin bin 94208 Mar 27 2002 /usr/lbin/telnetd
thanks,
JK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:59 AM
тАО08-21-2007 12:59 AM
Re: tcp/telnet: unknown service (telnet problem)
Thanks a lot..
JK