Re: something must be wrong with me

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2010/3/17 刘伟_杭州 <[email protected]>
>   Today, I installed net-snmp on centOS 4.8,

Is this a vendor-supplied package, or one you compiled yourself?

> and I run it on the shell:
>     # snmpd -c /usr/local/etc/snmp/snmpd.conf -L

If you compiled this from source, then the agent will probably
be reading in this config file automatically.

Explicitly telling it to read in the same file a second time
may well trigger complaints about duplicate entries.



> Error opening specified endpoint "udp:127.0.0.1:161"
> Server Exiting with code 1

Are you running this as root, or a normal user?
The default listening port (161) is a privileged port,
so can only be opened by a process running as root.

Either start the agent from a root account,
or specify a different port to listen on:
e.g.
      snmpd ....  16161

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.