stonedb icon indicating copy to clipboard operation
stonedb copied to clipboard

question: Illegal instruction on centos 7

Open gospider007 opened this issue 2 years ago • 5 comments

image

按照官网快速部署教程,在centos7中部署,出现这个非法指令,不知道哪里出现了问题

gospider007 avatar Jul 08 '22 03:07 gospider007

$ ldd mysqld linux-vdso.so.1 => (0x00007fff627cd000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3ae83c6000) libsnappy.so.1 => /lib64/libsnappy.so.1 (0x00007f3ae81c0000) libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f3ae7fb0000) liblz4.so.1 => /lib64/liblz4.so.1 (0x00007f3ae7da1000) libzstd.so.1 => /lib64/libzstd.so.1 (0x00007f3ae7aee000) librt.so.1 => /lib64/librt.so.1 (0x00007f3ae78e6000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f3ae76af000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f3ae74ab000) libm.so.6 => /lib64/libm.so.6 (0x00007f3ae71a9000) libc.so.6 => /lib64/libc.so.6 (0x00007f3ae6ddb000) /lib64/ld-linux-x86-64.so.2 (0x00007f3ae85e2000) libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f3ae6ad3000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3ae68bd000) libfreebl3.so => /lib64/libfreebl3.so (0x00007f3ae66ba000)

gospider007 avatar Jul 08 '22 03:07 gospider007

Do you deploy the stonedb on virtual machine? If, yes, maybe, some instructions do not enable yet.

RingsC avatar Jul 08 '22 06:07 RingsC

you can refere to stonedb.io, to find out the answer in QA section.

RingsC avatar Jul 08 '22 06:07 RingsC

When the instruction set of the installation environment lacks some key instruction sets of the compilation environment, running stonedb will report an "illegal instruction" error. It is recommended that you use the source code to compile and deploy in the running environment.

lylth avatar Jul 08 '22 08:07 lylth

好的😄

gospider007 avatar Jul 09 '22 09:07 gospider007

@oldlwhite , Does the comment help you to fix your illegal instruction problem? Now, we close this issue, and feel free to reopen it again.

RingsC avatar Aug 17 '22 06:08 RingsC