Question:
Use command
clickhouse-server --config-file=/etc/clickhouse-server/config.xml
Start ClickHouse
error:
Effective user of the process (root) does not match the owner of the data (clickhouse)
or
2022.01.13 00:32:46.999337 [ 3088 ] {} <Error> Application: DB::Exception: Effective user of the process (root) does not match the owner of the data (clickhouse). Run under 'sudo -u clickhouse'.
Solution:
Use the following commands:
# Satart ClickHouse
sudo systemctl start clickhouse-server
# Close ClickHouse
sudo systemctl stop clickhouse-server
# Check the status of ClickHouse
sudo systemctl status clickhouse-server
Read More:
- [Solved] Clickhouse Error: DB::Exception: Cannot lock file /var/lib/clickhouse/status
- How to Solve Clickhouse restart error: Cannot obtain value of path from config file…
- How to Solve ClickHouse Connect Error: Connection refuse
- [Solved] dbeaver Connect clickhouse Error: Unexpected driver error occurred while connecting to the database
- [Solved] waterdrop Import hive to clickhouse Error: Too many partitions for single INSERT block (more than 100).
- SpringBoot Access Clickhouse Error: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘jdbcConverter’ defined in class path resource [***.class]
- Clickhouse error: XXXX.XXXX_local20211009 (8fdb18e9-bb4c-42d8-8fdb-18e9bb4c02d8): auto…
- Error while trying to run project:unable to start debugging.the debugger is not properly installed. run setup to install or repa
- [Solved] Zabbix-server startup error: cannot start alert manager service: Cannot bind socket to “/var/run/zabbix/zabbix_server_alerter.sock”: [13] Permission denied.
- [Solved] Linux Start jar Error: nohup: failed to run command ‘java‘: No such file or directory
- [Solved] ROS sudo rosdep init error: could not be downloaded
- [Solved] Android Studio Run Error: Error while executing: am start -n
- [Solved] “Failed to run kubelet“ err=“failed to run Kubelet: misconfiguration: kubelet cgroup driver: \“cgrou
- [Solved] integrated swagger Start Error: Failed to start bean ‘documentationPluginsBootstrapper‘;
- CDH-hue : Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available
- Android studio can’t start, running error: warning: crash service did not start
- [Solved] Playbook Start Nginx Error: Unable to start service nginx: Job for nginx.service fd with error code
- ubuntu docker dm_task_run failed error [How to Solve]
- Gitlab Reconfigure is Stuck ruby_block[wait for redis service socket] action run
- [Solved] Springboot project Create to start Error: APPLICATION FAILED TO START