Replies: 1 comment
-
[Jan 09 11:36:19 alidbsdev03 bash[193477]: {"level":"info","ts":"2025-01-](panic: tocommit(1979841) is out of range [lastIndex(1920809)]. Was the raft log corrupted, truncated, or lost?) 09T11:36:19.833889+0800","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"443a781955c3c91c became follower at term 35"} |
Beta Was this translation helpful? Give feedback.
-
etcd in alidbsdev01 and 02 is working fine. but alidbsdev03 etcd process exited with error code. Please help
root@alidbsdev03:/var/lib/etcd/member/snap# systemctl start etcd.service
Job for etcd.service failed because the control process exited with error code.
See "systemctl status etcd.service" and "journalctl -xeu etcd.service" for details.
root@alidbsdev03:/var/lib/etcd/member/snap# systemctl status etcd.service
● etcd.service - Etcd Server
Loaded: loaded (/etc/systemd/system/etcd.service; enabled; vendor preset: enabled)
Active: activating (start) since Fri 2025-01-10 17:36:07 HKT; 570ms ago
Main PID: 1960757 (etcd)
Tasks: 11 (limit: 75372)
Memory: 10.1M
CPU: 773ms
CGroup: /system.slice/etcd.service
└─1960757 /usr/local/bin/etcd
Jan 10 17:36:07 alidbsdev03 bash[1960757]: {"level":"info","ts":"2025-01-10T17:36:07.904337+0800","caller":"flags/flag.go:113","msg":"recognized and used environment variable","variable-name":"ETCD_NAME","variable-value":"alidbsdev03"}
Jan 10 17:36:07 alidbsdev03 bash[1960757]: {"level":"warn","ts":"2025-01-10T17:36:07.904593+0800","caller":"embed/config.go:673","msg":"Running http and grpc server on single port. This is not recommended for production."}
Jan 10 17:36:07 alidbsdev03 bash[1960757]: {"level":"info","ts":"2025-01-10T17:36:07.90465+0800","caller":"etcdmain/etcd.go:73","msg":"Running: ","args":["/usr/local/bin/etcd"]}
Jan 10 17:36:07 alidbsdev03 bash[1960757]: {"level":"warn","ts":"2025-01-10T17:36:07.9048+0800","caller":"etcdmain/etcd.go:446","msg":"found invalid file under data directory","filename":"membernew","data-dir":"/var/lib/etcd"}
Jan 10 17:36:07 alidbsdev03 bash[1960757]: {"level":"info","ts":"2025-01-10T17:36:07.905171+0800","caller":"etcdmain/etcd.go:116","msg":"server has been already initialized","data-dir":"/var/lib/etcd","dir-type":"member"}
Jan 10 17:36:07 alidbsdev03 bash[1960757]: {"level":"warn","ts":"2025-01-10T17:36:07.905208+0800","caller":"embed/config.go:673","msg":"Running http and grpc server on single port. This is not recommended for production."}
Jan 10 17:36:07 alidbsdev03 bash[1960757]: {"level":"info","ts":"2025-01-10T17:36:07.905226+0800","caller":"embed/etcd.go:127","msg":"configuring peer listeners","listen-peer-urls":["http://192.168.172.70:2380"]}
Jan 10 17:36:07 alidbsdev03 bash[1960757]: {"level":"info","ts":"2025-01-10T17:36:07.905441+0800","caller":"embed/etcd.go:135","msg":"configuring client listeners","listen-client-urls":["http://127.0.0.1:2379","http://192.168.172.70:237>
Jan 10 17:36:07 alidbsdev03 bash[1960757]: {"level":"info","ts":"2025-01-10T17:36:07.905574+0800","caller":"embed/etcd.go:309","msg":"starting an etcd server","etcd-version":"3.5.9","git-sha":"bdbbde998","go-version":"go1.19.9","go-os":>
Jan 10 17:36:08 alidbsdev03 bash[1960757]: {"level":"info","ts":"2025-01-10T17:36:08.227484+0800","caller":"etcdserver/backend.go:81","msg":"opened backend db","path":"/var/lib/etcd/member/snap/db","took":"321.696358ms"}
Beta Was this translation helpful? Give feedback.
All reactions