Pla help - urgent-netstat error--- cant open mib stream


 
Thread Tools Search this Thread
Operating Systems Solaris Pla help - urgent-netstat error--- cant open mib stream
# 1  
Old 10-30-2008
Pla help - urgent-netstat error--- cant open mib stream

Hi,

When i type netstat command as normal user it shows following error



$ netstat
arp open: Permission denied
can't open mib stream

I can execute the command as root user..

Pls reply at the earliest
# 2  
Old 10-30-2008
Not sure why netstat would do that as it is based on kstat so that normal user can use it. However it uses arp internally so check if the permissions of `which arp` got screwed up. On my sparc system it is
xxxx% ls -l /usr/sbin/arp
-r-xr-xr-x 1 root bin 10252 Aug 16 2007 /usr/sbin/arp
xxxx% ls -l `which netstat`
-r-xr-xr-x 1 root bin 83456 Aug 16 2007 /usr/bin/netstat

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

MIB issue

can someone please help me out with this. why do i keep getting a "No Such Instance..." error message? The MIB file is in the proper directory and with the proper permissions. What could be wrong? I restarted snmpd already. Thank you. snmpwalk -v2c -c AH$%FJY ferenty01.blah.net... (0 Replies)
Discussion started by: SkySmart
0 Replies

2. Shell Programming and Scripting

open 2 files and compare values script - urgent

Hi gurus I have two csv files that are outputs. The file contains data similar to s.no,number1,number2,date1 -------------------------------- 1, a123,482.29,11/28/07 13:00 2,a124,602.7,9/24/07 14:00 3,a125,266.93,10/9/07 16.48 4,a126,785.15,11/14/07 16:08 <file 2> s.no name... (2 Replies)
Discussion started by: inkyponky
2 Replies

3. Shell Programming and Scripting

[Video stream] network stream recording with mplayer

Hi I used this command: mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \ -cache 1024 -fps 25.0 -nosound -vc ffh264 \ -demuxer 3 -dumpstream -dumpfile output.avi It's ok but... Video Playing is very fast! Why? Is it a synch problem? What parameter I have to use for... (1 Reply)
Discussion started by: takeo.kikuta
1 Replies

4. Programming

Error in handling stream objects

Hi, I am trying to write a C++ code to write a file with the similar data between two input files.Input files will be command line arguments.Following is the code ,I am able to open & create files but getting errors during comparison & there is no explicit error message I am getting please let me... (1 Reply)
Discussion started by: forstudy3
1 Replies

5. UNIX for Dummies Questions & Answers

netstat error(getnameinfo failed)

# netstat -a > /test/a getnameinfo failed getnameinfo failed getnameinfo failed getnameinfo failed getnameinfo failed command is working fine (as i get output in file /test/a) # dig -x 10.xxx.xxx.xxx ; <<>> DiG 9.3.3rc2 <<>> -x 10.203.xxx.xxx ;; global... (4 Replies)
Discussion started by: crackthehit007
4 Replies

6. AIX

SAP and MIB

Hi there all.. I got SAP running on AIX systems. Now I got SNMP running and it is collecting info. But I want the SAP MIB to be running so I can also retrieve SAP info. How can I neable it on AIX? When I do a MIB walk on SAP it isnt showing anything. Thanx in advance! :) (1 Reply)
Discussion started by: draco
1 Replies

7. HP-UX

HP O/S MIB file?

HI all, please let me know where i can find the HP OS system MIB file.? Thanks in advance. Rgds, Jagadeesh. (2 Replies)
Discussion started by: bjagadeesh
2 Replies

8. UNIX for Dummies Questions & Answers

From Where Can I download MIB

Hi, From Where I can download MIB for Linux 7.2. Please help. Regards, Sumit Roy (4 Replies)
Discussion started by: sumitroy
4 Replies

9. Programming

open file stream problem

I have faced a problem that I use 2 file streams in a function and try to fopen() both files. Then I can't get the file descriptor. But if I just use 1 file stream and 1 fopen(), then i can get the file descriptor. Does anybody know why this happens? Thanks in advance. ... (2 Replies)
Discussion started by: ivancheung
2 Replies

10. UNIX for Dummies Questions & Answers

netstat error

Hi all, recently on my Sun Solaris 8 server this error message appeared:$ netstat -i > ip open: Permission denied > can't open mib stream: Bad file number > The server was rebooted recently and this error has only popped up since then. Any ideas? (2 Replies)
Discussion started by: gerwhelan
2 Replies
Login or Register to Ask a Question