[OpenSIPS-Users] snmpstats fix

Richard Revels rrevels at bandwidth.com
Wed Aug 27 19:55:37 CEST 2008


Well, no.  That didn't fix the problem after all.

Aug 27 13:23:15 xenguest3 opensips: ERROR:core:sr_load_module: could  
not open module </usr/local/opensips/lib/opensips/modules/ 
snmpstats.so>: /usr/lib/libnetsnmpagent.so.15: undefined symbol:  
boot_DynaLoader
Aug 27 13:23:15 xenguest3 opensips: CRITICAL:core:yyerror: parse error  
in config file, line 30, column 13-14: failed to load module
Aug 27 13:23:15 xenguest3 opensips: ERROR:core:main: bad config file  
(1 errors)

With the change mentioned below snmpstats loads normally.

There is also a remaining problem with openserSIPStatusCodesTable  
query not returning data.

Sorry for the misinformation.  Will do a little more digging before  
posting next time.

Richard Revels


On Aug 27, 2008, at 3:21 AM, Bogdan-Andrei Iancu wrote:

> Hi Richard,
>
> The patch you mention was applied and closed on 2008-08-24 16:37 ,  
> so the changes are on the SVN. Have you tested the latest SVN  
> revision to see if everything ok?
>
> Regards,
> Bogdan
>
>
> Richard Revels wrote:
>> Patches item #2068467, was opened at 2008-08-23 01:45
>>
>> It's possible I mistook this patch for a fix to a problem it  
>> doesn't deal with.  I didn't try it out, I just noticed it was  
>> fixing missing DEFS in the snmpstats makefile and assumed it was  
>> this problem.
>>
>>
>> Richard Revels
>>
>>
>> On Aug 26, 2008, at 4:52 AM, Bogdan-Andrei Iancu wrote:
>>
>>> Hi Richard,
>>>
>>> I haven't seen the patch you mentioned - could you point it to me  
>>> please?
>>>
>>> Regards,
>>> Bogdan
>>>
>>> Richard Revels wrote:
>>>> Noticed an email in the devel list about a patch for loading snmp  
>>>> on  opensips 1.4.  If you are getting an error like:
>>>>
>>>> ERROR:core:sr_load_module: could not open module </usr/local/ 
>>>> opensips/ lib/opensips/modules/snmpstats.so>: /usr/lib/ 
>>>> libnetsnmpagent.so.15:  undefined symbol: boot_DynaLoader
>>>>
>>>> Then you will be wanting this patch.  You can also quickly fix  
>>>> the  problem by pasting the output of
>>>>
>>>> perl -MExtUtils::Embed -e ldopts
>>>>
>>>> into the snmpstats module Makefile on the end of the  
>>>> BUILDAGENTLIBS  line.
>>>>
>>>> In any case, this resolves a dependancy that AgentX in net-snmp  
>>>> has on  a perl lib.  Hopefully the web crawlers will pick this  
>>>> post up and  keep people from having to search for days in the  
>>>> event this little  problem should crop up again in opensips.
>>>>
>>>> Richard Revels
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>
>>
>>
>




More information about the Users mailing list