Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kuboard-etcd无法启动 #489

Open
zhangkaigod2000 opened this issue Dec 26, 2023 · 1 comment
Open

kuboard-etcd无法启动 #489

zhangkaigod2000 opened this issue Dec 26, 2023 · 1 comment

Comments

@zhangkaigod2000
Copy link

我这边一台kuboardv3的环境一直运行的很好,最近出现问题造成无法访问。发现是ETCD无法启动,查看ETCD的日志内容如下。
10.23.178.212 10.23.19.195 10.23.209.199
10.23.178.212 10.23.19.195 10.23.209.199
10.23.178.212=http://10.23.178.212:2382,10.23.19.195=http://10.23.19.195:2382,10.23.209.199=http://10.23.209.199:2382
{"level":"warn","ts":"2023-12-26T05:08:52.699Z","caller":"etcdmain/etcd.go:577","msg":"found invalid file under data directory","filename":"backup.db.part","data-dir":"/data"}
{"level":"info","ts":"2023-12-26T05:08:52.700Z","caller":"etcdmain/etcd.go:134","msg":"server has been already initialized","data-dir":"/data","dir-type":"member"}
{"level":"info","ts":"2023-12-26T05:08:52.701Z","caller":"embed/etcd.go:117","msg":"configuring peer listeners","listen-peer-urls":["http://10.23.209.199:2382"]}
{"level":"info","ts":"2023-12-26T05:08:52.701Z","caller":"embed/etcd.go:127","msg":"configuring client listeners","listen-client-urls":["http://10.23.209.199:2381"]}
{"level":"info","ts":"2023-12-26T05:08:52.701Z","caller":"embed/etcd.go:303","msg":"starting an etcd server","etcd-version":"3.4.16","git-sha":"d19fbe541","go-version":"go1.12.17","go-os":"linux","go-arch":"amd64","max-cpu-set":2,"max-cpu-available":2,"member-initialized":true,"name":"10.23.209.199","data-dir":"/data","wal-dir":"","wal-dir-dedicated":"","member-dir":"/data/member","force-new-cluster":false,"heartbeat-interval":"100ms","election-timeout":"1s","initial-election-tick-advance":true,"snapshot-count":10000,"snapshot-catchup-entries":5000,"initial-advertise-peer-urls":["http://10.23.209.199:2382"],"listen-peer-urls":["http://10.23.209.199:2382"],"advertise-client-urls":["http://10.23.209.199:2381"],"listen-client-urls":["http://10.23.209.199:2381"],"listen-metrics-urls":[],"cors":[""],"host-whitelist":[""],"initial-cluster":"","initial-cluster-state":"new","initial-cluster-token":"","quota-size-bytes":2147483648,"pre-vote":false,"initial-corrupt-check":false,"corrupt-check-time-interval":"0s","auto-compaction-mode":"periodic","auto-compaction-retention":"0s","auto-compaction-interval":"0s","discovery-url":"","discovery-proxy":""}
2023-12-26 05:08:52.703084 W | pkg/fileutil: check file permission: directory "/data" exist, but the permission is "drwxr-xr-x". The recommended permission is "-rwx------" to prevent possible unprivileged access to the data.
{"level":"info","ts":"2023-12-26T05:09:02.705Z","caller":"etcdserver/backend.go:86","msg":"db file is flocked by another process, or taking too long","path":"/data/member/snap/db","took":"10.000417327s"}
{"level":"warn","ts":"2023-12-26T05:09:09.166Z","caller":"snap/snapshotter.go:268","msg":"found unexpected non-snap file; skipping","path":"backup.db"}
{"level":"info","ts":"2023-12-26T05:09:09.167Z","caller":"etcdserver/server.go:451","msg":"recovered v2 store from snapshot","snapshot-index":19751975,"snapshot-size":"10 kB"}

不知道为什么,有没有同样遇到过的他哦那个学帮忙看看。

@zhangkaigod2000
Copy link
Author

可能无法解决了!大家有没有什么kuboard的替代产品推荐?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant