[Home]

Summary:ASTERISK-24788: Can't get res_snmp.so to load
Reporter:Mark Reeves (mreeves)Labels:
Date Opened:2015-02-13 10:51:40.000-0600Date Closed:2015-02-13 10:54:40.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_snmp
Versions:12.4.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:CentOS Linux asteriskNOW 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 Attachments:
Description:I am trying to get my AsteriskNOW to work as a subagent using the MIB file ASTERISK-MIB.txt. I am seeing a failure in loading the res_snmp.so module I will copy the part of the log I am seeing:

Unregistering module res_snmp
      > Registering module res_snmp
[2015-02-12 12:45:04] WARNING[4160]: loader.c:951 inspect_module: Module 'res_snmp.so' was not compiled with the same compile-time options as this version of Asterisk.
[2015-02-12 12:45:04] WARNING[4160]: loader.c:952 inspect_module: Module 'res_snmp.so' will not be initialized as it may cause instability.
[2015-02-12 12:45:04] WARNING[4160]: loader.c:1045 load_resource: Module 'res_snmp.so' could not be loaded.
      > Unregistering module res_snmp
      > Checking if res_snmp is loaded
      >   res_snmp not loaded

I see the first part of the warning was not compiled with the same compile-time options as this version of Asterisk.
I cannot figure out how to fix this. All the installed packages were reinstalled from the repo. I have this listed as Minor as the PBX still works. It is however blocking me from going live with my customer until I get this resolved. Could someone please help me out. It would be greatly appreciated.

I am tempted to scrap this load and try again with version 11. That seems counter productive but I am stuck.

Mark
Comments:By: Matt Jordan (mjordan) 2015-02-13 10:54:49.243-0600

Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support.