ClickHouse启动失败
启动操作
sudo systemctl start clickhouse-server
sudo systemctl stop clickhouse-server
sudo systemctl status clickhouse-server
不要使⽤service clickhouse-server或/etc/init.d/clickhouse-service
报错信息
[root@clickhouse04 ~]# systemctl status clickhouse-server
● clickhouse-server.service - ClickHouse Server (analytic DBMS for big data)
Loaded: loaded (/etc/systemd/system/clickhouse-server.service; enabled; vendor preset: disabled)
Active: activating (auto-restart)(Result: exit-code) since Fri 2021-02-26 13:47:35 CST; 16s ago
exited
Process: 6106 ExecStart=/usr/bin/clickhouse-server --config=/etc/l --pid-file=/run/clickhouse-server/clickhouse-server.pid (cod e=exited, status=232/ADDRESS_FAMILIES)
Main PID: 6106 (code=exited, status=232/ADDRESS_FAMILIES)
Feb 26 13:47:35 clickhouse04 systemd[1]: Unit clickhouse-server.service entered failed state.
Feb 26 13:47:35 clickhouse04 systemd[1]: clickhouse-server.service failed.
解决⽅案
指定配置⽂件路径
clickhouse-server --config-file=/etc/l
后台启动
nohup clickhouse-server --config-file=/etc/l &

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。