hey,
I got a problem
here, and I'd like to know if my suspition is reasonable.
Symptoms:
----------------
I'm getting
'agentx_got_response() error branch' on the master agent
side,
It happens when I do
a snmpgetnext on a table of mine, I implemented within an
agentx sub-agent.
Analysis:
-------------
- I suspect the
reason has something to do with the way I configured
net-snmp.
- I run the same
sub-agent code on another installation of net-snmp, where the main
difference
in the
configure setup is that it includes the '--with-libwrap'
directive,
and it works
just fine (with the libwrap directive)
- I get these debug
loggings at the master agent side (registered debug tokens: 'agentx' and
'handler'):]
handler:returned:
handler:returned: handler AgentX subagent 6, session 0x8bf5190, subsession
0x8bf5e90 returned 0
handler AgentX subagent 6, session 0x8bf5190, subsession 0x8bf5e90 returned 0
agentx/master: agentx/master: got response errstat=13760, (req=0x2,trans=0x1,sess=0x6)
got response errstat=13760, (req=0x2,trans=0x1,sess=0x6)
agentx/master: agentx/master: agentx_got_response() error branch
agentx_got_response() error branch
agentx/master: agentx/master: end error branch
end error branch
handler AgentX subagent 6, session 0x8bf5190, subsession 0x8bf5e90 returned 0
agentx/master: agentx/master: got response errstat=13760, (req=0x2,trans=0x1,sess=0x6)
got response errstat=13760, (req=0x2,trans=0x1,sess=0x6)
agentx/master: agentx/master: agentx_got_response() error branch
agentx_got_response() error branch
agentx/master: agentx/master: end error branch
end error branch
Quesitons:
---------------
1)
Does '--with-libwrap' have any connection with this kind of
error.
2) If so, what does
libwrap do?
System
background:
---------------------------------
- I'm using net-snmp
version 5.3.0.1, on Linux, CPU i686.
- The net-snmp
installation which has the problem,
was
built&installed on a different computer (system), and was copied ot my
system on an arbitrary path.
I use
environment variable LD_LIBRARY_PATH to control which shared library are
loaded.
Thanks,
Erez.
I
