
Processing configuration file '/apps/conf/clickhouse-server/config.xml'.
Logging trace to /apps/logs/clickhouse-server/clickhouse-server.log
Logging errors to /apps/logs/clickhouse-server/clickhouse-server.err.log
Logging trace to console
2022.01.04 15:35:45.698159 [ 399760 ] {} <Information> SentryWriter: Sending crash reports is disabled
2022.01.04 15:35:45.713762 [ 399760 ] {} <Trace> Pipe: Pipe capacity is 1.00 MiB
2022.01.04 15:35:45.778619 [ 399760 ] {} <Information> : Starting ClickHouse Keeper 21.12.1.9017 with revision 54457, build id: 1E33508A410EF9C9, PID 399760
2022.01.04 15:35:45.778823 [ 399760 ] {} <Information> Application: starting up
2022.01.04 15:35:45.778863 [ 399760 ] {} <Information> Application: OS Name = Linux, OS Version = 3.10.0-862.9.1.el7.x86_64, OS Architecture = x86_64
2022.01.04 15:35:45.779748 [ 399760 ] {} <Debug> Application: Initializing DateLUT.
2022.01.04 15:35:45.779788 [ 399760 ] {} <Trace> Application: Initialized DateLUT with time zone 'Asia/Shanghai'.
2022.01.04 15:35:45.780169 [ 399760 ] {} <Information> Context: Cannot connect to ZooKeeper (or Keeper) before internal Keeper start, will wait for Keeper synchronously
2022.01.04 15:35:45.780204 [ 399760 ] {} <Debug> KeeperDispatcher: Initializing storage dispatcher
2022.01.04 15:35:45.783134 [ 399760 ] {} <Warning> KeeperLogStore: No logs exists in /apps/dbdat/clickhouse/coordination/log. It's Ok if it's the first run of clickhouse-keeper.
2022.01.04 15:35:45.783216 [ 399760 ] {} <Information> KeeperLogStore: force_sync enabled
2022.01.04 15:35:45.783243 [ 399760 ] {} <Debug> KeeperDispatcher: Waiting server to initialize
2022.01.04 15:35:45.783281 [ 399760 ] {} <Debug> KeeperStateMachine: Totally have 0 snapshots
2022.01.04 15:35:45.783305 [ 399760 ] {} <Debug> KeeperStateMachine: No existing snapshots, last committed log index 0
2022.01.04 15:35:45.783342 [ 399760 ] {} <Warning> KeeperLogStore: Removing all changelogs
2022.01.04 15:35:45.783374 [ 399760 ] {} <Trace> KeeperLogStore: Starting new changelog /apps/dbdat/clickhouse/coordination/log/changelog_1_100000.bin.zstd
2022.01.04 15:35:45.783445 [ 399760 ] {} <Information> KeeperServer: No config in log store and snapshot, probably it's initial run. Will use config from .xml on disk
2022.01.04 15:35:45.786780 [ 399760 ] {} <Error> RaftInstance: got exception: open: Address family not supported by protocol
2022.01.04 15:35:45.787127 [ 399760 ] {} <Error> void DB::KeeperDispatcher::initialize(const Poco::Util::AbstractConfiguration &, bool, bool): Code: 568. DB::Exception: Cannot allocate RAFT instance. (RAFT_ERROR), Stack trace (when copying this message, always include the lines below):

0. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0xa20c85a in /apps/svr/clickhouse2112/usr/bin/clickhouse-keeper
1. DB::KeeperServer::startup() @ 0x142cd613 in /apps/svr/clickhouse2112/usr/bin/clickhouse-keeper
2. DB::KeeperDispatcher::initialize(Poco::Util::AbstractConfiguration const&, bool, bool) @ 0x142b9f27 in /apps/svr/clickhouse2112/usr/bin/clickhouse-keeper
3. DB::Context::initializeKeeperDispatcher(bool) const @ 0x12c6cfde in /apps/svr/clickhouse2112/usr/bin/clickhouse-keeper
4. DB::Keeper::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0xa3b9c96 in /apps/svr/clickhouse2112/usr/bin/clickhouse-keeper
5. Poco::Util::Application::run() @ 0x16ef7d06 in /apps/svr/clickhouse2112/usr/bin/clickhouse-keeper
6. DB::Keeper::run() @ 0xa3b6f94 in /apps/svr/clickhouse2112/usr/bin/clickhouse-keeper
7. mainEntryClickHouseKeeper(int, char**) @ 0xa3b5977 in /apps/svr/clickhouse2112/usr/bin/clickhouse-keeper
8. main @ 0xa206cca in /apps/svr/clickhouse2112/usr/bin/clickhouse-keeper
9. __libc_start_main @ 0x21b35 in /usr/lib64/libc-2.17.so
10. _start @ 0xa09b1ee in /apps/svr/clickhouse2112/usr/bin/clickhouse-keeper
 (version 21.12.1.9017 (official build))
2022.01.04 15:35:45.789007 [ 399760 ] {} <Debug> KeeperDispatcher: Shutting down storage dispatcher
2022.01.04 15:35:45.789254 [ 399760 ] {} <Information> KeeperServer: RAFT doesn't start, shutdown not required
2022.01.04 15:35:45.789278 [ 399760 ] {} <Debug> KeeperDispatcher: Dispatcher shut down
2022.01.04 15:35:45.789403 [ 399769 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 42
2022.01.04 15:35:45.789450 [ 399779 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 37
2022.01.04 15:35:45.789571 [ 399784 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 32
2022.01.04 15:35:45.789696 [ 399796 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 20
2022.01.04 15:35:45.789696 [ 399797 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 19
2022.01.04 15:35:45.789736 [ 399799 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 17
2022.01.04 15:35:45.789858 [ 399807 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 9
2022.01.04 15:35:45.790247 [ 399768 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 47
2022.01.04 15:35:45.790840 [ 399772 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 45
2022.01.04 15:35:45.791700 [ 399774 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 43
2022.01.04 15:35:45.791711 [ 399773 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 44
2022.01.04 15:35:45.792596 [ 399775 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 41
2022.01.04 15:35:45.793035 [ 399776 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 40
2022.01.04 15:35:45.793483 [ 399778 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 38
2022.01.04 15:35:45.794059 [ 399777 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 39
2022.01.04 15:35:45.794528 [ 399780 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 36
2022.01.04 15:35:45.795165 [ 399782 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 34
2022.01.04 15:35:45.795197 [ 399785 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 31
2022.01.04 15:35:45.795204 [ 399786 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 30
2022.01.04 15:35:45.795191 [ 399783 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 33
2022.01.04 15:35:45.795210 [ 399788 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 28
2022.01.04 15:35:45.795607 [ 399781 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 35
2022.01.04 15:35:45.795223 [ 399789 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 27
2022.01.04 15:35:45.795220 [ 399787 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 29
2022.01.04 15:35:45.795616 [ 399790 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 26
2022.01.04 15:35:45.795632 [ 399791 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 25
2022.01.04 15:35:45.796511 [ 399792 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 24
2022.01.04 15:35:45.796525 [ 399793 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 23
2022.01.04 15:35:45.796520 [ 399794 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 22
2022.01.04 15:35:45.797407 [ 399795 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 21
2022.01.04 15:35:45.797413 [ 399771 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 46
2022.01.04 15:35:45.797413 [ 399800 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 16
2022.01.04 15:35:45.797418 [ 399802 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 14
2022.01.04 15:35:45.797834 [ 399801 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 15
2022.01.04 15:35:45.797425 [ 399803 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 13
2022.01.04 15:35:45.797827 [ 399798 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 18
2022.01.04 15:35:45.797838 [ 399804 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 12
2022.01.04 15:35:45.798306 [ 399806 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 10
2022.01.04 15:35:45.798330 [ 399811 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 5
2022.01.04 15:35:45.798320 [ 399809 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 7
2022.01.04 15:35:45.798330 [ 399810 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 6
2022.01.04 15:35:45.798337 [ 399812 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 4
2022.01.04 15:35:45.798342 [ 399813 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 3
2022.01.04 15:35:45.798358 [ 399770 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 0
2022.01.04 15:35:45.798310 [ 399808 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 8
2022.01.04 15:35:45.798361 [ 399815 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 1
2022.01.04 15:35:45.798361 [ 399814 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 2
2022.01.04 15:35:45.798733 [ 399805 ] {} <Information> RaftInstance: end of asio worker thread, remaining threads: 11
2022.01.04 15:35:45.799620 [ 399760 ] {} <Error> Application: DB::Exception: Cannot allocate RAFT instance
2022.01.04 15:35:45.799663 [ 399760 ] {} <Information> Application: shutting down
2022.01.04 15:35:45.799681 [ 399760 ] {} <Debug> Application: Uninitializing subsystem: Logging Subsystem
2022.01.04 15:35:45.799776 [ 399761 ] {} <Trace> BaseDaemon: Received signal -2
2022.01.04 15:35:45.799845 [ 399761 ] {} <Information> BaseDaemon: Stop SignalListener thread


I just `ln -s clickhouse clickhouse-keeper`
version 21.12.1.9017
how to deal with this problem?
const KeeperConfigurationAndSettingsPtr & settings_,
        const Poco::Util::AbstractConfiguration & config_,
        ResponsesQueue & responses_queue_,
        SnapshotsQueue & snapshots_queue_);
    
    void startup();
    
    
    void putLocalReadRequest(const KeeperStorage::RequestForSession & request);
    
    
    RaftAppendResult putRequestBatch(const KeeperStorage::RequestsForSessions & requests);
    
    std::vector<int64_t> getDeadSessions();
    nuraft::ptr<KeeperStateMachine> getKeeperStateMachine() const
    {
        return state_machine;
    }
    bool isLeader() const;
    bool isFollower() const;
    bool isObserver() const;
    bool isLeaderAlive() const;
    
    uint64_t getFollowerCount() const;
    
    uint64_t getSyncedFollowerCount() const;
    
    void waitInit();
    
    bool checkInit() const