Skip to content

ch start failed: Caught exception while loading metadata: #20055

@peaksnail

Description

@peaksnail

2021.02.04 10:53:13.119713 [ 27702 ] {} Application: Caught exception while loading metadata: Poco::Exception. Code: 1000, e.code() = 111, e.displayText() = Connection refused: 47.106.193.101:7017, Stack trace (when copying this message, always include the lines below):

  1. Poco::IOException::IOException(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) @ 0x13cda46c in /usr/bin/clickhouse
  2. Poco::Net::ConnectionRefusedException::ConnectionRefusedException(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) @ 0x13bf7299 in /usr/bin/clickhouse
  3. ? @ 0xa1a7374 in /usr/bin/clickhouse
  4. Poco::Net::SocketImpl::connect(Poco::Net::SocketAddress const&) @ 0x13c0ccb9 in /usr/bin/clickhouse
  5. Poco::MongoDB::Connection::Connection(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) @ 0x11b5f404 in /usr/bin/clickhouse
  6. DB::StorageMongoDB::StorageMongoDB(DB::StorageID const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, unsigned short, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::Context const&) @ 0x1177c4d5 in /usr/bin/clickhouse
  7. ? @ 0x1177d5af in /usr/bin/clickhouse
  8. DB::StorageFactory::get(DB::ASTCreateQuery const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, DB::Context&, DB::Context&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x10f1fbc6 in /usr/bin/clickhouse
  9. DB::createTableFromAST(DB::ASTCreateQuery, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, DB::Context&, bool) @ 0x11516e5f in /usr/bin/clickhouse
  10. ? @ 0x1151e6e1 in /usr/bin/clickhouse
  11. ? @ 0x1151f02d in /usr/bin/clickhouse
  12. ThreadPoolImpl::worker(std::__1::__list_iterator<ThreadFromGlobalPool, void*>) @ 0xa43d6ad in /usr/bin/clickhouse
  13. ThreadFromGlobalPool::ThreadFromGlobalPool<void ThreadPoolImpl::scheduleImpl(std::__1::function<void ()>, int, std::__1::optional)::'lambda1'()>(void&&, void ThreadPoolImpl::scheduleImpl(std::__1::function<void ()>, int, std::__1::optional)::'lambda1'()&&...)::'lambda'()::operator()() const @ 0xa43dd93 in /usr/bin/clickhouse
  14. ThreadPoolImplstd::__1::thread::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0xa43cc4d in /usr/bin/clickhouse
  15. ? @ 0xa43b3ff in /usr/bin/clickhouse
  16. start_thread @ 0x7dd5 in /usr/lib64/libpthread-2.17.so
  17. __clone @ 0xfdead in /usr/lib64/libc-2.17.so
    (version 20.8.3.18)
    2021.02.04 10:53:13.119847 [ 27702 ] {} Application: Shutting down storages.
    2021.02.04 10:53:13.119863 [ 27702 ] {} Context: Shutdown disk default
    2021.02.04 10:53:13.119941 [ 27729 ] {} SystemLog (system.query_log): Terminating
    2021.02.04 10:53:13.122805 [ 27702 ] {} Application: Shut down storages.
    2021.02.04 10:53:13.123002 [ 27702 ] {} Application: Destroyed global context.
    2021.02.04 10:53:13.124306 [ 27702 ] {} Application: Connection refused: 47.106.193.101:7017
    2021.02.04 10:53:13.124362 [ 27702 ] {} Application: shutting down
    2021.02.04 10:53:13.124374 [ 27702 ] {} Application: Uninitializing subsystem: Logging Subsystem
    2021.02.04 10:53:13.124544 [ 27710 ] {} BaseDaemon: Received signal -2
    2021.02.04 10:53:13.124595 [ 27710 ] {} BaseDaemon: Stop SignalListener thread

hi team

how to resolve the problem?

I find clickhouse-server try to connect port 7017 but I can't find any configuration about the port

ch works before I restart the server, and I don't change the configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    unexpected behaviourResult is unexpected, but not entirely wrong at the same time.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions