influxdb源碼中相關錯誤變量注釋
// ErrEngineClosed is returned when a caller attempts indirectly to
// access the shard's underlying engine.
ErrEngineClosed = errors.New("engine is closed")
最終猜測是沒有開啟數據庫引擎
# 修改配置文件/etc/influxdb/influxdb.conf
[data]
dir = "/var/lib/influxdb/data"
engine = "tsm1"
# 重啟數據庫
service influxdb restart
influxdb配置文件說明
# https://docs.gitlab.com/ee/administration/monitoring/performance/influxdb_configuration.html