On 17 November 2011 08:03, francisco moreno <[email protected]> wrote:
>  My new problem is the "agentx/master". I tried run the scrip
> "dist/snmp-init.d" and this show the next message:
> ".: 10: Can't open /etc/rc.d/init.d/functions"
>   I think that this message is because my system has not got the "rc.d" 
> folder.

More or less - it's probably because the script in ''dist/snmpd-init.d"
was written for a RedHat-based environment,  and things are likely
to be subtly different under Ubuntu.

You are probably better off starting from the vendor-supplied init.d
script, and tweaking that as necessary.



>  Next, I run the script that I have into "/etc/init.d" folder.

What is the binary that this script is trying to run?
If it's a vendor-supplied init file, then it's probably trying to
start the vendor-supplied agent - typically in /sbin/snmpd
or similar.
   If you've compiled the agent for yourself, then this is
most likely to be in /usr/local/sbin/snmpd,  so you would
need to tweak the init.d script to start the correct agent.



> /etc/snmp/snmpd.conf: line 112: Error: bad SUBTREE object id

Note that this is reading the config file under /etc/snmp.
Again, this would tend to indicate that this is the vendor-supplied
agent, rather than one you compiled yourself.

What is on line 112 of this file?


> Turning on AgentX master support.
> Error: Couldn't open a master agentx socket to listen on ():
>
>
>   The line most important is the last: "Error: Couldn't open a master agentx
> socket to listen on ():"

Who are you running this as?  Root, or some other user?

Dave

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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

Reply via email to