[asterisk-bugs] [JIRA] (ASTERISK-25554) confusing module loading errors on startup

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Nov 18 15:54:32 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-25554:
------------------------------------

    Description: 
When starting asterisk 13.6.0 I've got enormous amount of warnings regarding module loading errors:

{noformat}
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_rfc3326.so' could not be loaded.
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_refer.so': /usr/lib/asterisk/modules/res_pjsip_refer.so: undefined symbol: ast_sip_session_defer_termination_cancel
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_refer.so' could not be loaded.
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_session.so': /usr/lib/asterisk/modules/res_pjsip_session.so: undefined symbol: pj_timer_entry_running
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_session.so' could not be loaded.
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_phoneprov_provider.so': /usr/lib/asterisk/modules/res_pjsip_phoneprov_provider.so: undefined symbol: ast_phoneprov_std_variable_lookup
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_phoneprov_provider.so' could not be loaded.
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_messaging.so': /usr/lib/asterisk/modules/res_pjsip_messaging.so: undefined symbol: ast_sip_session_register_supplement
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_messaging.so' could not be loaded.
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_one_touch_record_info.so': /usr/lib/asterisk/modules/res_pjsip_one_touch_record_info.so: undefined symbol: ast_sip_session_register_supplement
{noformat}

This is not only clutters logs with useless garbage - it also makes troubleshooting into nightmare: is smth not working because of misconfiguration or because the module failed to load properly? I this loading errors are critical, how come they are presented as warnings? If this is non-critical - what's the point of showing them at all?

Is there way to git rid of those? Either by suppressing them somehow if they are not actual errors or by fixing whatever causing them.

  was:
When starting asterisk 13.6.0 I've got enormous amount of warnings regarding module loading errors:
...
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_rfc3326.so' could not be loaded.
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_refer.so': /usr/lib/asterisk/modules/res_pjsip_refer.so: undefined symbol: ast_sip_session_defer_termination_cancel
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_refer.so' could not be loaded.
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_session.so': /usr/lib/asterisk/modules/res_pjsip_session.so: undefined symbol: pj_timer_entry_running
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_session.so' could not be loaded.
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_phoneprov_provider.so': /usr/lib/asterisk/modules/res_pjsip_phoneprov_provider.so: undefined symbol: ast_phoneprov_std_variable_lookup
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_phoneprov_provider.so' could not be loaded.
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_messaging.so': /usr/lib/asterisk/modules/res_pjsip_messaging.so: undefined symbol: ast_sip_session_register_supplement
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_messaging.so' could not be loaded.
Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_one_touch_record_info.so': /usr/lib/asterisk/modules/res_pjsip_one_touch_record_info.so: undefined symbol: ast_sip_session_register_supplement
...

This is not only clutters logs with useless garbage - it also makes troubleshooting into nightmare: is smth not working because of misconfiguration or because the module failed to load properly? I this loading errors are critical, how come they are presented as warnings? If this is non-critical - what's the point of showing them at all?

Is there way to git rid of those? Either by suppressing them somehow if they are not actual errors or by fixing whatever causing them.


> confusing module loading errors on startup
> ------------------------------------------
>
>                 Key: ASTERISK-25554
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25554
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>            Reporter: Max
>
> When starting asterisk 13.6.0 I've got enormous amount of warnings regarding module loading errors:
> {noformat}
> Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_rfc3326.so' could not be loaded.
> Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_refer.so': /usr/lib/asterisk/modules/res_pjsip_refer.so: undefined symbol: ast_sip_session_defer_termination_cancel
> Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_refer.so' could not be loaded.
> Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_session.so': /usr/lib/asterisk/modules/res_pjsip_session.so: undefined symbol: pj_timer_entry_running
> Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_session.so' could not be loaded.
> Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_phoneprov_provider.so': /usr/lib/asterisk/modules/res_pjsip_phoneprov_provider.so: undefined symbol: ast_phoneprov_std_variable_lookup
> Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_phoneprov_provider.so' could not be loaded.
> Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_messaging.so': /usr/lib/asterisk/modules/res_pjsip_messaging.so: undefined symbol: ast_sip_session_register_supplement
> Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:1079 load_resource: Module 'res_pjsip_messaging.so' could not be loaded.
> Nov 14 16:10:50 xnode asterisk[21792]: [Nov 14 16:10:50] WARNING[21792]: loader.c:553 load_dynamic_module: Error loading module 'res_pjsip_one_touch_record_info.so': /usr/lib/asterisk/modules/res_pjsip_one_touch_record_info.so: undefined symbol: ast_sip_session_register_supplement
> {noformat}
> This is not only clutters logs with useless garbage - it also makes troubleshooting into nightmare: is smth not working because of misconfiguration or because the module failed to load properly? I this loading errors are critical, how come they are presented as warnings? If this is non-critical - what's the point of showing them at all?
> Is there way to git rid of those? Either by suppressing them somehow if they are not actual errors or by fixing whatever causing them.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list