Page 1 of 1

ViciBox 6.0.1 - Asterisk not starting

PostPosted: Mon Jul 28, 2014 1:59 am
by ghgp
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.

Re: ViciBox 6.0.1 - Asterisk not starting

PostPosted: Mon Jul 28, 2014 1:17 pm
by covarrubiasgg
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

Re: ViciBox 6.0.1 - Asterisk not starting

PostPosted: Mon Jul 28, 2014 9:50 pm
by ghgp
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?

Re: ViciBox 6.0.1 - Asterisk not starting

PostPosted: Mon Jul 28, 2014 10:14 pm
by boybawang
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

Re: ViciBox 6.0.1 - Asterisk not starting

PostPosted: Mon Jul 28, 2014 11:14 pm
by ghgp
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. :/

Re: ViciBox 6.0.1 - Asterisk not starting

PostPosted: Tue Jul 29, 2014 3:14 am
by Igor
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

Re: ViciBox 6.0.1 - Asterisk not starting

PostPosted: Tue Jul 29, 2014 5:11 am
by ghgp
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 :)

Re: ViciBox 6.0.1 - Asterisk not starting

PostPosted: Fri Aug 08, 2014 12:17 am
by ghgp
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

Re: ViciBox 6.0.1 - Asterisk not starting

PostPosted: Fri Aug 08, 2014 12:27 am
by williamconley
good postback!