Tencent / Tendis

Tendis is a high-performance distributed storage system fully compatible with the Redis protocol.
http://tendis.cn
Other
2.87k stars 317 forks source link

aborted during start up #214

Closed mozz85 closed 1 year ago

mozz85 commented 1 year ago

aborted during start up

here is the log

tendisplus.localhost.localdomain.root.log.INFO.20221117-152911.119789.txt

here is the config file

tendisplus.conf.txt

my environment

os: centos7.9 gcc:6.10 Tendis: 2.3.6

mozz85 commented 1 year ago

here is the coredump

(gdb) bt

0 0x00007fb825719387 in raise () from /lib64/libc.so.6

1 0x00007fb82571aa78 in abort () from /lib64/libc.so.6

2 0x0000000001d6fb5d in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95

3 0x0000000001ce1e36 in cxxabiv1::terminate (handler=) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47

4 0x0000000001ce1e81 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57

5 0x0000000001ce1f88 in cxxabiv1::cxa_throw (obj=obj@entry=0x7fb824c991c0, tinfo=0x20dddd8 ,

dest=0x1c75480 <std::experimental::filesystem::v1::__cxx11::filesystem_error::~filesystem_error()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:87

6 0x0000000001c6b375 in std::experimental::filesystem::v1::equivalent (p1=..., p2=...) at ../../../../../libstdc++-v3/src/filesystem/ops.cc:860

7 0x0000000001c40827 in tendisplus::KVStore::KVStore (this=0x7fb82537b280, id=..., path=...) at /opt/db_projects/Tendis-2.3.6/src/tendisplus/storage/kvstore.cpp:543

8 0x0000000000e12f41 in tendisplus::RocksKVStore::RocksKVStore (this=0x7fb82537b280, id=..., cfg=..., blockCache=..., enableRepllog=, mode=tendisplus::KVStore::READ_WRITE,

txnMode=tendisplus::RocksKVStore::TXN_PES, flag=0) at /opt/db_projects/Tendis-2.3.6/src/tendisplus/storage/rocks/rocks_kvstore.cpp:1916

9 0x0000000000a57254 in tendisplus::ServerEntry::startup (this=0x7fb824c4c810, cfg=...) at /opt/db_projects/Tendis-2.3.6/src/tendisplus/server/server_entry.cpp:408

10 0x0000000000418fdb in main (argc=, argv=) at /opt/db_projects/Tendis-2.3.6/src/tendisplus/server/main.cpp:133

(gdb)

raffertyyu commented 1 year ago

please ensure logdir and dir path in conf file already existed before you start tendisplus.

such as

mkdir home/{db,log}
mozz85 commented 1 year ago

thx a lot, man. it does help. how did you find it, if i may ask.