ViciBox 6.0.1 - Asterisk Not Starting

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

ViciBox 6.0.1 - Asterisk Not Starting

Postby ghgp » Mon Jul 28, 2014 10:22 pm

Not sure which is the correct forum, and I am double posting hoping to get a better response.
I have recently installed ViciBox Standard 6.0.1, SQL and web installations went smoothly, however, telephony server asterisk does not start.
I've done plenty of ViciDial installations using much older version with no problems.

Hardware: Dual Xeon 3.0GHZ, 8GB ECC RAM, HP DL 460C G1
Installer: ViciBox Standard 6.0.1
ViciDial: VERSION: 2.10-448a, BUILD: 140706-0927

Server 1: Single SQL \ Web Server (combined)
Server 2: Telephony Server (web and db not selected during installation)

Problem is that asterisk is not starting and I am getting segmentation fault upon start, and some dahdi modules fail to load. I added noload in modules.conf however segmentation fault still occurs.
I have tried in virtualised, non-virtualised environments on two different physical servers with no luck. Am I doing something wrong or is this a bug?

auvct2:~ # asterisk -vvvvvvvvvvvvvvvgc
Privilege escalation protection disabled!
Asterisk 1.8.28.2-vici, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/extconfig.conf': == Found
== Parsing '/etc/asterisk/logger.conf': == Found
== Parsing '/etc/asterisk/asterisk.conf': == Found
== Manager registered action DataGet
== Parsing '/etc/asterisk/codecs.conf': == Found
Asterisk Dynamic Loader Starting:
== Parsing '/etc/asterisk/modules.conf': == Found
== Parsing '/etc/asterisk/dnsmgr.conf': == Found
[Jul 29 23:17:11] NOTICE[5310]: dnsmgr.c:478 do_reload: Managed DNS entries will be refreshed every 300 seconds.
.....
== Parsing '/etc/asterisk/modules.conf': == Found
[Jul 29 23:17:11] NOTICE[5310]: loader.c:1194 load_modules: 204 modules will be loaded.
[Jul 29 23:17:11] WARNING[5310]: loader.c:434 load_dynamic_module: Error loading module 'app_dahdiscan.so': /usr/lib64/asterisk/modules/app_dahdiscan.so: undefined symbol: dahdi_chan_name
[Jul 29 23:17:11] WARNING[5310]: loader.c:434 load_dynamic_module: Error loading module 'chan_dahdi.so': /usr/lib64/asterisk/modules/chan_dahdi.so: undefined symbol: dahdi_chan_name_len
[Jul 29 23:17:11] WARNING[5310]: loader.c:434 load_dynamic_module: Error loading module 'app_dahdibarge.so': /usr/lib64/asterisk/modules/app_dahdibarge.so: undefined symbol: dahdi_chan_mode
[Jul 29 23:17:11] WARNING[5310]: loader.c:434 load_dynamic_module: Error loading module 'app_dahdiras.so': /usr/lib64/asterisk/modules/app_dahdiras.so: undefined symbol: dahdi_chan_mode
== Parsing '/etc/asterisk/smdi.conf': == Found
[Jul 29 23:17:11] NOTICE[5310]: res_smdi.c:1418 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
== Registered application 'Monitor'
== Registered application 'StopMonitor'
== Registered application 'ChangeMonitor'
== Registered application 'PauseMonitor'
== Registered application 'UnpauseMonitor'
== Manager registered action Monitor
== Manager registered action StopMonitor
== Manager registered action ChangeMonitor
== Manager registered action PauseMonitor
== Manager registered action UnpauseMonitor
res_monitor.so => (Call Monitoring Resource)
[Jul 29 23:17:11] WARNING[5310]: res_crypto.c:508 crypto_load: Unable to open key directory '/usr/share/asterisk/keys'
res_crypto.so => (Cryptographic Digital Signatures)
== Parsing '/etc/asterisk/jabber.conf': == Found
== Manager registered action JabberSend
== Registered application 'JabberSend'
== Registered application 'JabberSendGroup'
== Registered application 'JabberStatus'
== Registered application 'JabberJoin'
== Registered application 'JabberLeave'
== Registered custom function 'JABBER_STATUS'
== Registered custom function 'JABBER_RECEIVE'
res_jabber.so => (AJI - Asterisk Jabber Interface)
== Parsing '/etc/asterisk/res_stun_monitor.conf': == Found
res_stun_monitor.so => (STUN Network Monitor)
res_speech.so => (Generic Speech Recognition API)
== Parsing '/etc/asterisk/res_fax.conf': == Found
== Registered application 'SendFAX'
== Registered application 'ReceiveFAX'
== Registered custom function 'FAXOPT'
res_fax.so => (Generic FAX Applications)
== AGI Command 'answer' registered
== AGI Command 'asyncagi break' registered
== AGI Command 'channel status' registered
== AGI Command 'database del' registered
== AGI Command 'database deltree' registered
== AGI Command 'database get' registered
== AGI Command 'database put' registered
== AGI Command 'exec' registered
== AGI Command 'get data' registered
== AGI Command 'get full variable' registered
== AGI Command 'get option' registered
== AGI Command 'get variable' registered
== AGI Command 'hangup' registered
== AGI Command 'noop' registered
== AGI Command 'receive char' registered
== AGI Command 'receive text' registered
== AGI Command 'record file' registered
== AGI Command 'say alpha' registered
== AGI Command 'say digits' registered
== AGI Command 'say number' registered
== AGI Command 'say phonetic' registered
== AGI Command 'say date' registered
== AGI Command 'say time' registered
== AGI Command 'say datetime' registered
== AGI Command 'send image' registered
== AGI Command 'send text' registered
== AGI Command 'set autohangup' registered
== AGI Command 'set callerid' registered
== AGI Command 'set context' registered
== AGI Command 'set extension' registered
== AGI Command 'set music' registered
== AGI Command 'set priority' registered
== AGI Command 'set variable' registered
== AGI Command 'stream file' registered
== AGI Command 'control stream file' registered
== AGI Command 'tdd mode' registered
== AGI Command 'verbose' registered
== AGI Command 'wait for digit' registered
== AGI Command 'speech create' registered
== AGI Command 'speech set' registered
== AGI Command 'speech destroy' registered
== AGI Command 'speech load grammar' registered
== AGI Command 'speech unload grammar' registered
== AGI Command 'speech activate grammar' registered
== AGI Command 'speech deactivate grammar' registered
== AGI Command 'speech recognize' registered
== Registered application 'DeadAGI'
== Registered application 'EAGI'
== Manager registered action AGI
== Registered application 'AGI'
res_agi.so => (Asterisk Gateway Interface (AGI))
res_ael_share.so => (share-able code for AEL)
[Jul 29 23:17:11] ERROR[5310]: pbx_lua.c:1525 load_or_reload_lua_stuff: Error loading extensions.lua: [string "extensions.lua"]:145: <name> expected near 'goto'
[Jul 29 23:17:11] WARNING[5310]: loader.c:434 load_dynamic_module: Error loading module 'app_dahdiscan.so': /usr/lib64/asterisk/modules/app_dahdiscan.so: undefined symbol: dahdi_chan_name
[Jul 29 23:17:11] WARNING[5310]: loader.c:910 load_resource: Module 'app_dahdiscan.so' could not be loaded.
[Jul 29 23:17:11] WARNING[5310]: loader.c:434 load_dynamic_module: Error loading module 'chan_dahdi.so': /usr/lib64/asterisk/modules/chan_dahdi.so: undefined symbol: dahdi_chan_name_len
[Jul 29 23:17:11] WARNING[5310]: loader.c:910 load_resource: Module 'chan_dahdi.so' could not be loaded.
[Jul 29 23:17:11] WARNING[5310]: loader.c:434 load_dynamic_module: Error loading module 'app_dahdibarge.so': /usr/lib64/asterisk/modules/app_dahdibarge.so: undefined symbol: dahdi_chan_mode
[Jul 29 23:17:11] WARNING[5310]: loader.c:910 load_resource: Module 'app_dahdibarge.so' could not be loaded.
> Refreshing DNS lookups.
[Jul 29 23:17:11] WARNING[5310]: loader.c:434 load_dynamic_module: Error loading module 'app_dahdiras.so': /usr/lib64/asterisk/modules/app_dahdiras.so: undefined symbol: dahdi_chan_mode
[Jul 29 23:17:11] WARNING[5310]: loader.c:910 load_resource: Module 'app_dahdiras.so' could not be loaded.
Segmentation fault (core dumped)


Hope someone can help me fix this.
ghgp
 
Posts: 13
Joined: Mon Jul 28, 2014 1:38 am

Re: ViciBox 6.0.1 - Asterisk Not Starting

Postby Kumba » Tue Jul 29, 2014 12:12 pm

Have you done a zypper up on the system? Maybe during a previous update a package didn't download completely. It looks like the error is the DAHDI and Kernel symbols aren't matching. Usually this is cause by one package being updated while the other isn't.

I would try running the following and rebooting and see if that helps, unless you already have:

1) zypper refresh
2) zypper up

Say Y to any package updates. Otherwise we have to try and duplicate it here.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: ViciBox 6.0.1 - Asterisk Not Starting

Postby Kumba » Tue Jul 29, 2014 9:30 pm

It actually looks like the new version of asterisk dies a horrible death if ooh323 can't load. The fix is this:

1) echo "noload => chan_ooh323.so" >> /etc/asterisk/modules.conf

Now i'm not able to duplicate the symbols issue you are showing. I am venturing to say that is an incomplete zypper up. I would re-run updates if I were you.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: ViciBox 6.0.1 - Asterisk Not Starting

Postby ghgp » Wed Jul 30, 2014 4:12 am

Thanks for the update. Is it necessary to run all updates prior to vicidial-installation scripts? I usually disable LAN during OS installation so no updates apply and thus making sure all vicibox deployments have the same version of everything.
ghgp
 
Posts: 13
Joined: Mon Jul 28, 2014 1:38 am

Re: ViciBox 6.0.1 - Asterisk Not Starting

Postby Kumba » Wed Jul 30, 2014 9:56 am

Updates are generally a good idea. In addition to security updates you also get fixes in package installations. It should however not be necessary. Looks like we need to revise our in-house testing method as we usually test by doing an install and running updates.

Your issue was two fold. First, when that 6.0.1 ISO built it somehow installed a version of DAHDI that was not correct for the installed version of asterisk. That is why you get the symbols error. Second, after you do updates the newer asterisk chan_ooh323.so module causes asterisk to exit instead of just unloading itself.

So to fix your issues, you need to run updates on the telephony servers which will update your asterisk packages and a few others. Instructions for how to update the OS and packages are included in the ViciBox install manual. After that you need to tell asterisk not to load the chan_ooh323.so module using the instructions above. I've gone ahead and added the instruction for not loading the module to the bugfix thread.

I'm also going to be building a 6.0.2 after we determine what is going on with a different issue regarding the lead loader.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: ViciBox 6.0.1 - Asterisk Not Starting

Postby ghgp » Wed Jul 30, 2014 6:29 pm

Thank you Kumba. When I get a chance I will test it according to your instructions.
ghgp
 
Posts: 13
Joined: Mon Jul 28, 2014 1:38 am

Re: ViciBox 6.0.1 - Asterisk Not Starting

Postby ghgp » Tue Aug 05, 2014 1:01 am

Kumba, just letting you know that I deployed another telephony server with 'zypper up' before vicibox installation.
I had to noload => chan_ooh323.so in modules.conf for asterisk to start.
Thanks for your help.
ghgp
 
Posts: 13
Joined: Mon Jul 28, 2014 1:38 am

Re: ViciBox 6.0.1 - Asterisk Not Starting

Postby alexnicol » Thu Aug 07, 2014 7:52 am

I too wanted to add my thanks Kumba.

I also had this issue following updates today. using the

echo "noload => chan_ooh323.so" >> /etc/asterisk/modules.conf

resolved it and allowed Asterisk to restart.

Thanks for you guidance.

Kind Regards

Alex Nicol
Version: 2.8b0.5 SVN: 2086 DB: 1369 | System Load Average: 0.32 0.38 0.35 M
Intel Core2Duo 3.0Ghz, 8GB DDR3, 500GB | OpenSuse Scratch Installed | VOIP
alexnicol
 
Posts: 2
Joined: Tue Jul 22, 2014 7:23 am

Re: ViciBox 6.0.1 - Asterisk Not Starting

Postby sigbinme » Fri Aug 29, 2014 6:29 pm

thansk kumba
Ubuntu 10.04.4 LTS - Vicidial VERSION: 2.6-32-40 - BUILD: 130414-1924 - asterisk 1.4.39.1-vici - Clean Install - Single Server - Intel® Xeon® 3400 Series Quad-core
sigbinme
 
Posts: 22
Joined: Wed Jun 12, 2013 11:50 am

Re: ViciBox 6.0.1 - Asterisk Not Starting

Postby Noah » Thu Sep 04, 2014 5:06 pm

echo "noload => chan_ooh323.so" >> /etc/asterisk/modules.conf

Confirmed this was still required.... and I'm not sure this has anything to do with the iso.
I believe it's the svn update that's causing the issue during the vicibox-install step.
I tried an older iso to check 5.0.2, same behavior. Perhaps the issue lies in another location.

All the best,

Noah
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
Noah
 
Posts: 90
Joined: Tue Feb 08, 2011 7:14 pm


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 92 guests

cron