[asterisk-users] Asterisk 1.8.24 : illegal instruction

Jonas Kellens jonas.kellens at telenet.be
Wed Nov 20 07:36:02 CST 2013


Hello,

same problem with asterisk-1.8.23.1

So how do I check if I have 32 bit libs installed ?

I always install with yum, so on a 64bit CentOS 6.4 there should only be 
64bit libs installed...



Jonas.


On 20-11-13 14:26, Ron Wheeler wrote:
> I am not sure that this is the cause of your problem but I think that 
> the message that you are getting can be caused by that.
>
> You might want to check the build logs to be sure that you do not have 
> a 32 bit library installed.
>
> 32 bit libraries will work on 64 bit Linux but not when mixed with 64 
> bit applications.
>
> Ron
>
> On 20/11/2013 8:15 AM, Jonas Kellens wrote:
>> Hello,
>>
>> how can I mix libraries ?
>>
>> I have installed prerequisites from yum and asterisk from source 
>> (make && make install).
>>
>> My kernel :
>>
>> [root at sip32 asterisk-1.8.24.0]# uname -a
>> Linux sip32.domain.tld 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 
>> 18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
>>
>>
>>
>> Jonas.
>>
>>
>> On 20-11-13 14:11, Ron Wheeler wrote:
>>> Is it possible that in your build you mixed 32 bit and 64 bit libraries?
>>>
>>> Ron
>>> On 20/11/2013 8:06 AM, Jonas Kellens wrote:
>>>> Hello,
>>>>
>>>> I have installed asterisk 1.8.24 (from source) but I can not start 
>>>> up Asterisk :
>>>>
>>>>
>>>> [root at sip32 admin]# /usr/sbin/asterisk -r
>>>> Illegal instruction
>>>> [root at sip32 admin]# /sbin/service asterisk status
>>>> asterisk dead but subsys locked
>>>> [root at sip32 admin]# /sbin/service asterisk restart
>>>> Stopping safe_asterisk: [  OK  ]
>>>> Shutting down asterisk: [FAILED]
>>>> Starting asterisk:
>>>> [root at sip32 admin]# /usr/sbin/asterisk -r
>>>> Illegal instruction
>>>> [root at sip32 admin]#
>>>> [root at sip32 admin]# /usr/sbin/asterisk -c
>>>> Illegal instruction
>>>>
>>>>
>>>> Why can I not start Asterisk ?
>>>>
>>>>
>>>> I also notice the following in /var/log/messages :
>>>>
>>>> [root at sip32 admin-voipcenter]# tail -f /var/log/messages
>>>> Nov 20 14:04:31 sip32 kernel: asterisk[2034] trap invalid opcode 
>>>> ip:530b18 sp:7fffa6051a60 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:31 sip32 kernel: asterisk[2034] trap invalid opcode 
>>>> ip:530b18 sp:7fffa6051a60 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:35 sip32 kernel: asterisk[2041] trap invalid opcode 
>>>> ip:530b18 sp:7fff11d96bf0 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:35 sip32 kernel: asterisk[2041] trap invalid opcode 
>>>> ip:530b18 sp:7fff11d96bf0 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:39 sip32 kernel: asterisk[2047] trap invalid opcode 
>>>> ip:530b18 sp:7fff7913f1a0 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:39 sip32 kernel: asterisk[2047] trap invalid opcode 
>>>> ip:530b18 sp:7fff7913f1a0 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:43 sip32 kernel: asterisk[2053] trap invalid opcode 
>>>> ip:530b18 sp:7fff663f32c0 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:43 sip32 kernel: asterisk[2053] trap invalid opcode 
>>>> ip:530b18 sp:7fff663f32c0 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:47 sip32 kernel: asterisk[2059] trap invalid opcode 
>>>> ip:530b18 sp:7fffb5200b90 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:47 sip32 kernel: asterisk[2059] trap invalid opcode 
>>>> ip:530b18 sp:7fffb5200b90 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:51 sip32 kernel: asterisk[2066] trap invalid opcode 
>>>> ip:530b18 sp:7fffc19af630 error:0 in asterisk[400000+1d7000]
>>>> Nov 20 14:04:51 sip32 kernel: asterisk[2066] trap invalid opcode 
>>>> ip:530b18 sp:7fffc19af630 error:0 in asterisk[400000+1d7000]
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Kind regards,
>>>> Jonas.
>>>>
>>>>
>>>
>>>
>>> -- 
>>> Ron Wheeler
>>> President
>>> Artifact Software Inc
>>> email:rwheeler at artifact-software.com
>>> skype: ronaldmwheeler
>>> phone: 866-970-2435, ext 102
>>>
>>>
>>
>
>
> -- 
> Ron Wheeler
> President
> Artifact Software Inc
> email:rwheeler at artifact-software.com
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131120/b35119db/attachment.html>


More information about the asterisk-users mailing list