Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aborted during start up #214

Closed
mozz85 opened this issue Nov 17, 2022 · 3 comments
Closed

aborted during start up #214

mozz85 opened this issue Nov 17, 2022 · 3 comments

Comments

@mozz85
Copy link

mozz85 commented Nov 17, 2022

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
Copy link
Author

mozz85 commented Nov 17, 2022

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
Copy link
Contributor

raffertyyu commented Nov 18, 2022

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

such as

mkdir home/{db,log}

@mozz85
Copy link
Author

mozz85 commented Nov 18, 2022

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

@mozz85 mozz85 closed this as completed Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants