Asterisk start error

Hey People,
I am getting following error in asterisk while starting using /etc/init.d/asterisk script.
I’m using centos fedora, x86_64 CPU arch and asterisk v18.8.0

GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-redhat-linux-gnu”.
For bug reporting instructions, please see:
Reading symbols from /usr/sbin/asterisk…done.
[New LWP 25474]
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib64/”.
Core was generated by `/usr/sbin/asterisk -f -vvvg -c’.
Program terminated with signal 4, Illegal instruction.
#0 tzload (name=, name@entry=0x677b0c “/etc/localtime”, sp=sp@entry=0x18e1fa0, doextend=doextend@entry=1) at stdtime/localtime.c:1039
1039 u.buf[i] = p[i];
Missing separate debuginfos, use: debuginfo-install glibc-2.17-196.el7.x86_64 libedit-3.0-12.20121213cvs.el7.x86_64 libgcc-4.8.5-11.el7.x86_64 libstdc+±4.8.5-11.el7.x86_64 libuuid-2.23.2-33.el7.x86_64 libxml2-2.9.1-6.el7_2.3.x86_64 ncurses-libs-5.9-13.20130511.el7.x86_64 nss-softokn-freebl-3.28.3-8.el7_4.x86_64 sqlite-3.7.17-8.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-17.el7.x86_64

can anyone please confirm if this is caused due to mismatched dependency or there is some other fault/error? Thanks in advance.

This is typically caused by optimising the build for the build machine’s declared detailed architecture, and run running on a machine whose real architecture differs. It typically happens on virtual machines. There is a build option to disable this detailed matching to the hardware, but I forget the name.

Question for you, what directory did you build asterisk in and how did you install it

Yes, I’m using VM only

All directories are default one and compile build asterisk on this system from source

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.