問題
$ /usr/bin/netstat
ip open: Permission denied
can't open mib stream: Bad file number
rootなら問題無し.
原因
/devices/pseudo/ip6@0:ip6/devices/pseudo/ip@0:ip
のパーミッションがおかしい
$ ls -la /devices/pseudo/ip@0:ip /devices/pseudo/ip6@0:ip6
crw-rw---- 1 root sys 143, 1 Mar 20 03:32 /devices/pseudo/ip6@0:ip6
crw-rw---- 1 root sys 3, 0 Mar 20 03:32 /devices/pseudo/ip@0:ip
- 対処法
/devices/pseudo/ip@0:ip
/devices/pseudo/ip6@0:ip6
のパーミッションを変更する.
# chmod o+rw /devices/pseudo/ip@0:ip /devices/pseudo/ip6@0:ip6
- Reference
Usenet News Archive - uwo.ccs.changes/2002.Aug - 1
http://www.uwo.ca/its/doc/news-archives/uwo.ccs.changes/2002.Aug/1
Sun Managers (2001/06) - 00154
http://aa11.cjb.net/sun_managers/2001/06/msg00154.html