Mongodb std::exception::what(): basic_filebuf::underflow error reading the file: iostream error

Error Message:
2021-08-30T21:37:47.238+0800 F – [main] terminate() called. An exception is active; attempting to gather more information
2021-08-30T21:37:47.258+0800 F – [main] std::exception::what(): basic_filebuf::underflow error reading the file: iostream error
Actual exception type: std::__ios_failure

Solution:
Check whether the keyfile file path is correctly configured

Read More: