Hi Pushpa,

You are not enabling UNIX domain support, so net-snmp can't open the UNIX
domain socket for agentx. You can either use the TCP socket by configuring
with something like

agentXSocket tcp:127.0.0.1:705

and then configuring clients similarly, e.g., "snmptrap -X tcp:705"

Or adding the UNIX domain transport, e.g., add "Unix" to your
"--with-transports" configure argument.

  Bill


On Thu, Sep 26, 2024 at 9:20 AM Pushpa Thimmaiah <pushpa.thimma...@gmail.com>
wrote:

> 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
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to