MongoDB
Reference Links
Configuration
Docker
Image
Compose
Debugging/error handling
Useful links
Exit code 14
Keywords
"FileNotOpen", "Failed to open archive file"
Explanation
This exit code is formally defined as:
Exploration
This error typically implies a system-level issue that prevents MongoDB from starting successfully.
Known Fixes 1 - MongoDB by Bitnami running in Kubernetes
This fix addresses an issue where the disk space allocated for MongoDB was filled to 100%
Update the
statefulset
resource so that the container'scommand
issleep 1000000
.Allow the MongoDB
pod
instances to restartGet a shell into each of them and use
df -h
to view the available diskspaceObserve that
/bitnami/mongodb
is at 100% or near thatUsing MongoDB logs, figure out where it is trying to write to, in this fix, the issue was with the diagnostic data and the following command was run to free up disk space:
Reference/useful links
Last updated