【TDengine 使用环境】
测试环境
【TDengine 版本】
[root@bj-wlwpt-lc-prod-sjkfw ~]# docker exec tdengine taos --version
TDengine TSDB-OSS
taos version: 3.3.7.0 compatible_version: 3.0.0.0
build: Linux-x64 2025-07-29 09:50:26 +0800
【操作系统以及版本】
[root@bj-wlwpt-lc-prod-sjkfw ~]# hostnamectl
Static hostname: bj-wlwpt-lc-prod-sjkfw
Icon name: computer-vm
Chassis: vm
Machine ID: dc514a48bc3649d496bfef3b6cdd852b
Boot ID: f9e0aa526ea34545bd8f2275c124be16
Virtualization: kvm
Operating System: BigCloud Enterprise Linux For Euler 21.10U3 LTS
Kernel: Linux 4.19.90-2107.6.0.0248.35.oe1.bclinux.x86_64
Architecture: x86-64
【部署方式】容器/非容器部署
容器
【集群节点数】
无
【集群副本数】
无
【描述业务影响】
无法使用数据库
【问题复现路径/shan】做过哪些操作出现的问题
因为是内网环境部署,该服务器不允许开通外网,所以初期启动的联网注册无法跳过,我尝试将另一个有网络的服务器名称改成与测试服务器相同,然后将注册后的explorer-register.cfg文件复制到内网服务器,然是依然无法跳过注册
【遇到的问题:问题现象及影响】
【资源配置】
【报错完整截图】
docker run -d
–restart unless-stopped
–name tdengine
-v /usr/local/taos/dnode/data:/var/lib/taos
-v /usr/local/taos/dnode/log:/var/log/taos
-v /etc/taos:/etc/taos
-p 6030:6030 -p 6041:6041 -p 6043:6043
-p 6044-6049:6044-6049 -p 6044-6045:6044-6045/udp
-p 6060:6060
tdengine/tsdb:latest 这是我的启动指令
http://localhost:6041|******|bfe1fc06de05e3e77188c699bfdb3c7c3c067171 这是/etc/taos/explorer-register.cfg的内容,我上传文件提示503
可以参考下
30 为什么开源版 TDengine TSDB 的主进程会建立一个与公网的连接?
这个连接只会上报不涉及任何用户数据的最基本信息,用于官方了解产品在世界范围内的分布情况,进而优化产品,提升用户体验,具体采集项目为:集群名、操作系统版本、cpu 信息等。
该特性为可选配置项,在开源版中默认开启,具体参数为 telemetryReporting,在官方文档中有做说明,链接如下:参数简介
您可以随时关闭该参数,只需要在 taos.cfg 中修改 telemetryReporting 为 0,然后重启数据库服务即可。
将配置文件种您说的参数改为0后,我重启容器访问依然提示 explorer server 所在服务器无法访问互联网,请确认,我是用docker启动的,重启容器的指令是docker restart tdengine,我启动容器是将主机的/etc/taos配置持久化到容器中,例:-v /etc/taos:/etc/taos
########################################################
Configuration
########################################################
######### 0. Client only configurations #############
The interval for CLI to send heartbeat to mnode
shellActivityTimer 3
############### 1. Cluster End point ############################
The end point of the first dnode in the cluster to be connected to when this dnode or the CLI utility is started
firstEp hostname:6030
The end point of the second dnode to be connected to if the firstEp is not available
secondEp
############### 2. Configuration Parameters of current dnode #####
The FQDN of the host on which this dnode will be started. It can be IP address
fqdn hostname
The port for external access after this dnode is started
serverPort 6030
The maximum number of connections a dnode can accept
maxShellConns 5000
The directory for writing log files, if you are using Windows platform please change to Windows path
logDir /var/log/taos
All data files are stored in this directory, if you are using Windows platform please change to Windows path
dataDir /var/lib/taos
temporary file’s directory, if you are using Windows platform please change to Windows path
tempDir /tmp/
Switch for allowing to collect and report service usage information
telemetryReporting 1
Switch for allowing to collect and report crash information
crashReporting 1
The maximum number of vnodes supported by this dnode
supportVnodes 0
The interval of this dnode reporting status to mnode, [1..10] seconds
statusInterval 1
The minimum sliding window time, milli-second
minSlidingTime 10
The minimum time window, milli-second
minIntervalTime 10
The maximum allowed query buffer size in MB during query processing for each data node
-1 no limit (default)
0 no query allowed, queries are disabled
queryBufferSize -1
The compressed rpc message, option:
-1 (no compression)
0 (all message compressed),
> 0 (rpc message body which larger than this value will be compressed)
compressMsgSize -1
query retrieved column data compression option:
-1 (no compression)
0 (all retrieved column data compressed),
> 0 (any retrieved column size greater than this value all data will be compressed.)
compressColData -1
system time zone
timezone UTC-8
system time zone (for windows 10)
timezone Asia/Shanghai (CST, +0800)
system locale
locale en_US.UTF-8
system charset
charset UTF-8
stop writing logs when the disk size of the log folder is less than this value
minimalLogDirGB 1.0
stop writing temporary files when the disk size of the tmp folder is less than this value
minimalTmpDirGB 1.0
if free disk space is less than this value, this dnode will fail to start
minimalDataDirGB 2.0
enable/disable system monitor
monitor 1
The following parameter is used to limit the maximum number of lines in log files.
max number of lines per log filters
numOfLogLines 10000000
write log in async way: 1 - async, 0 - sync
asyncLog 1
time period of keeping log files, in days
logKeepDays 0
############ 3. Debug Flag and levels #############################################
The following parameters are used for debug purpose only by this dnode.
debugFlag is a 8 bits mask: FILE-SCREEN-UNUSED-HeartBeat-DUMP-TRACE_WARN-ERROR
Available debug levels are:
131: output warning and error
135: output debug, warning and error
143: output trace, debug, warning and error to log
199: output debug, warning and error to both screen and file
207: output trace, debug, warning and error to both screen and file
debug flag for all log type, take effect when non-zero value
debugFlag 0
debug flag for timer
tmrDebugFlag 131
debug flag for util
uDebugFlag 131
debug flag for rpc
rpcDebugFlag 131
debug flag for jni
jniDebugFlag 131
debug flag for query
qDebugFlag 131
debug flag for client driver
cDebugFlag 131
debug flag for dnode messages
dDebugFlag 135
debug flag for vnode
vDebugFlag 131
debug flag for meta management messages
mDebugFlag 135
debug flag for wal
wDebugFlag 135
debug flag for sync module
sDebugFlag 135
debug flag for tsdb
tsdbDebugFlag 131
debug flag for tq
tqDebugFlag 131
debug flag for fs
fsDebugFlag 131
debug flag for udf
udfDebugFlag 131
debug flag for sma
smaDebugFlag 131
debug flag for index
idxDebugFlag 131
debug flag for tdb
tdbDebugFlag 131
debug flag for meta
metaDebugFlag 131
generate core file when service crash
enableCoreFile 1
这是配置文件内容
system
(system)
关闭
2026 年1 月 10 日 02:11
10
此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。