Re: [asterisk-users] After updating to 16 "Some non-required modules failed to load"

2018-10-23 Thread Richard Mudgett
On Tue, Oct 23, 2018 at 5:07 PM Jonathan H  wrote:

> 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
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Astricon is coming up October 9-11!  Signup is available at: 
https://www.asterisk.org/community/astricon-user-conference

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] After updating to 16 "Some non-required modules failed to load"

2018-10-23 Thread Jonathan H
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.


On Tue, 23 Oct 2018 at 23:02, Richard Mudgett  wrote:

>
>
> On Tue, Oct 23, 2018 at 1:35 PM Dan Cropp  wrote:
>
>> 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?
>>
>
> 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
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Astricon is coming up October 9-11!  Signup is available at:
> https://www.asterisk.org/community/astricon-user-conference
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Astricon is coming up October 9-11!  Signup is available at: 
https://www.asterisk.org/community/astricon-user-conference

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] After updating to 16 "Some non-required modules failed to load"

2018-10-23 Thread Richard Mudgett
On Tue, Oct 23, 2018 at 1:35 PM Dan Cropp  wrote:

> 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?
>

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
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Astricon is coming up October 9-11!  Signup is available at: 
https://www.asterisk.org/community/astricon-user-conference

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] After updating to 16 "Some non-required modules failed to load"

2018-10-23 Thread Dan Cropp
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-
From: asterisk-users  On Behalf Of 
Jonathan H
Sent: Thursday, October 18, 2018 6:21 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion 

Subject: [asterisk-users] After updating to 16 "Some non-required modules 
failed to load"

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 55fc8dbe2689 sp 7fff72499f90 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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Astricon is coming up October 9-11!  Signup is available at: 
https://www.asterisk.org/community/astricon-user-conference

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Astricon is coming up October 9-11!  Signup is available at: 
https://www.asterisk.org/community/astricon-user-conference

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] After updating to 16 "Some non-required modules failed to load"

2018-10-18 Thread Jonathan H
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 55fc8dbe2689 sp 7fff72499f90
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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Astricon is coming up October 9-11!  Signup is available at: 
https://www.asterisk.org/community/astricon-user-conference

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users