[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-support
Subject: [ net-snmp-Support Requests-313852 ] init_master_agent: Invalid local port
From: noreply () sourceforge ! net
Date: 2001-03-27 11:14:07
[Download RAW message or body]
Support Requests item #313852, was updated on 2001-02-08 15:05
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=212694&aid=313852&group_id=12694
Category: None
Group: None
> Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Wes Hardaker (hardaker)
Summary: init_master_agent: Invalid local port
Initial Comment:
----------------------------------------------------------------------
Comment By: Tron (tabu_tron)
Date: 2001-03-05 07:15
Message:
Logged In: YES
user_id=166434
I upgraded from SuSE Linux 7.0 to 7.1 and now I get this
error when trying snmpd -a. Right now I installed the rpm-
version 4.12, still the same problem. Calling MRTG with my
config which worked before gives:
SNMP Error:
no response received
SNMPv1_Session (remote host: "hostname"
[xxx.xxx.xxx.xxx].161)
community: "public"
request ID: 466496842
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.2 on public@hostname
Any ideas?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2001-02-09 14:17
Message:
Logged In: NO
Browser: Mozilla/4.72 [en] (X11; U; Linux 2.2.14-6.1.1smp i686)
We have got the application to work. It appears that our
configuration
was not including the correct files. We had to modify the
#include(s) in
the ustMain.c to exclude the "ucd-snmp" portion, then modify
our
Makefile to point to the correct include paths.
Additionally, we
modified ustMain.c as follows:
OLD:
/* If we're going to be a snmp master agent */
if (!agentx_subagent)
init_master_agent(8005, NULL, NULL);
NEW:
/* If we're going to be a snmp master agent */
if (!agentx_subagent)
ds_set_string(DS_APPLICATION_ID, DS_AGENT_PORTS,
strdup("8005"));
init_master_agent(0, NULL, NULL);
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2001-02-09 07:43
Message:
Logged In: YES
user_id=76242
Browser: Mozilla/4.0 (compatible; Konqueror/1.93 Beta >= 20000813; X11); Supports \
MD5-Digest; Supports gzip encoding
Are you running it as root? If not, it won't be able to access the agentx connection \
socket at /var/agentx/master due to file permission problems.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2001-02-08 15:05
Message:
Logged In: NO
Browser: Mozilla/4.72 [en] (X11; U; Linux 2.2.14-6.1.1smp i686)
I am working with the ustMain demo application. I have
been building and running it with ucd-snmp-4.1.2 in
both c and c++ without any problems.
I switched to ucd-snmp-4.2 and the demo works in c but
in c++ I get the folling error:
init_master_agent: Invalid local port (Permission
denied)
the line of code where I believe the problem is:
init_master_agent(8005, NULL, NULL);
Thanks for your assistance.
Sam.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=212694&aid=313852&group_id=12694
_______________________________________________
Net-snmp-support mailing list
Net-snmp-support@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/net-snmp-support
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic