Hi All,

I am using RHEL 4 that comes with net-snmp5.1.2 version. I am trying to enable agentx support for snmpd daemon using following procedure

 

1- In /etc/snmp/snmpd.conf I add following line

master agentx

 

2- Then I run following command to start snmpd daemon

/sbin/service snmpd start

 

At this moment, snmpd  terminates on querying status using /sbin/service snmpd status  , it tells tha snmpd has subsys locked.

 

When I remove above mentioned line form snmpd.conf file , agent starts without any errors.

 

Then I tried to comile and install net-snmp5.1.2 code separately using standard method described in  README files , replaced generated /usr/local/sbin/snmpd to /usr/sbin/snmpd  and retained the snmpd init script in /etc/init.d directory . Now strangely even with agentx support deamon comes up fine.

 

It is problem with spec file that is being used to create package? What is the solution?

 

Regards

Amber

 

 

 

 

Reply via email to