docker run tdengine but exit, log: Illegal instruction (core dumped)
Bug Description docker run -d -p 6030:6030 -p 6041:6041 -p 6043-6049:6043-6049 -p 6043-6049:6043-6049/udp tdengine/tdengine:3.0.1.8
docker logs:
sysctl: setting key "kernel.core_pattern": Read-only file system
11/26 16:45:32.298613 00000034 TAOS_ADAPTER info "start server:00000034" model=main
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /debug/pprof/ --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] GET /debug/pprof/cmdline --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] GET /debug/pprof/profile --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] POST /debug/pprof/symbol --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] GET /debug/pprof/symbol --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] GET /debug/pprof/trace --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] GET /debug/pprof/allocs --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] GET /debug/pprof/block --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] GET /debug/pprof/goroutine --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] GET /debug/pprof/heap --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] GET /debug/pprof/mutex --> github.com/gin-contrib/pprof.pprofHandler.func1 (3 handlers)
[GIN-debug] GET /debug/pprof/threadcreate --> github.com/gin-contrib/pprof.pprofHandler.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 (7 handlers)
[GIN-debug] POST /rest/sql/:db --> github.com/taosdata/taosadapter/v3/controller/rest.(*Restful).sql-fm (7 handlers)
[GIN-debug] GET /rest/login/:user/:password --> github.com/taosdata/taosadapter/v3/controller/rest.(*Restful).des-fm (6 handlers)
[GIN-debug] GET /rest/ws --> github.com/taosdata/taosadapter/v3/controller/rest.(*Restful).ws-fm (6 handlers)
[GIN-debug] GET /rest/stmt --> github.com/taosdata/taosadapter/v3/controller/rest.(*Restful).stmt-fm (6 handlers)
[GIN-debug] GET /rest/tmq --> github.com/taosdata/taosadapter/v3/controller/rest.(*Restful).tmq-fm (6 handlers)
[GIN-debug] POST /rest/upload --> github.com/taosdata/taosadapter/v3/controller/rest.(*Restful).upload-fm (7 handlers)
[GIN-debug] GET /rest/schemaless --> github.com/taosdata/taosadapter/v3/controller/rest.(*Restful).schemalessWs-fm (6 handlers)
[GIN-debug] GET /genauth/:user/:password/:key --> github.com/taosdata/taosadapter/v3/plugin.RegisterGenerateAuth.func1 (5 handlers)
11/26 16:45:32.299229 00000034 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)
11/26 16:45:32.299481 00000034 TAOS_ADAPTER info "init plugin statsd/v1" model=plugin
11/26 16:45:32.301619 00000034 TAOS_ADAPTER info "statsd disabled" model=statsd
11/26 16:45:32.301643 00000034 TAOS_ADAPTER info "init plugin collectd/v1" model=plugin
11/26 16:45:32.302431 00000034 TAOS_ADAPTER info "collectd disabled" model=collectd
11/26 16:45:32.302445 00000034 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)
11/26 16:45:32.302606 00000034 TAOS_ADAPTER info "init plugin node_exporter/v1" model=plugin
11/26 16:45:32.304560 00000034 TAOS_ADAPTER info "node_exporter disabled" model=NodeExporter
11/26 16:45:32.304582 00000034 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)
11/26 16:45:32.304746 00000034 TAOS_ADAPTER info "init plugin opentsdb_telnet/v1" model=plugin
11/26 16:45:32.306040 00000034 TAOS_ADAPTER info "opentsdb_telnet disabled" model=opentsdb_telnet
11/26 16:45:32.306306 00000034 TAOS_ADAPTER info "all plugin init finish" model=plugin
11/26 16:45:32.306316 00000034 TAOS_ADAPTER info "all plugin start finish" model=plugin
11/26 16:45:32.306411 00000034 TAOS_ADAPTER info "Running in terminal." model=main
11/26 16:45:32.307528 00000034 TAOS_ADAPTER info "server on : 6041" model=main
run TDengine with single node.
11/26 16:45:32.755922 00000048 UTL apoll url not load
11/26 16:45:32.756099 00000048 UTL load from cfg file /etc/taos//taos.cfg success
11/26 16:45:32.756138 00000048 UTL env file:.env not load
11/26 16:45:32.756161 00000048 UTL load from env variables cfg success
11/26 16:45:32.757676 00000048 UTL apoll url not load
11/26 16:45:32.757871 00000048 UTL load from cfg file /etc/taos//taos.cfg success
11/26 16:45:32.757904 00000048 UTL env file:.env not load
11/26 16:45:32.757924 00000048 UTL load from env variables cfg success
11/26 16:45:32.758458 00000048 UTL global config
11/26 16:45:32.758481 00000048 UTL =================================================================
11/26 16:45:32.758494 00000048 UTL default firstEp bb94226df047:6030
11/26 16:45:32.758506 00000048 UTL default secondEp bb94226df047:6030
11/26 16:45:32.758518 00000048 UTL default fqdn bb94226df047
11/26 16:45:32.758530 00000048 UTL default serverPort 6030
11/26 16:45:32.758541 00000048 UTL default tempDir /tmp/
11/26 16:45:32.758552 00000048 UTL default minimalTmpDirGB 1.00
11/26 16:45:32.758572 00000048 UTL default shellActivityTimer 3
11/26 16:45:32.758584 00000048 UTL default compressMsgSize -1
11/26 16:45:32.758595 00000048 UTL default compressColData -1
11/26 16:45:32.758607 00000048 UTL default queryPolicy 1
11/26 16:45:32.758619 00000048 UTL default enableQueryHb 0
11/26 16:45:32.758631 00000048 UTL default querySmaOptimize 0
11/26 16:45:32.758642 00000048 UTL default queryPlannerTrace 0
11/26 16:45:32.758654 00000048 UTL default queryNodeChunkSize 32768
11/26 16:45:32.758665 00000048 UTL default queryUseNodeAllocator 1
11/26 16:45:32.758677 00000048 UTL default keepColumnName 0
11/26 16:45:32.758689 00000048 UTL default smlChildTableName
11/26 16:45:32.758700 00000048 UTL default smlTagName _tag_null
11/26 16:45:32.758711 00000048 UTL default smlDataFormat 0
11/26 16:45:32.758722 00000048 UTL default maxMemUsedByInsert 1024
11/26 16:45:32.758734 00000048 UTL default rpcRetryLimit 100
11/26 16:45:32.758746 00000048 UTL default rpcRetryInterval 15
11/26 16:45:32.758757 00000048 UTL default numOfTaskQueueThreads 4
11/26 16:45:32.758769 00000048 UTL default dataDir /var/lib/taos/
11/26 16:45:32.758780 00000048 UTL default minimalDataDirGB 2.00
11/26 16:45:32.758793 00000048 UTL default supportVnodes 8
11/26 16:45:32.758805 00000048 UTL default maxShellConns 50000
11/26 16:45:32.758817 00000048 UTL default statusInterval 1
11/26 16:45:32.758828 00000048 UTL default minSlidingTime 10
11/26 16:45:32.758839 00000048 UTL default minIntervalTime 1
11/26 16:45:32.758850 00000048 UTL default maxNumOfDistinctRes 10000000
11/26 16:45:32.758861 00000048 UTL default countAlwaysReturnValue 1
11/26 16:45:32.758873 00000048 UTL default queryBufferSize -1
11/26 16:45:32.758883 00000048 UTL default printAuth 0
11/26 16:45:32.758895 00000048 UTL default queryRspPolicy 0
11/26 16:45:32.758906 00000048 UTL default numOfRpcThreads 2
11/26 16:45:32.758917 00000048 UTL default numOfCommitThreads 2
11/26 16:45:32.758928 00000048 UTL default numOfMnodeReadThreads 1
11/26 16:45:32.758939 00000048 UTL default numOfVnodeQueryThreads 8
11/26 16:45:32.758950 00000048 UTL default numOfVnodeStreamThreads 4
11/26 16:45:32.758961 00000048 UTL default numOfVnodeFetchThreads 4
11/26 16:45:32.758973 00000048 UTL default numOfVnodeRsmaThreads 4
11/26 16:45:32.758985 00000048 UTL default numOfQnodeQueryThreads 8
11/26 16:45:32.758996 00000048 UTL default numOfSnodeSharedThreads 2
11/26 16:45:32.759008 00000048 UTL default numOfSnodeUniqueThreads 2
11/26 16:45:32.759019 00000048 UTL default rpcQueueMemoryAllowed 411188019
11/26 16:45:32.759031 00000048 UTL default monitor 1
11/26 16:45:32.759047 00000048 UTL default monitorInterval 30
11/26 16:45:32.759134 00000048 UTL default monitorFqdn
11/26 16:45:32.759146 00000048 UTL default monitorPort 6043
11/26 16:45:32.759158 00000048 UTL default monitorMaxLogs 100
11/26 16:45:32.759168 00000048 UTL default monitorComp 0
11/26 16:45:32.759179 00000048 UTL default telemetryReporting 1
11/26 16:45:32.759190 00000048 UTL default telemetryInterval 43200
11/26 16:45:32.759200 00000048 UTL default telemetryServer telemetry.taosdata.com
11/26 16:45:32.759211 00000048 UTL default telemetryPort 80
11/26 16:45:32.759222 00000048 UTL default transPullupInterval 2
11/26 16:45:32.759233 00000048 UTL default mqRebalanceInterval 2
11/26 16:45:32.759243 00000048 UTL default ttlUnit 86400
11/26 16:45:32.759254 00000048 UTL default ttlPushInterval 86400
11/26 16:45:32.759265 00000048 UTL default uptimeInterval 300
11/26 16:45:32.759277 00000048 UTL default queryRsmaTolerance 1000
11/26 16:45:32.759289 00000048 UTL default walFsyncDataSizeLimit 104857600
11/26 16:45:32.759300 00000048 UTL default udf 1
11/26 16:45:32.759313 00000048 UTL default udfdResFuncs
11/26 16:45:32.759325 00000048 UTL default udfdLdLibPath
11/26 16:45:32.759336 00000048 UTL default rpcRetryLimit 100
11/26 16:45:32.759348 00000048 UTL default rpcRetryInterval 15
11/26 16:45:32.759359 00000048 UTL default configDir /etc/taos/
11/26 16:45:32.759370 00000048 UTL default scriptDir /etc/taos/
11/26 16:45:32.759382 00000048 UTL default logDir /var/log/taos/
11/26 16:45:32.759392 00000048 UTL default minimalLogDirGB 1.00
11/26 16:45:32.759405 00000048 UTL default numOfLogLines 10000000
11/26 16:45:32.759418 00000048 UTL default asyncLog 1
11/26 16:45:32.759428 00000048 UTL default logKeepDays 0
11/26 16:45:32.759439 00000048 UTL default debugFlag 0
11/26 16:45:32.759450 00000048 UTL default simDebugFlag 143
11/26 16:45:32.759461 00000048 UTL default tmrDebugFlag 131
11/26 16:45:32.759473 00000048 UTL default uDebugFlag 131
11/26 16:45:32.759484 00000048 UTL default rpcDebugFlag 131
11/26 16:45:32.759494 00000048 UTL default jniDebugFlag 131
11/26 16:45:32.759505 00000048 UTL default qDebugFlag 131
11/26 16:45:32.759516 00000048 UTL default cDebugFlag 131
11/26 16:45:32.759527 00000048 UTL default dDebugFlag 131
11/26 16:45:32.759538 00000048 UTL default vDebugFlag 131
11/26 16:45:32.759549 00000048 UTL default mDebugFlag 131
11/26 16:45:32.759560 00000048 UTL default wDebugFlag 131
11/26 16:45:32.759571 00000048 UTL default sDebugFlag 131
11/26 16:45:32.759583 00000048 UTL default tsdbDebugFlag 131
11/26 16:45:32.759594 00000048 UTL default tqDebugFlag 131
11/26 16:45:32.759606 00000048 UTL default fsDebugFlag 131
11/26 16:45:32.759616 00000048 UTL default udfDebugFlag 131
11/26 16:45:32.759628 00000048 UTL default smaDebugFlag 131
11/26 16:45:32.759639 00000048 UTL default idxDebugFlag 131
11/26 16:45:32.759650 00000048 UTL default tdbDebugFlag 131
11/26 16:45:32.759661 00000048 UTL default metaDebugFlag 131
11/26 16:45:32.759673 00000048 UTL default timezone Etc/UTC (UTC, +0000)
11/26 16:45:32.759684 00000048 UTL default locale en_US.UTF-8
11/26 16:45:32.759695 00000048 UTL default charset UTF-8
11/26 16:45:32.759706 00000048 UTL default enableCoreFile 1
11/26 16:45:32.759733 00000048 UTL default numOfCores 4.00
11/26 16:45:32.759747 00000048 UTL default openMax 1048576
11/26 16:45:32.759758 00000048 UTL default streamMax 16
11/26 16:45:32.759769 00000048 UTL default pageSizeKB 4
11/26 16:45:32.759780 00000048 UTL default totalMemoryKB 4015508
11/26 16:45:32.759791 00000048 UTL default os sysname Linux
11/26 16:45:32.759802 00000048 UTL default os nodename bb94226df047
11/26 16:45:32.759812 00000048 UTL default os release 5.15.0-53-generic
11/26 16:45:32.759823 00000048 UTL default os version #59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 2022
11/26 16:45:32.759834 00000048 UTL default os machine x86_64
11/26 16:45:32.759845 00000048 UTL default version 3.0.1.8
11/26 16:45:32.759856 00000048 UTL default compatible_version 3.0.0.0
11/26 16:45:32.759867 00000048 UTL default gitinfo 9e47ea605620acab27e84e6280a91db79b744322
11/26 16:45:32.759878 00000048 UTL default buildinfo Built at 2022-11-24 18:16
11/26 16:45:32.759888 00000048 UTL =================================================================
11/26 16:45:32.765427 00000048 DND start to init dnode env
11/26 16:45:32.767974 00000048 DND dnode env is initialized
11/26 16:45:32.768015 00000048 DND start to init service
11/26 16:45:32.768195 00000048 DND node:dnode, start to open
11/26 16:45:32.768380 00000048 UTL worker:dnode-mgmt, queue:0x262dd10 is allocated, ahandle:0x262db50
11/26 16:45:32.768393 00000057 UTL worker:dnode-mgmt:0 is running, thread:00000057
11/26 16:45:32.768618 00000058 UDF start to init udfd
11/26 16:45:32.768709 00000058 UDF udfd LD_LIBRARY_PATH: ::/usr/lib
11/26 16:45:32.770177 00000058 UDF ERROR can not spawn udfd. path: /udfd, error: no such file or directory
11/26 16:45:32.804731 00000048 UDF udfd is cleaned up after spawn err
11/26 16:45:32.804813 00000048 DND ERROR failed to start udfd
11/26 16:45:32.837843 00000048 DND node:dnode, has been opened
11/26 16:45:32.838199 00000048 DND node:mnode, start to open
11/26 16:45:32.838437 00000048 WAL wal module is initialized, rsetId:3
11/26 16:45:32.839083 00000048 DND mnode start to deploy
11/26 16:45:32.839118 00000048 MND start to open mnode in /var/lib/taos//mnode
11/26 16:45:32.839973 00000048 MND mnode-wal is initialized
11/26 16:45:32.840024 00000048 MND start to init sdb in /var/lib/taos//mnode
11/26 16:45:32.840451 00000048 MND sdb init success
11/26 16:45:32.840475 00000048 MND mnode-sdb is initialized
11/26 16:45:32.840520 00000048 MND sdb table:trans is initialized
11/26 16:45:32.840535 00000048 MND mnode-trans is initialized
11/26 16:45:32.840567 00000048 MND sdb table:cluster is initialized
11/26 16:45:32.840582 00000048 MND mnode-cluster is initialized
11/26 16:45:32.840600 00000048 MND sdb table:mnode is initialized
11/26 16:45:32.840614 00000048 MND mnode-mnode is initialized
11/26 16:45:32.840641 00000048 MND sdb table:qnode is initialized
11/26 16:45:32.840826 00000048 MND mnode-qnode is initialized
11/26 16:45:32.840861 00000048 MND sdb table:snode is initialized
11/26 16:45:32.840874 00000048 MND mnode-snode is initialized
11/26 16:45:32.840905 00000048 MND sdb table:dnode is initialized
11/26 16:45:32.840919 00000048 MND mnode-dnode is initialized
11/26 16:45:32.840937 00000048 MND sdb table:user is initialized
11/26 16:45:32.840950 00000048 MND mnode-user is initialized
11/26 16:45:32.840980 00000048 MND mnode-grant is initialized
11/26 16:45:32.840997 00000048 MND mnode-privilege is initialized
11/26 16:45:32.841016 00000048 MND sdb table:acct is initialized
11/26 16:45:32.841043 00000048 MND mnode-acct is initialized
11/26 16:45:32.841078 00000048 MND sdb table:stream is initialized
11/26 16:45:32.841093 00000048 MND mnode-stream is initialized
11/26 16:45:32.841111 00000048 MND sdb table:topic is initialized
11/26 16:45:32.841125 00000048 MND mnode-topic is initialized
11/26 16:45:32.841160 00000048 MND sdb table:consumer is initialized
11/26 16:45:32.841178 00000048 MND mnode-consumer is initialized
11/26 16:45:32.841211 00000048 MND sdb table:subscribe is initialized
11/26 16:45:32.841236 00000048 MND mnode-subscribe is initialized
11/26 16:45:32.841261 00000048 MND sdb table:vgroup is initialized
11/26 16:45:32.841283 00000048 MND mnode-vgroup is initialized
11/26 16:45:32.841308 00000048 MND sdb table:stb is initialized
11/26 16:45:32.841325 00000048 MND mnode-stb is initialized
11/26 16:45:32.841350 00000048 MND sdb table:sma is initialized
11/26 16:45:32.841367 00000048 MND mnode-sma is initialized
11/26 16:45:32.841598 00000048 MND mnode-infos is initialized
11/26 16:45:32.841670 00000048 MND mnode-perfs is initialized
11/26 16:45:32.841690 00000048 MND sdb table:db is initialized
11/26 16:45:32.841703 00000048 MND mnode-db is initialized
11/26 16:45:32.841728 00000048 MND sdb table:func is initialized
11/26 16:45:32.841749 00000048 MND mnode-func is initialized
11/26 16:45:32.841767 00000048 MND mnode-sdb is initialized
11/26 16:45:32.842216 00000048 MND mnode-profile is initialized
11/26 16:45:32.842401 00000048 MND mnode-show is initialized
11/26 16:45:32.843304 00000048 MND mnode-query is initialized
11/26 16:45:32.843336 00000048 MND vgId:1, start to open sync, replica:1 selfIndex:0
11/26 16:45:32.843352 00000048 MND vgId:1, index:0 ep:bb94226df047:6030
Illegal instruction (core dumped)
Environment (please complete the following information):
- OS: [ubuntu-22.04.1-desktop-amd64]
- cpu: AMD Athlon(tm) II X4 640 Processor
- TDengine Version [3.0.1.8]
您好,如果是中国用户的话,可以添加微信 15652223354 做具体排查,
发的什么东西,你电话多少?
苏佳音
@.***
电子名片新出VIP模板啦,快来体验>>
扫一扫,
快速添加名片到手机
------------------ 原始邮件 ------------------
发件人: Yu Chen @.***>
发送时间: 2022-11-28 20:01:48
收件人:taosdata/TDengine @.***>
抄送:Subscribed @.***>
主题: Re: [taosdata/TDengine] docker run tdengine but exit, log: Illegalinstruction (core dumped) (Issue #18481)
您好,如果是中国用户的话,可以添加微信 15652223354 做具体排查,
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
3.0早期版本的问题都已经都优化了,但是3.0.2.5 之前可能与现在的最新版(3.3.0.0)并不兼容,所以无法直接升级。因此建议重新部署一下最新的 3.3.0.0 ,后续升级都很方便,直接安装最新版软件即可。
开源版支持操作系统范围:https://docs.taosdata.com/reference/support-platform/