Jonas Kellens
2013-Nov-20 13:06 UTC
[asterisk-users] Asterisk 1.8.24 : illegal instruction
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/asterisk : [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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131120/95aa29e8/attachment.html>
Jonas Kellens
2013-Nov-20 13:06 UTC
[asterisk-users] Asterisk 1.8.24 : illegal instruction
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131120/056071c9/attachment.html>
On Wednesday 20 November 2013, 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 instructionAre you using a VIA C6/C7 processor (often found soldered to tiny motherboards), by any chance? This family of processors falsely report as "i686" when they lack some of the instructions for this family. The fix is to build for a target architecture of "i586". -- AJS Answers come *after* questions.