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@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@sip32 admin]# /usr/sbin/asterisk -r
Illegal instruction
[root@sip32 admin]# /sbin/service asterisk status
asterisk dead but subsys locked
[root@sip32 admin]# /sbin/service asterisk restart
Stopping safe_asterisk: [  OK  ]
Shutting down asterisk: [FAILED]
Starting asterisk:
[root@sip32 admin]# /usr/sbin/asterisk -r
Illegal instruction
[root@sip32 admin]#
[root@sip32 admin]# /usr/sbin/asterisk -c
Illegal instruction


Why can I not start Asterisk ?


I also notice the following in /var/log/messages :

[root@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:rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102





--
Ron Wheeler
President
Artifact Software Inc
email:rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to