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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Programming
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
3. UNIX for Dummies Questions & Answers
Hi,
From Where I can download MIB for Linux 7.2.
Please help.
Regards,
Sumit Roy (4 Replies)
Discussion started by: sumitroy
4 Replies
4. HP-UX
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
5. AIX
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
6. UNIX for Dummies Questions & Answers
# 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
7. Programming
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
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
10. UNIX for Advanced & Expert Users
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
LEARN ABOUT X11R4
inet_type
inet_type(4) File Formats inet_type(4)
NAME
inet_type - default Internet protocol type
SYNOPSIS
/etc/default/inet_type
DESCRIPTION
The inet_type file defines the default IP protocol to use. Currently this file is only used by the ifconfig(1M) and netstat(1M) commands.
The inet_type file can contain a number of <variable>=<value> lines. Currently, the only variable defined is DEFAULT_IP, which can be
assigned a value of IP_VERSION4, IP_VERSION6, or BOTH.
The output displayed by the ifconfig and netstat commands can be controlled by the value of DEFAULT_IP set in inet_type file. By default,
both commands display the IPv4 and IPv6 information available on the system. The user can choose to suppress display of IPv6 information by
setting the value of DEFAULT_IP. The following shows the possible values for DEFAULT_IP and the resulting ifconfig and netstat output that
will be displayed:
IP_VERSION4 Displays only IPv4 related information. The output displayed is backward compatible with older versions of the ifconfig(1M)
and netstat(1M) commands.
IP_VERSION6 Displays both IPv4 and IPv6 related information for ifconfig and netstat.
BOTH Displays both IPv4 and IPv6 related information for ifconfig and netstat.
The command-line options to the ifconfig and netstat commands override the effect of DEFAULT_IP as set in the inet_type file. For example,
even if the value of DEFAULT_IP is IP_VERSION4, the command
example% ifconfig -a6
will display all IPv6 interfaces.
EXAMPLES
Example 1: Suppressing IPv6 Related Output
This is what the inet_type file must contain if you want to suppress IPv6 related output:
DEFAULT_IP=IP_VERSION4
SEE ALSO
ifconfig(1M), netstat(1M)
SunOS 5.10 16 Jun 1999 inet_type(4)