taosdata / TDengine

High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios
https://tdengine.com
GNU Affero General Public License v3.0
23.24k stars 4.84k forks source link

Illegal instruction (core dumped) i got core dumped when i started docker #22642

Open royalier opened 1 year ago

royalier commented 1 year ago

h@testserver:~$ docker run -d -p 6030:6030 -p 6041:6041 -p 6043-6049:6043-6049 -p 6043-6049:6043-6049/udp tdengine/tdengine aef629ad1b1fd05ed95c49698618cbefa24c28fe08d8294332d275b84145091c

h@testserver:~$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES aef629ad1b1f tdengine/tdengine "/tini -- /usr/bin/e…" 5 seconds ago Up 2 seconds 0.0.0.0:6030->6030/tcp, :::6030->6030/tcp, 0.0.0.0:6041->6041/tcp, :::6041->6041/tcp, 0.0.0.0:6043-6049->6043-6049/tcp, :::6043-6049->6043-6049/tcp, 0.0.0.0:6043-6049->6043-6049/udp, :::6043-6049->6043-6049/udp nervous_noyce

h@testserver:~$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

h@testserver:~$ docker logs nervous_noyce Illegal instruction (core dumped) Illegal instruction (core dumped) Illegal instruction (core dumped) Illegal instruction (core dumped) sysctl: setting key "kernel.core_pattern": Read-only file system 08/30 03:40:13.925037 00000030 taos_ADAPTER info "start server:00000030" model=main [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.

[GIN-debug] GET /debug/pprof/ --> github.com/gin-gonic/gin.WrapF.func1 (3 handlers) [GIN-debug] GET /debug/pprof/cmdline --> github.com/gin-gonic/gin.WrapF.func1 (3 handlers) [GIN-debug] GET /debug/pprof/profile --> github.com/gin-gonic/gin.WrapF.func1 (3 handlers) [GIN-debug] POST /debug/pprof/symbol --> github.com/gin-gonic/gin.WrapF.func1 (3 handlers) [GIN-debug] GET /debug/pprof/symbol --> github.com/gin-gonic/gin.WrapF.func1 (3 handlers) [GIN-debug] GET /debug/pprof/trace --> github.com/gin-gonic/gin.WrapF.func1 (3 handlers) [GIN-debug] GET /debug/pprof/allocs --> github.com/gin-gonic/gin.WrapH.func1 (3 handlers) [GIN-debug] GET /debug/pprof/block --> github.com/gin-gonic/gin.WrapH.func1 (3 handlers) [GIN-debug] GET /debug/pprof/goroutine --> github.com/gin-gonic/gin.WrapH.func1 (3 handlers) [GIN-debug] GET /debug/pprof/heap --> github.com/gin-gonic/gin.WrapH.func1 (3 handlers) [GIN-debug] GET /debug/pprof/mutex --> github.com/gin-gonic/gin.WrapH.func1 (3 handlers) [GIN-debug] GET /debug/pprof/threadcreate --> github.com/gin-gonic/gin.WrapH.func1 (3 handlers) [GIN-debug] GET /metrics --> github.com/gin-gonic/gin.WrapH.func1 (5 handlers) [GIN-debug] GET /-/ping --> github.com/taosdata/taosadapter/v3/controller/ping.Controller.Init.func1 (5 handlers) [GIN-debug] POST /rest/sql --> github.com/taosdata/taosadapter/v3/controller/rest.(Restful).sql-fm (8 handlers) [GIN-debug] POST /rest/sql/:db --> github.com/taosdata/taosadapter/v3/controller/rest.(Restful).sql-fm (8 handlers) [GIN-debug] POST /rest/sql/:db/vgid --> github.com/taosdata/taosadapter/v3/controller/rest.(Restful).tableVgID-fm (7 handlers) [GIN-debug] GET /rest/login/:user/:password --> github.com/taosdata/taosadapter/v3/controller/rest.(Restful).des-fm (6 handlers) [GIN-debug] POST /rest/upload --> github.com/taosdata/taosadapter/v3/controller/rest.(Restful).upload-fm (7 handlers) [GIN-debug] GET /rest/ws --> github.com/taosdata/taosadapter/v3/controller/ws/query.(QueryController).Init.func1 (5 handlers) [GIN-debug] GET /rest/schemaless --> github.com/taosdata/taosadapter/v3/controller/ws/schemaless.(SchemalessController).Init.func1 (5 handlers) [GIN-debug] GET /rest/stmt --> github.com/taosdata/taosadapter/v3/controller/ws/stmt.(STMTController).Init.func1 (5 handlers) [GIN-debug] GET /rest/tmq --> github.com/taosdata/taosadapter/v3/controller/ws/tmq.(TMQController).Init.func1 (5 handlers) [GIN-debug] GET /genauth/:user/:password/:key --> github.com/taosdata/taosadapter/v3/plugin.RegisterGenerateAuth.func1 (5 handlers) 08/30 03:40:13.925555 00000030 taos_ADAPTER info "init plugin prometheus/v1" model=plugin [GIN-debug] POST /prometheus/v1/remote_read/:db --> github.com/taosdata/taosadapter/v3/plugin/prometheus.(Plugin).Read-fm (7 handlers) [GIN-debug] POST /prometheus/v1/remote_write/:db --> github.com/taosdata/taosadapter/v3/plugin/prometheus.(Plugin).Write-fm (7 handlers) 08/30 03:40:13.925807 00000030 taos_ADAPTER info "init plugin statsd/v1" model=plugin 08/30 03:40:13.928741 00000030 taos_ADAPTER info "statsd disabled" model=statsd 08/30 03:40:13.928761 00000030 taos_ADAPTER info "init plugin collectd/v1" model=plugin 08/30 03:40:13.930026 00000030 taos_ADAPTER info "collectd disabled" model=collectd 08/30 03:40:13.930043 00000030 taos_ADAPTER info "init plugin influxdb/v1" model=plugin [GIN-debug] POST /influxdb/v1/write --> github.com/taosdata/taosadapter/v3/plugin/influxdb.(Influxdb).write-fm (7 handlers) 08/30 03:40:13.930255 00000030 taos_ADAPTER info "init plugin node_exporter/v1" model=plugin 08/30 03:40:13.933019 00000030 taos_ADAPTER info "node_exporter disabled" model=NodeExporter 08/30 03:40:13.933046 00000030 taos_ADAPTER info "init plugin opentsdb/v1" model=plugin [GIN-debug] POST /opentsdb/v1/put/json/:db --> github.com/taosdata/taosadapter/v3/plugin/opentsdb.(Plugin).insertJson-fm (7 handlers) [GIN-debug] POST /opentsdb/v1/put/telnet/:db --> github.com/taosdata/taosadapter/v3/plugin/opentsdb.(Plugin).insertTelnet-fm (7 handlers) 08/30 03:40:13.933268 00000030 taos_ADAPTER info "init plugin opentsdb_telnet/v1" model=plugin 08/30 03:40:13.935158 00000030 taos_ADAPTER info "opentsdb_telnet disabled" model=opentsdb_telnet 08/30 03:40:13.935588 00000030 taos_ADAPTER info "all plugin init finish" model=plugin 08/30 03:40:13.935604 00000030 taos_ADAPTER info "all plugin start finish" model=plugin 08/30 03:40:13.935714 00000030 taos_ADAPTER info "Running in terminal." model=main 08/30 03:40:13.965899 00000030 taos_ADAPTER info "server on : 6041" model=main Illegal instruction (core dumped) h@testserver:~$

sangshuduo commented 1 year ago

什么 CPU 指令集的系统?

royalier commented 1 year ago

cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU 3060 @ 2.40GHz stepping : 6 microcode : 0xd0 cpu MHz : 1596.029 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti tpr_shadow dtherm bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bogomips : 4788.08 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:

processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU 3060 @ 2.40GHz stepping : 6 microcode : 0xd0 cpu MHz : 1596.029 cache size : 4096 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti tpr_shadow dtherm bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bogomips : 4788.08 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:

royalier commented 1 year ago

我尝试了其他的安装方式: root@4127f253e63f:~# dpkg -i TDengine-server-3.1.0.3-Linux-x64.deb Selecting previously unselected package tdengine. (Reading database ... 16877 files and directories currently installed.) Preparing to unpack TDengine-server-3.1.0.3-Linux-x64.deb ... Unpacking tdengine (3.1.0.3) ... Setting up tdengine (3.1.0.3) ... ./post.sh: line 107: /var/log/taos/tdengine_install.log: No such file or directory Start to install TDengine... ./post.sh: line 107: /var/log/taos/tdengine_install.log: No such file or directory

System hostname is: 4127f253e63f

Enter FQDN:port (like h1.taosdata.com:6030) of an existing TDengine cluster node to join OR leave it blank to build one:

Enter your email address for priority support or enter empty to skip: cp: cannot stat '%{init_d_dir}/taosd': No such file or directory update-rc.d: error: unable to read /etc/init.d/taosd

To configure TDengine : edit /etc/taos/taos.cfg To start TDengine : update-rc.d taosd default for the first time : service taosd start after To access TDengine : taos -h 4127f253e63f to login into TDengine server

TDengine is installed successfully! Processing triggers for libc-bin (2.27-3ubuntu1.6) ... root@4127f253e63f:~# service taosd start taosd: unrecognized service root@4127f253e63f:~# taos read /etc/localtime error, reason:No such file or directoryThere is not /etc/timezone. Welcome to the TDengine Command Line Interface, Client Version:3.1.0.3 Copyright (c) 2022 by TDengine, all rights reserved.

Illegal instruction (core dumped) root@4127f253e63f:~#

royalier commented 1 year ago

root@4127f253e63f:~/TDengine/debug# cmake .. -DCPUTYPE=aarch64 -Wno-dev Current system: Linux Current system processor: x86_64 -- The shell is: dash

-- The current OS is Ubuntu -- input cpuType: aarch64 -- Platform arch:arm64 -- DEPS_DIR: arm C Compiler: /usr/bin/cc (GNU, 7.5.0) CXX Compiler: /usr/bin/c++ (GNU, 7.5.0) -- Project source directory: /root/TDengine -- Project binary files output path: /root/TDengine/debug -- Project executable files output path: /root/TDengine/debug/build/bin -- Project library files output path: /root/TDengine/debug/build/lib

Will build taos_tools!

-- git log result:3014e4c5cc2fdb3595ad6483d831c3414125eaed

-- ============= compile version parameter information start ============= -- version: 3.1.0.4.alpha -- compatible: 3.0.0.0 -- commit id: 3014e4c5cc2fdb3595ad6483d831c3414125eaed -- build date: 2023-08-31 09:09:35 -- build type: -- type: stable -- cpu: aarch64 -- os: Linux -- ============= compile version parameter information end ============= BUILD_HTTP is off, use taosAdapter -- Configuring done -- Generating done -- Build files have been written to: /root/TDengine/contrib/deps-download [ 1%] Performing update step for 'geos' [ 2%] No configure step for 'geos' [ 4%] No build step for 'geos' [ 5%] No install step for 'geos' [ 6%] No test step for 'geos' [ 8%] Completed 'geos' [ 12%] Built target geos [ 13%] Performing update step for 'libuv' [ 15%] No configure step for 'libuv' [ 16%] No build step for 'libuv' [ 18%] No install step for 'libuv' [ 19%] No test step for 'libuv' [ 20%] Completed 'libuv' [ 25%] Built target libuv [ 26%] Performing update step for 'taosadapter' Current branch main is up to date. [ 27%] No configure step for 'taosadapter' [ 29%] No build step for 'taosadapter' [ 30%] No install step for 'taosadapter' [ 31%] No test step for 'taosadapter' [ 33%] Completed 'taosadapter' [ 37%] Built target taosadapter [ 38%] Performing update step for 'taos-tools' Current branch main is up to date. [ 40%] No configure step for 'taos-tools' [ 41%] No build step for 'taos-tools' [ 43%] No install step for 'taos-tools' [ 44%] No test step for 'taos-tools' [ 45%] Completed 'taos-tools' [ 50%] Built target taos-tools [ 51%] Performing update step for 'zlib' [ 52%] No configure step for 'zlib' [ 54%] No build step for 'zlib' [ 55%] No install step for 'zlib' [ 56%] No test step for 'zlib' [ 58%] Completed 'zlib' [ 62%] Built target zlib [ 63%] Performing update step for 'lz4' [ 65%] No configure step for 'lz4' [ 66%] No build step for 'lz4' [ 68%] No install step for 'lz4' [ 69%] No test step for 'lz4' [ 70%] Completed 'lz4' [ 75%] Built target lz4 [ 76%] Performing update step for 'cjson' [ 77%] No configure step for 'cjson' [ 79%] No build step for 'cjson' [ 80%] No install step for 'cjson' [ 81%] No test step for 'cjson' [ 83%] Completed 'cjson' [ 87%] Built target cjson [100%] Built target rocksdb -- CXXXX STATUS CONFIG: -Werror -Wno-reserved-user-defined-literal -Wno-literal-suffix -Werror=return-type -fPIC -O3 -Wformat=2 -Wno-format-nonliteral -Wno-format-truncation -Wno-format-y2k -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=unused-function -Wno-errno=unused-private-field -Wno-error=unused-result CMake Error: Could not find cmake module file: CMakeDetermineHOMEPAGE_URLCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_HOMEPAGE_URL_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_HOMEPAGE_URL_COMPILER CMake Error: Could not find cmake module file: /root/TDengine/debug/CMakeFiles/3.10.2/CMakeHOMEPAGE_URLCompiler.cmake CMake Error: Could not find cmake module file: CMakeDeterminehttps://rocksdb.org/Compiler.cmake CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_https://rocksdb.org/_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_https://rocksdb.org/_COMPILER CMake Error: Could not find cmake module file: /root/TDengine/debug/CMakeFiles/3.10.2/CMakehttps://rocksdb.org/Compiler.cmake CMake Error at contrib/rocksdb/CMakeLists.txt:41 (project): No CMAKE_HOMEPAGE_URL_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_HOMEPAGE_URL_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakeHOMEPAGE_URLInformation.cmake CMake Error at contrib/rocksdb/CMakeLists.txt:41 (project): No CMAKE_https://rocksdb.org/_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_https://rocksdb.org/_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakehttps://rocksdb.org/Information.cmake CMake Error: CMAKE_HOMEPAGE_URL_COMPILER not set, after EnableLanguage CMake Error: CMAKE_https://rocksdb.org/_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/root/TDengine/debug/CMakeFiles/CMakeOutput.log". See also "/root/TDengine/debug/CMakeFiles/CMakeError.log". root@4127f253e63f:~/TDengine/debug#

royalier commented 1 year ago

docker -v

Docker version 24.0.2, build cb74dfc

sangshuduo commented 1 year ago

cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU 3060 @ 2.40GHz

应该是系统用了新 CPU 指令集加速功能,无法在这款旧 CPU 上运行

自己编译 x86 不应该指定 aarch64 ,aarch64 是 ARM 64 指令集

royalier commented 1 year ago

直接用build.sh也是没有办法编译通过 root@4127f253e63f:~/TDengine# ./build.sh Current system: Linux Current system processor: x86_64 -- The shell is: dash

-- The current OS is Ubuntu -- Current platform is x86 -- Platform arch:i386 -- DEPS_DIR: x86 C Compiler: /usr/bin/cc (GNU, 7.5.0) CXX Compiler: /usr/bin/c++ (GNU, 7.5.0) -- Project source directory: /root/TDengine -- Project binary files output path: /root/TDengine/debug -- Project executable files output path: /root/TDengine/debug/build/bin -- Project library files output path: /root/TDengine/debug/build/lib

Will build taos_tools!

-- git log result:3014e4c5cc2fdb3595ad6483d831c3414125eaed

-- ============= compile version parameter information start ============= -- version: 3.1.0.4.alpha -- compatible: 3.0.0.0 -- commit id: 3014e4c5cc2fdb3595ad6483d831c3414125eaed -- build date: 2023-08-31 08:12:33 -- build type: -- type: stable -- cpu: x64 -- os: Linux -- ============= compile version parameter information end ============= BUILD_HTTP is off, use taosAdapter -- Configuring done -- Generating done -- Build files have been written to: /root/TDengine/contrib/deps-download [ 1%] Performing update step for 'geos' [ 2%] No configure step for 'geos' [ 4%] No build step for 'geos' [ 5%] No install step for 'geos' [ 6%] No test step for 'geos' [ 8%] Completed 'geos' [ 12%] Built target geos [ 13%] Performing update step for 'libuv' [ 15%] No configure step for 'libuv' [ 16%] No build step for 'libuv' [ 18%] No install step for 'libuv' [ 19%] No test step for 'libuv' [ 20%] Completed 'libuv' [ 25%] Built target libuv [ 26%] Performing update step for 'taosadapter' Current branch main is up to date. [ 27%] No configure step for 'taosadapter' [ 29%] No build step for 'taosadapter' [ 30%] No install step for 'taosadapter' [ 31%] No test step for 'taosadapter' [ 33%] Completed 'taosadapter' [ 37%] Built target taosadapter [ 38%] Performing update step for 'taos-tools' Current branch main is up to date. [ 40%] No configure step for 'taos-tools' [ 41%] No build step for 'taos-tools' [ 43%] No install step for 'taos-tools' [ 44%] No test step for 'taos-tools' [ 45%] Completed 'taos-tools' [ 50%] Built target taos-tools [ 51%] Performing update step for 'zlib' [ 52%] No configure step for 'zlib' [ 54%] No build step for 'zlib' [ 55%] No install step for 'zlib' [ 56%] No test step for 'zlib' [ 58%] Completed 'zlib' [ 62%] Built target zlib [ 63%] Performing update step for 'lz4' [ 65%] No configure step for 'lz4' [ 66%] No build step for 'lz4' [ 68%] No install step for 'lz4' [ 69%] No test step for 'lz4' [ 70%] Completed 'lz4' [ 75%] Built target lz4 [ 76%] Performing update step for 'cjson' [ 77%] No configure step for 'cjson' [ 79%] No build step for 'cjson' [ 80%] No install step for 'cjson' [ 81%] No test step for 'cjson' [ 83%] Completed 'cjson' [ 87%] Built target cjson [100%] Built target rocksdb CMake Warning (dev) at contrib/cJson/CMakeLists.txt:4 (project): Policy CMP0048 is not set: project() command manages VERSION variables. Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at contrib/zlib/CMakeLists.txt:4 (project): Policy CMP0048 is not set: project() command manages VERSION variables. Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR

This warning is for project developers. Use -Wno-dev to suppress it.

-- CXXXX STATUS CONFIG: -msse4.2 -Werror -Wno-reserved-user-defined-literal -Wno-literal-suffix -Werror=return-type -fPIC -O3 -Wformat=2 -Wno-format-nonliteral -Wno-format-truncation -Wno-format-y2k -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=unused-function -Wno-errno=unused-private-field -Wno-error=unused-result CMake Error: Could not find cmake module file: CMakeDetermineHOMEPAGE_URLCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_HOMEPAGE_URL_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_HOMEPAGE_URL_COMPILER CMake Error: Could not find cmake module file: /root/TDengine/debug/CMakeFiles/3.10.2/CMakeHOMEPAGE_URLCompiler.cmake CMake Error: Could not find cmake module file: CMakeDeterminehttps://rocksdb.org/Compiler.cmake CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_https://rocksdb.org/_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_https://rocksdb.org/_COMPILER CMake Error: Could not find cmake module file: /root/TDengine/debug/CMakeFiles/3.10.2/CMakehttps://rocksdb.org/Compiler.cmake CMake Error at contrib/rocksdb/CMakeLists.txt:41 (project): No CMAKE_HOMEPAGE_URL_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_HOMEPAGE_URL_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakeHOMEPAGE_URLInformation.cmake CMake Error at contrib/rocksdb/CMakeLists.txt:41 (project): No CMAKE_https://rocksdb.org/_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_https://rocksdb.org/_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakehttps://rocksdb.org/Information.cmake CMake Error: CMAKE_HOMEPAGE_URL_COMPILER not set, after EnableLanguage CMake Error: CMAKE_https://rocksdb.org/_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/root/TDengine/debug/CMakeFiles/CMakeOutput.log". See also "/root/TDengine/debug/CMakeFiles/CMakeError.log".

royalier commented 1 year ago

使用docker启动其他的images,都一直运行正常。这个一个应用系统,还做了特别的基于硬件的程序吗?

sangshuduo commented 1 year ago

-- Current platform is x86 -- Platform arch:i386 TDengine 需要运行 64位系统,现在是32位

sangshuduo commented 1 year ago

使用docker启动其他的images,都一直运行正常。这个一个应用系统,还做了特别的基于硬件的程序吗?

对,TDengine 有利用新一代的 CPU 指令

hoilung commented 1 year ago

使用docker启动其他的images,都一直运行正常。这个一个应用系统,还做了特别的基于硬件的程序吗?

对,TDengine 有利用新一代的 CPU 指令

今天在一个老机子也发现类似问题,cpu是Inter的 E5400,安装也提示非法指令,docker安装不行,直接安装也不行, 具体所说的利用了cpu新指令是哪些指令?如何判别所在机器上是否支持?或者对cpu有哪些特殊要求,在官网文档也没有找到

royalier commented 1 year ago

终究是我们国人的一个比较好的opensource,刚开始有些异常, 本来想着先用国产的,结果我安装了一个星期没有搞定,重新安装系统,从各个途径安装,包括源代码安装。搞了太久了。然后我们开发有个电脑上安装客户端装不上去老是出问题。不能用。没办法,只有改用其他的数据库了

sangshuduo commented 1 year ago

使用docker启动其他的images,都一直运行正常。这个一个应用系统,还做了特别的基于硬件的程序吗?

对,TDengine 有利用新一代的 CPU 指令

今天在一个老机子也发现类似问题,cpu是Inter的 E5400,安装也提示非法指令,docker安装不行,直接安装也不行, 具体所说的利用了cpu新指令是哪些指令?如何判别所在机器上是否支持?或者对cpu有哪些特殊要求,在官网文档也没有找到

E5400 差不多是15年前的芯片了,AVX FMA SSE 指令都不支持

img_v2_d8ffc1a4-1357-44c0-ac34-2005438a224g