- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ping - icmp: unkown protocol
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
09-17-2001 01:06 AM
09-17-2001 01:06 AM
ping - icmp: unkown protocol
i have a problem with a ws. While i try to remote login by telnet i have this error:
Trying...
telnet: Unable to connect to remote host: Connection refused.
When the user (logged in as root) try to ping from that ws (locally) to another he has this error:
at the beginning it doesn't ping, then it have this error:
icmp: unkown protocol
The problem is that the ws is far from me, in another town, so i have to work remotely and to tell the user by phone how to proceed.
Thanks for your help.
Tarek
- Tags:
- ping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 01:14 AM
09-17-2001 01:14 AM
Re: ping - icmp: unkown protocol
/etc/inetd.conf and /etc/services should have service telnet port defined 23
You may want to try restarting network services and rereading the inetd.conf file.. inetd -c and /sbin/init.d/net stop
and start.
You might have the solution in your syslog if you take a look there.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 01:51 AM
09-17-2001 01:51 AM
Re: ping - icmp: unkown protocol
This is my entry in /etc/protocols
ip 0 IP
icmp 1 ICMP
igmp 2 IGMP
ggp 3 GGP
tcp 6 TCP
egp 8 EGP
pup 12 PUP
udp 17 UDP
hmp 20 HMP
xns-idp 22 XNS-IDP
rdp 27 RDP
The entry in /etc/inetd.conf:
about ftp and telnet
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
The entry in /etc/services about telnet and ftp is:
ftp 21/tcp
telnet 23/tcp
I also issued those commands, stopping and restarting services but nothing changed, it's still giving me icmp: unknown protocol
something else?
Thanks very much.
Tarek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 01:59 AM
09-17-2001 01:59 AM
Re: ping - icmp: unkown protocol
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 01:59 AM
09-17-2001 01:59 AM
Re: ping - icmp: unkown protocol
Message errors:
ftp: ftp/tcp: unknown service
telnet: tcp/telnet: unknown service
rlogin: login/tcp: unknown service
What it could be??
Really thanks very much !!
Tarek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 02:08 AM
09-17-2001 02:08 AM
Re: ping - icmp: unkown protocol
Before this ws was in nis, but now it isn't.
So i modified the /etc/nsswitch.conf and /etc/namesvrs to unconfigure nis.
My entry in /etc/nsswitch.conf is:
hosts: files dns hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 02:11 AM
09-17-2001 02:11 AM
Re: ping - icmp: unkown protocol
Not clear on when you unconfigured the ws, but if you just did that, then you'd have to restart inetd using inetd -c. Also you don't need to have hosts in your nsswitch.conf file for host name resolution, i.e. the line should read:
hosts: files dns
and not
hosts: files dns hosts
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 02:16 AM
09-17-2001 02:16 AM
Re: ping - icmp: unkown protocol
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.
you can copy it also form the /usr/newconfig/etc
from what i look all this error that you are getting is from the nsswitch.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 02:23 AM
09-17-2001 02:23 AM
Re: ping - icmp: unkown protocol
Santosh you're right. I was fast typing and i wrote hosts, but there isn't that entry :)
I also made inetd -c.
After all these changes i made a reboot and now everything's ok. But i haven't understand why before all tcp protocols weren't working and after a simple reboot they worked. (I didn't change anything, even nsswitch.conf).
However everything's ok and all seems working.
Thanks again all for your kindly and precious help.
Regards
Tarek