天天看点

TDengine常见错误

目录

  • ​​1.RPC 通信相关错误​​
  • ​​Authentication required​​
  • ​​Authentication failure​​
  • ​​Number of sessions reached limit​​
  • ​​Unable to establish connection​​
  • ​​Client and server's time is not synchronized​​
  • ​​Database not ready​​
  • ​​Unable to resolve FQDN​​
  • ​​Invalid app version​​
  • ​​2.客户端常见错误​​
  • ​​Invalid Operation​​
  • ​​Syntax error in SQL​​
  • ​​Database not specified or available​​
  • ​​Table does not exist​​
  • ​​Timestamp data out of range​​
  • ​​3.管理节点mnode常见错误​​
  • ​​DNode already exists​​
  • ​​Out of DNodes​​
  • ​​Cluster cfg inconsistent​​
  • ​​Cluster id not match​​
  • ​​Database not available​​
  • ​​4.数据节点dnode和虚拟节点vnode常见错误​​
  • ​​No permission for disk files in dnode​​
  • ​​Database memory is full for commit failed​​
  • ​​Database memory is full for waiting commit​​
  • ​​5.查询常见错误​​
  • ​​No diskspace for query​​
  • ​​System out of memory​​

1.RPC 通信相关错误

Authentication required

需要提供用户名和密码

Authentication failure

用户认证失败

Number of sessions reached limit

连接数超过限制

相关参数:​​

​maxShellConns​

​​,​

​maxConnections​

​。

Unable to establish connection

无法连接到数据库,常见原因是网络连接有问题。

Client and server’s time is not synchronized

客户端和服务端时间不同步

Database not ready

当前数据不可用,常见原因是vnode正在同步数据。

Unable to resolve FQDN

无法解析FQDN。通常是域名解析配置有问题或没有配置。

Invalid app version

客户端和服务端版本不匹配。

2.客户端常见错误

Invalid Operation

操作不支持

Syntax error in SQL

SQL语法错误

Database not specified or available

没有指定数据库,taosc 方式需要先 use 数据库;RESTful方式需要指定数据库名。

Table does not exist

表不存在

Timestamp data out of range

输入数据的时间戳不在有效范围内

3.管理节点mnode常见错误

DNode already exists

节点已存在

Out of DNodes

通常发生在创建数据库时,副本数量大于节点数量。

Cluster cfg inconsistent

集群间节点配置信息不一致。

Cluster id not match

从firstEP获取的集群ID与本地存储的集群ID不匹配。

Database not available

数据库不可用,常见原因是vnode状态异常。

4.数据节点dnode和虚拟节点vnode常见错误

No permission for disk files in dnode

没有写权限,通常是启动taosd用户没有root权限。

Database memory is full for commit failed

Database memory is full for waiting commit

内存不足,造成数据无法落盘。

5.查询常见错误

No diskspace for query

System out of memory