ViciBox 6.0.1 - Asterisk not starting

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

ViciBox 6.0.1 - Asterisk not starting

Postby ghgp » Mon Jul 28, 2014 1:59 am

I am testing the new release of ViciBox 6.0.1 in a virtualised environment however I am having problems. SQL and web installation went smooth, however asterisk doesn't seem to start on a telephony server.

I have used the latest 6.0.1 standard (not preload) CD with default database on ESXi 5.5. I can see the server under "Servers" tab. During OS installation, I disabled the network card so the system doesn't auto update etc etc Once the OS was installed, I changed network settings (not hostname) to static IP, DNS settings and routes. Once ViciBox was installed, I rebooted the system but asterisk process is not starting. I have re-installed everything from scratch multiple times, but no luck yet.

Troubleshooting I have done is below.

Code: Select all
shell:# less /var/mail/root
From: root@hostname (Cron Daemon)
To: root@hostname
Subject: Cron <root@hostname> /usr/share/astguiclient/AST_conf_update.pl
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20140728065602.12858603E3@hostname>
Date: Mon, 28 Jul 2014 16:56:02 +1000 (EST)

problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_conf_update.pl line 258


Code: Select all
shell:# asterisk -vvvvvvvvvvgc
  == 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))
[Jul 28 16:48:46] ERROR[3230]: pbx_lua.c:1525 load_or_reload_lua_stuff: Error loading extensions.lua: [string "extensions.lua"]:145: <name> expected near 'goto'
 res_ael_share.so => (share-able code for AEL)
[Jul 28 16:48:46] WARNING[3230]: 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 28 16:48:46] WARNING[3230]: loader.c:910 load_resource: Module 'app_dahdibarge.so' could not be loaded.
[Jul 28 16:48:46] WARNING[3230]: 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 28 16:48:46] WARNING[3230]: loader.c:910 load_resource: Module 'app_dahdiscan.so' could not be loaded.
Segmentation fault (core dumped)



Code: Select all
shell:# dahdi_test
Opened pseudo dahdi interface, measuring accuracy...
99.997% 99.984% 99.997% 99.999% 99.991% 99.994% 99.994% 99.995%
99.994% ^C


Any help would be appreciated.
ghgp
 
Posts: 13
Joined: Mon Jul 28, 2014 1:38 am

Re: ViciBox 6.0.1 - Asterisk not starting

Postby covarrubiasgg » Mon Jul 28, 2014 1:17 pm

Try this:

Code: Select all
/etc/init.d/asterisk stop
/etc/init.d/dahdi stop
/etc/init.d/dahdi start
/etc/init.d/asterisk start
asterisk -r


Sometimes after installation i have to restart dahdi in order to start asterisk properly
covarrubiasgg
 
Posts: 420
Joined: Thu Jun 10, 2010 10:20 am
Location: Tijuana, Mexico

Re: ViciBox 6.0.1 - Asterisk not starting

Postby ghgp » Mon Jul 28, 2014 9:50 pm

Unfortunately, didn't work. I also tried installing it on a physical server..same problem. I wonder if something wasn't compiled right..am I the only one having this problem?
ghgp
 
Posts: 13
Joined: Mon Jul 28, 2014 1:38 am

Re: ViciBox 6.0.1 - Asterisk not starting

Postby boybawang » Mon Jul 28, 2014 10:14 pm

try asterisk -vvvvvvvvvvvvgc you can see a verbose asterisk console try to start up and from there you can see the errors of why it did not
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: ViciBox 6.0.1 - Asterisk not starting

Postby ghgp » Mon Jul 28, 2014 11:14 pm

boybawang wrote:try asterisk -vvvvvvvvvvvvgc you can see a verbose asterisk console try to start up and from there you can see the errors of why it did not


Thanks for your reply. I already have with last entry being "Segmentation Fault (core dumped)" - see above.
I have tried offloading dahdi related modules (incase one of them was faulting), however still the same result. :/
ghgp
 
Posts: 13
Joined: Mon Jul 28, 2014 1:38 am

Re: ViciBox 6.0.1 - Asterisk not starting

Postby Igor » Tue Jul 29, 2014 3:14 am

Hi,

I have same problem. I tried older version ViciBox 6.0.0 and also asterisk won't start. With version 5.0.3 asterisk work fine.

Igor
Igor
 
Posts: 1
Joined: Tue Jul 29, 2014 3:07 am

Re: ViciBox 6.0.1 - Asterisk not starting

Postby ghgp » Tue Jul 29, 2014 5:11 am

Igor wrote:Hi,

I have same problem. I tried older version ViciBox 6.0.0 and also asterisk won't start. With version 5.0.3 asterisk work fine.

Igor


Tried 5.0.3 and worked fine as well. Let's now wait for 6.0.2 to get released :)
ghgp
 
Posts: 13
Joined: Mon Jul 28, 2014 1:38 am

Re: ViciBox 6.0.1 - Asterisk not starting

Postby ghgp » Fri Aug 08, 2014 12:17 am

Igor wrote:Hi,

I have same problem. I tried older version ViciBox 6.0.0 and also asterisk won't start. With version 5.0.3 asterisk work fine.

Igor


Hi Igor,
Thought I would let you know that updating the sysem prior to vicibox-installation AND stopping ooh323 from loading resolved the problem.
See viewtopic.php?f=8&t=33277

Cheers
ghgp
 
Posts: 13
Joined: Mon Jul 28, 2014 1:38 am

Re: ViciBox 6.0.1 - Asterisk not starting

Postby williamconley » Fri Aug 08, 2014 12:27 am

good postback!
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 110 guests