Help: Another server instance in same directory is already running
when i run a query. Service restart. And then I see the error log. Message:
2019.05.08 22:09:40.754275 [ 1 ] {}
So probably ClickHouse server is already running? Check the contents /data/clickhouse/data/status file
I Solve it. THANK you!
I am also facing the same problem.
@lzy305 Can you help us how did you solve this?
Got same issue, how to solve it ? @lzy305
@sliontc Check the logs.
If it will not help, run clickhouse-server manually with the command:
sudo -u clickhouse /usr/bin/clickhouse server --config-file /etc/clickhouse-server/config.xml
I meet this question too.the real reason is that we had started one more clickhouse-server.
if you " ps -ef | grep clickhouse-server " and "service clickhouse-server status" you will find
the pid is different.so you just need kill the started pid and restart clickhouse-server
this is my solution
cat ./status
ps -ef | grep clickhouse-server
kill -9 $pid
service clickhouse-server start