Agentx++ protocol services not set, aborting error
Majdi Abuelbassal
Majdi.Abuelbassal____ttimail.com
Wed Aug 2 17:16:25 CEST 2000
Guys, I having this problem (on solaris 2.6, using most recent
snmp++/agent++/agentx++):
I changed my agent++ master agent into an agentX++ master agent, (just made
changes on the Agent.C main() function). The following shows what I changed:
------------------------------------------------------------
#include "agentx_master.h"
MasterAgentXMib* mib;
mib = new MasterAgentXMib();
AgentXMaster* agentx = new AgentXMaster();
#ifdef AX_UNIX_SOCKET
agentx->set_connect_mode(AX_USE_UNIX_SOCKET);
agentx->set_unix_port_loc("/home/majdi/snmp/var/agentx/");
printf("p0\n");
#else
agentx->set_connect_mode(AX_USE_TCP_SOCKET);
printf("p1\n");
#endif
---------------------------------------------------------------
After starting the agent I get the following in the trace output:
----------------------------------------------------------------
20000802.09:48:58: 05893: (0)ERROR : MasterAgentXMib: AgentX protocol
services not set, aborting.
----------------------------------------------------------------------------
---
Please advise,
Majdi Abuelbassal
Telecom Technologies, Inc. | e-mail: majdi at ieee.org
Suite 3000 | home: mbsoul at att.net
1701 N. Collins Blvd. | Phone: (972) 680-6354
Richardson, TX 75080 | FAX: (972) 301-4903
More information about the AGENTPP
mailing list