After Updating To 16 “Some Non-required Modules Failed To Load”

Home » Asterisk Users » After Updating To 16 “Some Non-required Modules Failed To Load”
Asterisk Users 4 Comments

I just noticed this upon startup since updating from 15.6.1 to 16.0.0
– do any of these matter?

[Oct 18 12:12:18] WARNING[4489]: loader.c:2228 load_modules: Some non-required modules failed to load.
[Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules:
res_pjsip_transport_websocket declined to load.
[Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules:
cdr_sqlite3_custom declined to load.
[Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules:
cel_sqlite3_custom declined to load.
[Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules: pbx_ael declined to load.

I do also notice a fair few of these in the log (note the typo on
“statement”, not that it matters unless searching logs)

Oct 18 10:06:58] WARNING[2888] db.c: Couldn’t execute statment: SQL logic error
[Oct 18 10:06:58] WARNING[2888] db.c: Couldn’t execute statment: SQL logic error
[Oct 18 11:06:58] WARNING[2888] db.c: Couldn’t execute statment: SQL logic error
[Oct 18 11:06:58] WARNING[2888] db.c: Couldn’t execute statment: SQL logic error

Incidentally, if there are any old modules hanging around from 15.6.1, you get a segfault.
777:Oct 17 13:03:34 televox-live-2 kernel: [ 6.056590]
asterisk[718]: segfault at 1 ip 000055fc8dbe2689 sp 00007fff72499f90
error 4 in asterisk[55fc8da2b000+2ea000]

I have to remove the following before it would start:

format_mp3.so app_macro.so cdr_syslog.so format_jpeg.so

4 thoughts on - After Updating To 16 “Some Non-required Modules Failed To Load”

  • The res_pjsip_transport_websocket failing to load seems to be a conflict with the chan_sip.so loading.

    When I make the chan_sip.so not load, res_pjsip_transport_websocket.so does load.

    We have customers who need chan_sip and chan_pjsip, so we need to load both. Is there a way to make the res_pjsip_transport_websocket load after the chan_sip?

    —–Original Message—

  • res_pjsip_transport_websocket.so will fail to load if chan_sip is configured to handle websockets. Only one channel driver can provide websocket services at a time. Either disable support in chan_sip’s sip.conf (websocket_enabled = no) or don’t load the res_pjsip_transport_websocket.so module.

    From sip.conf.sample:
    ;websocket_enabled = true ; Set to false to prevent chan_sip from listening to websockets. This
    ; is needed when using chan_sip and res_pjsip_transport_websockets on
    ; the same system.

    Richard

  • Thanks Richard – any idea if these matter? And how to stop the errors:

    cdr_sqlite3_custom declined to load. cel_sqlite3_custom declined to load pbx_ael declined to load

    Standard 16.0 build, just updated a 15.4; nothing fiddled with in menuselect.

  • You are likely lacking a config file for them. Or if you don’t need them don’t load them. Declined modules just sit in memory and are not initialized.

    Richard