New Build on CentOS 7 - Asterisk doesn't load modules

Hi,

I’m running a new build of Asterisk/FreePBX on Centos and am seeing “0 modules loaded” when running “module show” from the Asterisk CLI. Full log shows “Error loading module ‘pbx_config.so’: /usr/lib/asterisk/modules/pbx_config.so: cannot open shared object file: No such file or directory” for example.

I’ve followed the install documentation from freepbx (Can’t post link)

My installation has put the modules in /usr/lib64/asterisk/modules/. However I cannot see how to direct the module loader towards this directory. Asterisk is running at Asterisk user, process started from “amportal start”.

I’ve been looking at this for two days, what am I missing?

Modules.conf

;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. ;
;--------------------------------------------------------------------------------;
; For information on adding additional paramaters to this file, please visit the ;
; wiki page, or ask on IRC. This file was created by the new FreePBX ;
; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;
; is totally deliberate. ;
;--------------------------------------------------------------------------------;
[modules]
autoload=yes
preload = pbx_config.so
preload = chan_local.so
preload = func_db.so
preload = res_odbc.so
preload = res_config_odbc.so
preload = cdr_adaptive_odbc.so
noload = chan_woomera.so
noload = pbx_gtkconsole.so
noload = pbx_kdeconsole.so
noload = app_intercom.so
noload = chan_modem.so
noload = chan_modem_bestdata.so
noload = chan_modem_i4l.so
noload = app_trunkisavail.so
noload = chan_alsa.so
noload = chan_oss.so
noload = app_directory_odbcstorage.so
noload = app_voicemail_odbcstorage.so
noload = chan_modem_aopen.so
noload = cdr_radius.so
noload = cel_radius.so
noload = cdr_mysql.so
noload = res_phoneprov.so
noload = res_config_ldap.so
noload = res_config_sqlite3.so
noload = res_clialiases.so
noload = chan_mgcp.so
noload = cdr_custom.so
noload = app_minivm.so
noload = cel_custom.so
load = format_wav.so
load = format_pcm.so
load = format_mp3.so
load = res_musiconhold.so

Many Thanks

Sam

Problem solved

Modules directory is defined in /etc/asterisk/asterisk.conf

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.