clickhouse报错:<Error> not match the owner of the data (clickhouse). Run under ‘sudo -u clickhouse‘.

clickhouse报错信息:

  Application: DB::Exception: Effective user of the process (root) does not match the owner of the data (clickhouse). Run under 'sudo -u clickhouse'.

报错截图:

clickhouse报错:<Error> not match the owner of the data (clickhouse). Run under ‘sudo -u clickhouse‘._第1张图片

报错分析 

用管理员身份sudo 重启clickhouse服务

解决方法:

停止服务:sudo systemctl stop clickhouse-server

启动服务:sudo systemctl start clickhouse-server

查看服务状态: sudo systemctl status clickhouse-server

 

你可能感兴趣的:(clickhouse,报错问题,clickhouse)