Linux – Clickhouse: Failed to get D-Bus connection: Operation not permitted – CentOS 7, no docker image

centos7linuxservicesystemctl

I am trying to set up a Clickhouse server on my WSL which is based on CentOS. After following instructions in this page, and installing the DB successfully, when I want to enable the service I get following:

# systemctl enable clickhouse-server
clickhouse-server.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig clickhouse-server on

And when I want to start the service, I get the below error:

# systemctl start clickhouse-server
Failed to get D-Bus connection: Operation not permitted

I googled but all I got were issues about CentOS docker images which did not work for me.
Is there any way to make it work?

Best Answer

I've been googling the exact same thing.

apachectl start in Centos7 seems to work for me. Same with mariadb.

Not sure how helpful that is. I've run httpd directly. Maybe you could do the same with clickhouse?

Related Topic