Replies: 1 comment
|
Not a permissions problem two different entrypoints read config from two different places
command = fmt::format("{} --config-file {} --pid-file {} --daemon", executable, config, pid_file);with
std::string BaseDaemon::getDefaultConfigFileName() const { return "config.xml"; }a bare relative name resolved against whatever directory you happened to launch from not And it fails silently instead of erroring Fix is one flag clickhouse server --config-file /etc/clickhouse-server/config.xmlor Side note the trailing |
Uh oh!
There was an error while loading. Please reload this page.
In kali linux I use 'clickhouse server start' this command to run clickhouse ( as a default user in kali linux ) but 'clickhouse server start' this command can not read the changes in /etc/clickhouse-server/config.xml file. but when i use 'sudo clickhouse start' this command can read the changes in /etc/clickhouse-server/config.xml file. I give the folder and the file full permission. Help me in this matter.
All reactions