vitessio / vitess

Vitess is a database clustering system for horizontal scaling of MySQL.
http://vitess.io
Apache License 2.0
18.61k stars 2.1k forks source link

Bug Report: etcd, vtcltd "already running" message on startup #15954

Open erdong01 opened 5 months ago

erdong01 commented 5 months ago

Overview of the Issue

Starting etcd... ERROR: etcd is already running. Exiting. Starting vtctld... ERROR: vtctld could not be started!

Reproduction Steps

https://vitess.io/docs/19.0/get-started/local/#start-a-single-keyspace-cluster

Binary Version

vtgate version Version: 19.0.4 (Git revision 2c56724549a0fe9262a10ea5e8ffad8594d51a29 branch 'HEAD') built on Wed May  8 12:02:36 UTC 2024 by runner@fv-az702-164 using go1.22.3 linux/amd64

Operating System and Environment details

NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Linux 5.15.0-101-generic

x86_64

Log Fragments

No response

deepthi commented 5 months ago

This only happens if you already have a cluster running that hasn't been cleaned up. Please check for running processes using ps or similar tool.