Network and netstat are broken

From: Jim Winkle (jwinkle@doit.wisc.edu)
Date: Tue Jul 23 2002 - 15:27:01 EDT


I'm doing some work on someone else's Solaris 7 workstation, and their
network is broken. The symptoms are that:
    1) it can't talk to the outside world and the outside world can't talk to it
    2) running netstat by a mortal user yields (netstat runs fine by root):
          ip open: Permission denied
         can't open mib stream: Bad file number
I'm assuming that if I solve (2), (1) will get better.

Here's an 'ls -l' of relevant files. The dates and file sizes are missing
to protect the innocent (actually because I didn't write them down):

-r-xr-sr-x 1 bin sys ----- date /bin/netstat

lrwxrwxrwx 1 root other -- date /dev/ip -> ../devices/pseudo/clone@0:ip
crw-rw---- 1 root sys 11, 3 date /devices/pseudo/clone@0:ip

lrwxrwxrwx 1 root other -- date /dev/tcp -> ../devices/pseudo/clone@0:tcp
crw-rw-rw- 1 root sys 11, 42 date /devices/pseudo/clone@0:tcp

lrwxrwxrwx 1 root other -- date /dev/udp -> ../devices/pseudo/clone@0:udp
crw-rw-rw- 1 root sys 11, 41 date /devices/pseudo/clone@0:udp

I noticed that the major device numbers (3, 42, 41) on my working Solaris 8
are the same as the minor numbers on their broken Solaris 7 for the three
/devices... coincidence?

I searched the archives and yahoogroups, and found several other folks who
had similar problems in the past and wrote to them; most had problems with
the ownership or permission bits, which look OK here. All the standard
networking files look fine, too.

This is on a low-end Ultra (1 or 2, I think).

--
Jim Winkle, UNIX System Administrator, UW-Madison, DoIT. Contact info:
BioComp: help@biocomp.doit.wisc.edu http://www-biocomp.doit.wisc.edu/
Other:   jwinkle@doit.wisc.edu      http://jwinkle.doit.wisc.edu/
Or use 264-HELP for help with services, 262-9507 to reach me directly.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:38 EDT