SUMMARY: Solaris 8 traceroute: unknown protocol icmp

From: Luke Kanies (
Date: Mon Dec 04 2000 - 16:45:37 CST

Thanks to Hubert Chu for coming up with the solution so quickly:

This problem appeared in Solaris 2.6, so i'm not sure if it's the same
issue. The fix for Solaris 2.6 was to switch the placement of "files"
and "nisplus" in the protocols entry of /etc/nsswitch.conf.

Although I actually use ldap and not NIS+, the fix worked just the same.

The original question is below:

> I have a couple solaris 8 boxes, 10/00 version, and traceroute doesn't
> work on any of them. If I try to run it normally, it always fails:
> luke@testbed:~ % uname -a
> SunOS testbed 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-5_10
> luke@testbed:~ % traceroute
> traceroute: unknown protocol icmp
> luke@testbed:~ % traceroute -FFFF
> Usage: traceroute [-adFIlnSvx] [-A address_family] [-c traffic_class]
> [-f first_hop] [-g gateway [-g gateway ...]| -r] [-i iface]
> [-L flow_label] [-m max_hop] [-P pause_sec] [-p port] [-Q
> max_timeout]
> [-q nqueries] [-s src_addr] [-t tos] [-w wait_time] host
> [packetlen]
> luke@testbed:~ %
> As you can see, it is able to parse the command line correctly, it just
> can't actually do anything. I know at least one other person is having
> this problem.
> I have tried to find a specific patch in the 10/00 version which might
> have broken this, but (according to the man page) traceroute is part of
> the SUNWcsu package, and patchadd -p prints 51 lines related to SUNWcwu,
> so it looks like SUNWcsu is a pretty big package.
> Has anyone else run into this, and has anyone else found a fix for it?
> I even installed another version of traceroute, compiled for Solaris 7,
> and it gives the same problem, so it's probably a library issue.
> Any help would be greatly appreciated.

Luke A. Kanies  | I went to a restaurant that serves "breakfast at
System Engineer | anytime".  So I ordered French Toast during the
615/778-7268    | Renaissance.     -- Stephen Wright
pgr 888/415-1972|
sunmanagers mailing list

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:24 CDT