使用单机快速部署,在启动的时候tikv启动超时

[2020/05/31 10:26:02.550 +08:00] [FATAL] [lib.rs:481] [“called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: “No such file or directory” }”] [backtrace=“stack backtrace:\ 0: tikv_util::set_panic_hook::{{closure}}\ at components/tikv_util/src/lib.rs:480\ 1: std::panicking::rust_panic_with_hook\ at src/libstd/panicking.rs:475\ 2: rust_begin_unwind\ at src/libstd/panicking.rs:375\ 3: core::panicking::panic_fmt\ at src/libcore/panicking.rs:84\ 4: core::result::unwrap_failed\ at src/libcore/result.rs:1188\ 5: core::result::Result<T,E>::unwrap\ at /rustc/0de96d37fbcc54978458c18f5067cd9817669bc8/src/libcore/result.rs:956\ cmd::server::TiKVServer::init_fs\ at cmd/src/server.rs:310\ cmd::server::run_tikv\ at cmd/src/server.rs:95\ 6: tikv_server::main\ at cmd/src/bin/tikv-server.rs:159\ 7: std::rt::lang_start::{{closure}}\ at /rustc/0de96d37fbcc54978458c18f5067cd9817669bc8/src/libstd/rt.rs:67\ 8: main\ 9: __libc_start_main\ 10: \ ”] [location=src/libcore/result.rs:1188] [thread_name=main]

你好! 上面log提示说是文件/目录不存在,不知道所需文件/目录是否配置正确? 在请问一下,参照哪个教程,或者用什么工具部署的?把参考连接发给我看看?

第三种:使用 TiUP cluster 在单机上模拟生产环境部署步骤

Starting component tikv Starting instance tikv 43.225.126.218:20162 Starting instance tikv 43.225.126.218:20160 Starting instance tikv 43.225.126.218:20161 Start tikv 43.225.126.218:20160 success retry error: operation timed out after 1m0s tikv 43.225.126.218:20162 failed to start: timed out waiting for port 20162 to be started after 1m0s, please check the log of the instance retry error: operation timed out after 1m0s tikv 43.225.126.218:20161 failed to start: timed out waiting for port 20161 to be started after 1m0s, please check the log of the instance

Error: failed to start: failed to start tikv: tikv 43.225.126.218:20162 failed to start: timed out waiting for port 20162 to be started after 1m0s, please check the log of the instance: timed out waiting for port 20162 to be started after 1m0s 有一个就可以启动成功

端口冲突?请检查一下

你好,tiup 的具体命令是什么呢?

请提供一下你部署时的拓扑文件,另外在 TiKV 节点 43.225.126.218:20162 的部署目录执行 ls -al 一下,谢谢

这样的么

https://pingcap.com/docs-cn/stable/quick-start-with-tidb/#第三种使用-tiup-cluster-在单机上模拟生产环境部署步骤

找到问题了 ,应该是一个磁盘本身就占用满了 导致文件不能写入

1 个赞

:grinning:

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。