snmpd failed to start when agentx is enabled

Pushpa Thimmaiah <[email protected]> Thu, 26 Sep 2024 21:58:16 +0530
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAASqVJWpjwtH8x3aFeaWjJwkcfBrKMMMB1H7GitXa+VLDWcf_Q@mail.gmail.com>
--===============8835977998559384564==
Content-Type: multipart/alternative; boundary="0000000000002feb1f0623081ae0"

--0000000000002feb1f0623081ae0
Content-Type: text/plain; charset="UTF-8"

Hi All,

I am getting following error while starting snmpd in net-snmp-5.9. I have
enabled  agentx and compiled the source. Kindly guide me to resolve the
same.
I have created directory /var/agentx
---------------

agentx/master: initializing...
trace: netsnmp_tdomain_transport_tspec(): snmp_transport.c, 655:
tdomain: tdomain_transport_spec("agentx", "/var/agentx/master", 1, "[NIL]",
"[NIL]", "[NIL]")
trace: netsnmp_tdomain_transport_tspec(): snmp_transport.c, 736:
tdomain: Address starts with '/', so assume "unix" domain
trace: find_tdomain(): snmp_transport.c, 610:
tdomain: Found no domain from specifier "unix"
No support for any checked transport domain
Error: Couldn't open a master agentx socket to listen on
(/var/agentx/master):
---------------------------------------------------


Thanks,
Pushpa.T

--0000000000002feb1f0623081ae0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi All,</div><div><br></div><div>I am getting followi=
ng error while starting snmpd in net-snmp-5.9. I have enabled=C2=A0 agentx =
and compiled the source. Kindly guide me to resolve the same.</div><div>I h=
ave created directory /var/agentx <br></div><div>---------------</div><div>=
<br>agentx/master: initializing...<br>trace: netsnmp_tdomain_transport_tspe=
c(): snmp_transport.c, 655:<br>tdomain: tdomain_transport_spec(&quot;agentx=
&quot;, &quot;/var/agentx/master&quot;, 1, &quot;[NIL]&quot;, &quot;[NIL]&q=
uot;, &quot;[NIL]&quot;)<br>trace: netsnmp_tdomain_transport_tspec(): snmp_=
transport.c, 736:<br>tdomain: Address starts with &#39;/&#39;, so assume &q=
uot;unix&quot; domain<br>trace: find_tdomain(): snmp_transport.c, 610:<br>t=
domain: Found no domain from specifier &quot;unix&quot;<br>No support for a=
ny checked transport domain<br>Error: Couldn&#39;t open a master agentx soc=
ket to listen on (/var/agentx/master): <br></div><div>---------------------=
------------------------------</div><div><br></div><div><br></div><div>Than=
ks,</div><div>Pushpa.T<br></div></div>

--0000000000002feb1f0623081ae0--


--===============8835977998559384564==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8835977998559384564==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

--===============8835977998559384564==--