Re: a problem about net-snmp 5-4

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 21/12/06, Clement Hsu <[email protected]> wrote:
> After performing the command, I got the result as following:

> read_config:  config path used for
> snmpd:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp
> (persistent path:/var/net-snmp)
> read_config: Reading configuration /usr/local/share/snmp/snmpd.conf
> read_config: /usr/local/share/snmp/snmpd.conf:1 examining: rwcommunity public

[snip]

OK - so this is picking up the expected config file.
Bother.

> Error opening specified endpoint ""
> Server Exiting with code 1

Ummm...  That looks worrying.
If you're starting the agent in the same way as normal
(just with some extra flags), then it should at least be
able to run OK.

How exactly do you normally start the agent?
What was the exact command you ran this time?
Who are you running as?  (A normal user, or root)



> It is more than I can expect, why some files does not exist, should i
> create these files, and how to do that?

No - don't do that.
The agent has a long list of possible locations for the config files,
but doesn't expect more than one or two of them to exist.
It's reporting each one in turn - but it's perfectly normal for most
of these to be "No such file"

Concentrate on how you're starting the agent...

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.