Clickhouse: Init script is already running,start clickhouse-server-20.9

Created on 16 Sep 2020  Â·  2Comments  Â·  Source: ClickHouse/ClickHouse

I have installed clickhouse with the command:rpm -ivh *.rpm
clickhouse-client-20.9.1.4571-2.noarch.rpm
clickhouse-common-static-20.9.1.4571-2.x86_64.rpm
clickhouse-server-20.9.1.4571-2.noarch.rpm

then,

sudo service clickhouse-server start

Init script is already running

why?

question

Most helpful comment

It seems you're using systemd based distro.

Use only systemctl command

sudo systemctl start clickhouse-server
sudo systemctl stop clickhouse-server
sudo systemctl status clickhouse-server

And don't use service clickhouse-server or /etc/init.d/clickhouse-service

https://github.com/ClickHouse/ClickHouse/issues/14298

All 2 comments

It seems you're using systemd based distro.

Use only systemctl command

sudo systemctl start clickhouse-server
sudo systemctl stop clickhouse-server
sudo systemctl status clickhouse-server

And don't use service clickhouse-server or /etc/init.d/clickhouse-service

https://github.com/ClickHouse/ClickHouse/issues/14298

3ks,it‘s ok now。

Was this page helpful?
0 / 5 - 0 ratings