TIDB启动失败

[ERROR] [tempDir.go:76] [“The current temporary storage dir has been occupied by another instance, check tmp-storage-path config and make sure they are different.”] [TempStoragePath=“/data13/tidb/tmpStorage/1022_tidb/MC4wLjAuMDo0MDAwLzAuMC4wLjA6MTAwODA=/tmp-storage”] [error=“fslock: lock is held”] [stack=“github.com/pingcap/tidb/util/disk.InitializeTempDir\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/util/disk/tempDir.go:76\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:180\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250”]

[2024/05/22 15:51:27.173 +08:00] [FATAL] [terror.go:292] [“unexpected error”] [error=“fslock: lock is held”] [stack=“github.com/pingcap/tidb/parser/terror.MustNil\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/parser/terror/terror.go:292\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:181\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250”] [stack=“github.com/pingcap/tidb/parser/terror.MustNil\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/parser/terror/terror.go:292\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:181\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250”]
[tidb@cnhuam0dp06 scripts]$
Message from syslogd@localhost.localdomain at May 22 15:52:10 …

当前机器上是不是已经安装过呢

听起来是文件目录被占用了,是不是以前安装过,没有清理干净

参考这个看看

这个错误信息表明TiDB服务器尝试初始化临时存储目录时发现该目录已经被另一个实例占用。错误消息中的[error=“fslock: lock is held”]指出有一个文件锁正在被持有,阻止了新实例对该目录的访问。

目录被占用,之前的集群没清理干净