Hide Forgot
Description of problem: Starting up asterisk-11.5.1-2.fc19.x86_64.rpm I get: [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'chan_mgcp.so': /usr/lib64/asterisk/modules/chan_mgcp.so: undefined symbol: ast_pktccops_gate_alloc [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'chan_iax2.so': /usr/lib64/asterisk/modules/chan_iax2.so: undefined symbol: ast_aes_set_encrypt_key [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'chan_sip.so': /usr/lib64/asterisk/modules/chan_sip.so: undefined symbol: ast_websocket_write [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'app_voicemail_plain.so': /usr/lib64/asterisk/modules/app_voicemail_plain.so: undefined symbol: ast_smdi_mwi_set [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'app_stack.so': /usr/lib64/asterisk/modules/app_stack.so: undefined symbol: ast_agi_unregister [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'app_speech_utils.so': /usr/lib64/asterisk/modules/app_speech_utils.so: undefined symbol: ast_speech_dtmf [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'chan_motif.so': /usr/lib64/asterisk/modules/chan_motif.so: undefined symbol: ast_xmpp_client_send_message [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'func_aes.so': /usr/lib64/asterisk/modules/func_aes.so: undefined symbol: ast_aes_set_encrypt_key [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'res_agi.so': /usr/lib64/asterisk/modules/res_agi.so: undefined symbol: ast_speech_change and some stuff doesn't work. For instance GoSub: core show application gosub Your application(s) is (are) not registered Version-Release number of selected component (if applicable): asterisk-11.5.1-2.fc19.x86_64.rpm How reproducible: every time Steps to Reproduce: 1. asterisk -cvvvvv 2. 3. Actual results: Expected results: Additional info: I rebuilt the src rpm on koji. Same problem. The koji build logs had no errors. This is a regression from 11.4.0-1. I've downgraded and no problems.
Do you block loading of any modules in modules.conf? I had blocked loading of some modules that were previously unneeded but now are. Once I unblocked those modules everything loaded fine. It's possible that this is a side-effect of the hardening options.
Same as I've used in 11.4: grep ^noload modules.conf noload => pbx_gtkconsole.so noload => chan_alsa.so noload => chan_console.so noload => app_directory_imap.so noload => app_voicemail_imap.so noload => app_directory_odbc.so noload => app_voicemail_odbc.so noload => res_jabber.so noload => chan_jingle.so noload => chan_gtalk.so noload => pbx_ael.so noload => res_ael_share.so If I rebuild 11.5 using an updated 11.4 spec file, no problem. It seems it's because of the hardening options. Odd that the hardening options don't give any warning/error during the build.
I get the following errors when I start asterisk: Oct 17 11:25:12 ti15 asterisk[26634]: [Oct 17 11:25:12] WARNING[26634]: loader.c:423 load_dynamic_module: Error loading module 'pbx_ael.so': /usr/lib64/asterisk/modules/pbx_ael.so: undefined symbol: ael2_parse Oct 17 11:25:12 ti15 asterisk[26634]: [Oct 17 11:25:12] WARNING[26634]: loader.c:423 load_dynamic_module: Error loading module 'chan_dahdi.so': /usr/lib64/asterisk/modules/chan_dahdi.so: undefined symbol: ast_smdi_interface_unref Oct 17 11:25:12 ti15 asterisk[26634]: [Oct 17 11:25:12] WARNING[26634]: loader.c:423 load_dynamic_module: Error loading module 'app_voicemail_plain.so': /usr/lib64/asterisk/modules/app_voicemail_plain.so: undefined symbol: ast_smdi_mwi_set Oct 17 11:25:13 ti15 asterisk[26634]: [Oct 17 11:25:13] WARNING[26634]: loader.c:423 load_dynamic_module: Error loading module 'app_stack.so': /usr/lib64/asterisk/modules/app_stack.so: undefined symbol: ast_agi_unregister I am using the default modules.conf in the rpm (I did not edit it).
As per Sean's suggestion, I rebuilt using the 11.4.0 spec file with the new 11.5.1 tarball. I also had to replace asterisk-11.3.0-lua-5.2.patch with asterisk-11.5.0-lua-5.2.patch. This version works fine with no undefined symbols. So there is clearly a problem caused by the changes in the spec file between 11.4.0 and 11.5.1.
I also have it. I built a fresh X86_64 F19, updated, installed asterisk, followed the instructions and have the same messages.
Just to be clear about this, the rpm does not work for me as shipped. The messages are serious problems. One must either downgrade or rebuild with the 11.4.0 spec file.
Running 11.5.1 from RPM under Fedora 18. I see this error in 'full' log Error loading module 'app_stack.so': /usr/lib64/asterisk/modules/app_stack.so: undefined symbol: ast_agi_unregister BUT if I load the module all is fine. asterisk -rx "module load app_stack.so"
When I reboot, again the app_stack.so module doesn't load and gives the error above, and again it is repairable by manually loading the module. Side Note: to be sure, I added to modules.conf "load => app_stack.so". So reboot choked at the point of processing modules.conf. Apparently it attempted to do the load either from its own list of default modules or from reading modules.conf because of the Error message. Is it possible that the manual load, is different from its internal load? Or is its execution environment different?
asterisk-11.7.0-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/asterisk-11.7.0-1.fc20
asterisk-11.7.0-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/asterisk-11.7.0-1.fc19
asterisk-11.7.0-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/asterisk-11.7.0-1.fc18
Package asterisk-11.7.0-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing asterisk-11.7.0-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-24108/asterisk-11.7.0-1.fc20 then log in and leave karma (feedback).
asterisk-11.7.0-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
asterisk-11.7.0-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
asterisk-11.7.0-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.