Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Apr 13, 2013 9:36 am 
Offline
Newbie

Joined: Sat Apr 13, 2013 9:22 am
Posts: 3
I'm trying to install Asterisk 1.8 server on Centos 6.2 Linode server,
I have a strange problem: when running asterisk -cvvvv i'm getting an error: "Illegal instruction (core dumped)" and asterisk is failed to run, I have checked the internet and everyone are saying this is an hardware issue,

I have found the instructions on Linode on changing the kernel and grub, but they are mostly out dated, and used for old Ubuntu systems, I was able to follow them eventually but the same problem always remain,
spending over 15 hours on this yesterday trying different releases of asterisk 1.8, also I tried doing it on Ubuntu systems, on 64 and 32 bit systems, but nothing works,

I have installed many Asterisk systems in my life but never faced something like that.
I'm really hoping I can move my stuff to Linode,
please help.

Thank you.


Top
   
PostPosted: Sat Apr 13, 2013 10:47 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
What instruction is it trying to execute? Anything else interesting in the gdb?

Are you compiling this on the Linode in question, or using binaries from elsewhere?

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Sat Apr 13, 2013 6:21 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
Sounds like this bug:

https://issues.asterisk.org/jira/browse/ASTERISK-20128

That's for KVM not XEN but the same bug appears to affect both. (Linode uses xen) There are workarounds on that page.


Top
   
PostPosted: Sun Apr 14, 2013 3:43 am 
Offline
Newbie

Joined: Sat Apr 13, 2013 9:22 am
Posts: 3
I'm installing from sources,
Yes it sounds exactly like this bug! - https://issues.asterisk.org/jira/browse/ASTERISK-20128
I will try installing 1.8.12.2 and will see how it goes,
Thanks.


Top
   
PostPosted: Sun Apr 14, 2013 4:03 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
I use asterisk on a Linode 1024 in London. I find the sound quality a bit spotty due to minor intermittent packet delays.

It's fine for home use but I'd not put a corporate PBX on there.


Top
   
PostPosted: Sun Apr 14, 2013 11:37 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
trixvoice wrote:
I'm installing from sources,
Yes it sounds exactly like this bug! - https://issues.asterisk.org/jira/browse/ASTERISK-20128
I will try installing 1.8.12.2 and will see how it goes,
Thanks.

FWIW, I use asterisk from EPEL on my home machine (in a KVM instance). Seems to work OK for google-talk/SIP integration
Code:
Name        : asterisk                     Relocations: (not relocatable)
Version     : 1.8.20.0                          Vendor: Fedora Project
Release     : 1.el6                         Build Date: Fri Jan 18 15:02:33 2013
Install Date: (not installed)               Build Host: buildvm-24.phx2.fedoraproject.org
Group       : Applications/Internet         Source RPM: asterisk-1.8.20.0-1.el6.src.rpm
Size        : 10856382                         License: GPLv2
Signature   : RSA/8, Mon Jan 21 20:27:53 2013, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://www.asterisk.org/
Summary     : The Open Source PBX
Description :
Asterisk is a complete PBX in software. It runs on Linux and provides
all of the features you would expect from a PBX and more. Asterisk
does voice over IP in three protocols, and can interoperate with
almost all standards-based telephony equipment using relatively
inexpensive hardware.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
PostPosted: Tue Apr 30, 2013 1:58 pm 
Offline
Newbie

Joined: Sat Apr 13, 2013 9:22 am
Posts: 3
After wasting alot of time and money, even switching to another VPS because of this problem,
I'm happy to say I'm back, solutions is so simple:
disable BUILD_NATIVE on the menuconfig


Top
   
PostPosted: Thu May 02, 2013 8:34 pm 
Offline

Joined: Thu May 02, 2013 8:19 pm
Posts: 1
I installed Asterisk 1.8 on linode with pv-grub-x86_32 I do not get any errors when installing, but extensions do not register. What can be wrong? On the sip phone I get the error registration timeout.

[general]
context=default
allowguest=no
allowtransfer=no
realm=asterisk
udpbindaddr=0.0.0.0:5060
tcpenable=no
tcpbindaddr=0.0.0.0:5060
srvlookup=yes
pedantic=yes
maxexpiry=3600
minexpiry=60
defaultexpiry=120
mwiexpiry=3600
maxforwards=70
qualifyfreq=120
qualifygap=200
disallow=all
allow=ulaw
allow=alaw
mohinterpret=default
mohsuggest=default
language=es
relaxdtmf=no
sendrpid = yes
prematuremedia=no
progressinband=no
useragent=voip.ms
promiscredir=no
dtmfmode = rfc2833
videosupport=yes
maxcallbitrate=384
callevents=yes
alwaysauthreject=yes
rtptimeout=60
rtpholdtimeout=300
allowsubscribe=yes
subscribecontext=subscribe
notifyringing=yes
notifyhold=yes
callcounter = yes
t38pt_udptl = yes,fec,maxdatagram=400
faxdetect=yes
directmedia=no
sdpsession=A2Billing
sdpowner=a2billing
;externaddr=IPserviodor
;localnet=192.168.1.0/255.255.255.0

[3000]
type=friend
secret=a2b854
host=dynamic
nat=yes
context=phones
disallow=all
allow=alaw
allow=ulaw
qualify=yes


[2500]
type=friend
secret=xxxxxx
host=dynamic
nat=yes
context=phones
disallow=all
allow=alaw
allow=ulaw
qualify=yes

Any idea?


Top
   
PostPosted: Tue Dec 17, 2013 7:04 pm 
Offline

Joined: Mon Jan 30, 2012 4:38 pm
Posts: 1
thank you! Finally got my 1.8 installation working.

related question since you mentioned you are using grub. I'm using x86-64 grub and linode always boots me into grubdom and I have to manually issue the configfile command to get it to boot. any clues how to get it to boot from the linode console without me having to issue a lish terminal to manually run the configfile command?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group