[Home]

Summary:ASTERISK-25554: confusing module loading errors on startup
Reporter:Max (god)Labels:
Date Opened:2015-11-14 10:57:12.000-0600Date Closed:2015-11-18 15:54:52.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:Frequency of
Occurrence
Related
Issues:
duplicatesASTERISK-24567 Error loading module 'res_monitor.so': /usr/lib64/asterisk/modules/res_monitor.so: undefined symbol: __ast_beep_stop
Environment:Attachments:
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.
Comments:By: Asterisk Team (asteriskteam) 2015-11-14 10:57:13.232-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Rusty Newton (rnewton) 2015-11-18 15:54:53.014-0600

Your report duplicates https://issues.asterisk.org/jira/browse/ASTERISK-24567 where it is already answered.  In the future you can use the search function in JIRA to see if an issue has already been filed or handled.