taosdata / taoskeeper

MIT License
6 stars 6 forks source link

服务启动时显示创建数据库错误 #72

Closed cyberkingkong closed 11 months ago

cyberkingkong commented 11 months ago

taoskeeper

WARN[0000] create database sql: create database if not exists log model=report module=taosKeeper ERRO[0000] create database log error ReadString: expects " or n, but found 4, error found in #10 byte of ...|ed_rows",4,4]],"rows|..., bigger context ...|"affected_rows"],"column_meta":[["affected_rows",4,4]],"rows":1,"data":[[0]]}|... error="ReadString: expects \" or n, but found 4, error found in #10 byte of ...|ed_rows\",4,4]],\"rows|..., bigger context ...|\"affected_rows\"],\"column_meta\":[[\"affected_rows\",4,4]],\"rows\":1,\"data\":[[0]]}|..." model=report module=taosKeeper panic: ReadString: expects " or n, but found 4, error found in #10 byte of ...|ed_rows",4,4]],"rows|..., bigger context ...|"affected_rows"],"column_meta":[["affected_rows",4,4]],"rows":1,"data":[[0]]}|...

goroutine 1 [running]: github.com/taosdata/taoskeeper/api.(Reporter).createDatabase(0x4000291440) /opt/taoskeeper/api/report.go:227 +0x180 github.com/taosdata/taoskeeper/api.(Reporter).Init(0x4000291440, {0x18a83d0, 0x4000329a00}) /opt/taoskeeper/api/report.go:60 +0xc4 main.main() /opt/taoskeeper/main.go:26 +0x60

运行环境: aarch64/ubuntu 16/go 1.21.4 下载了 aarch64-server安装,TDengine-server-2.6.0.34-Linux-aarch64.tar.gz,启动taosd/taosadapter 下载 taoskeeper源代码,按文档步骤编译、安装、运行后,出现以上错误