Skip to content

Simple install fails: create_directories: Permission denied #623

Description

@softlion
std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in create_directories: Permission denied ["/var/lib/clickhouse/preprocessed_configs"], Stack trace (when copying this message, always include the lines below):

0. std::system_error::system_error(std::error_code, String const&) @ 0x000000001717d955 in /usr/bin/clickhouse
1. std::__fs::filesystem::filesystem_error::filesystem_error[abi:v15000](String const&, std::__fs::filesystem::path const&, std::error_code) @ 0x000000000c84d381 in /usr/bin/clickhouse
2. void std::__fs::filesystem::__throw_filesystem_error[abi:v15000]<String&, std::__fs::filesystem::path const&, std::error_code const&>(String&, std::__fs::filesystem::path const&, std::error_code const&) @ 0x000000001713445a in /usr/bin/clickhouse
3. std::__fs::filesystem::detail::(anonymous namespace)::ErrorHandler<bool>::report(std::error_code const&) const (.llvm.6363049823438148879) @ 0x00000000171377b6 in /usr/bin/clickhouse
4. std::__fs::filesystem::__create_directories(std::__fs::filesystem::path const&, std::error_code*) @ 0x0000000017137fb9 in /usr/bin/clickhouse
5. DB::ConfigProcessor::savePreprocessedConfig(DB::ConfigProcessor::LoadedConfig&, String) @ 0x0000000012fe567e in /usr/bin/clickhouse
6. BaseDaemon::initialize(Poco::Util::Application&) @ 0x000000000cae53dc in /usr/bin/clickhouse
7. DB::Server::initialize(Poco::Util::Application&) @ 0x000000000c88fc18 in /usr/bin/clickhouse
8. Poco::Util::Application::run() @ 0x00000000153b26ba in /usr/bin/clickhouse
9. DB::Server::run() @ 0x000000000c88f9d1 in /usr/bin/clickhouse
10. Poco::Util::ServerApplication::run(int, char**) @ 0x00000000153bb539 in /usr/bin/clickhouse
11. mainEntryClickHouseServer(int, char**) @ 0x000000000c88c8ca in /usr/bin/clickhouse
12. main @ 0x0000000007216ad8 in /usr/bin/clickhouse
13. ? @ 0x00007f989151c083
14. _start @ 0x0000000005f6f12e in /usr/bin/clickhouse

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions