docker-library / mongo

Docker Official Image packaging for MongoDB
https://www.mongodb.org/
Apache License 2.0
1.03k stars 619 forks source link

Operation not permitted\nActual exception type: std::system_error #695

Closed hxing-Do closed 5 months ago

hxing-Do commented 5 months ago

docker run -it --rm --user mongodb mongo:latest HELP!!!

{"t":{"$date":"2024-05-25T15:51:54.109+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}}
{"t":{"$date":"2024-05-25T15:51:54.112+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2024-05-25T15:51:54.112+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2024-05-25T15:51:54.114+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}}
{"t":{"$date":"2024-05-25T15:51:54.114+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}}
{"t":{"$date":"2024-05-25T15:51:54.114+00:00"},"s":"I",  "c":"CONTROL",  "id":5945603, "ctx":"main","msg":"Multi threading initialized"}
{"t":{"$date":"2024-05-25T15:51:54.114+00:00"},"s":"F",  "c":"CONTROL",  "id":6384300, "ctx":"main","msg":"Writing fatal message","attr":{"message":"terminate() called. An exception is active; attempting to gather more information\n"}}
{"t":{"$date":"2024-05-25T15:51:54.114+00:00"},"s":"F",  "c":"CONTROL",  "id":6384300, "ctx":"main","msg":"Writing fatal message","attr":{"message":"std::exception::what(): Operation not permitted\nActual exception type: std::system_error\n\n"}}
{"t":{"$date":"2024-05-25T15:51:54.114+00:00"},"s":"F",  "c":"CONTROL",  "id":6384300, "ctx":"main","msg":"Writing fatal message","attr":{"message":"\n"}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"main","msg":"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"560B79AE2278","b":"560B7201E000","o":"7AC4278","s":"_ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"38"},{"a":"560B79ADD6CB","b":"560B7201E000","o":"7ABF6CB","s":"_ZN5mongo12_GLOBAL__N_111myTerminateEv","C":"mongo::(anonymous namespace)::myTerminate()","s+":"DB"},{"a":"560B79C84E5A","b":"560B7201E000","o":"7C66E5A","s":"_ZN10__cxxabiv111__terminateEPFvvE","C":"__cxxabiv1::__terminate(void (*)())","s+":"A"},{"a":"560B79C84EC5","b":"560B7201E000","o":"7C66EC5","s":"_ZSt9terminatev","C":"std::terminate()","s+":"15"},{"a":"560B79C85019","b":"560B7201E000","o":"7C67019","s":"__cxa_throw","s+":"49"},{"a":"560B79D0ADE5","b":"560B7201E000","o":"7CECDE5","s":"_ZSt20__throw_system_errori","C":"std::__throw_system_error(int)","s+":"88"},{"a":"560B79D0B05D","b":"560B7201E000","o":"7CED05D","s":"_ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE","C":"std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())","s+":"2D"},{"a":"560B76E67AEC","b":"560B7201E000","o":"4E49AEC","s":"_ZN5mongo27startSignalProcessingThreadENS_13LogFileStatusE","C":"mongo::startSignalProcessingThread(mongo::LogFileStatus)","s+":"11C"},{"a":"560B75A799D4","b":"560B7201E000","o":"3A5B9D4","s":"_ZN5mongo11mongod_mainEiPPc","C":"mongo::mongod_main(int, char**)","s+":"D84"},{"a":"560B75A71DF5","b":"560B7201E000","o":"3A53DF5","s":"main","s+":"C"},{"a":"7FBA9D4EBD90","b":"7FBA9D4C2000","o":"29D90","s":"__libc_init_first","s+":"90"},{"a":"7FBA9D4EBE40","b":"7FBA9D4C2000","o":"29E40","s":"__libc_start_main","s+":"80"},{"a":"560B75A71D25","b":"560B7201E000","o":"3A53D25","s":"_start","s+":"25"}],"processInfo":{"mongodbVersion":"7.0.9","gitVersion":"3ff3a3925c36ed277cf5eafca5495f2e3728dd67","compiledModules":[],"uname":{"sysname":"Linux","release":"3.10.0-862.3.3.el7.x86_64","version":"#1 SMP Fri Jun 15 04:15:27 UTC 2018","machine":"x86_64"},"somap":[{"b":"560B7201E000","elfType":3,"buildId":"3024004D2AF89603"},{"b":"7FBA9D4C2000","path":"/lib/x86_64-linux-gnu/libc.so.6","elfType":3,"buildId":"962015AA9D133C6CBCFB31EC300596D7F44D3348"}]}}},"tags":[]}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B79AE2278","b":"560B7201E000","o":"7AC4278","s":"_ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"38"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B79ADD6CB","b":"560B7201E000","o":"7ABF6CB","s":"_ZN5mongo12_GLOBAL__N_111myTerminateEv","C":"mongo::(anonymous namespace)::myTerminate()","s+":"DB"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B79C84E5A","b":"560B7201E000","o":"7C66E5A","s":"_ZN10__cxxabiv111__terminateEPFvvE","C":"__cxxabiv1::__terminate(void (*)())","s+":"A"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B79C84EC5","b":"560B7201E000","o":"7C66EC5","s":"_ZSt9terminatev","C":"std::terminate()","s+":"15"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B79C85019","b":"560B7201E000","o":"7C67019","s":"__cxa_throw","s+":"49"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B79D0ADE5","b":"560B7201E000","o":"7CECDE5","s":"_ZSt20__throw_system_errori","C":"std::__throw_system_error(int)","s+":"88"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B79D0B05D","b":"560B7201E000","o":"7CED05D","s":"_ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE","C":"std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())","s+":"2D"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B76E67AEC","b":"560B7201E000","o":"4E49AEC","s":"_ZN5mongo27startSignalProcessingThreadENS_13LogFileStatusE","C":"mongo::startSignalProcessingThread(mongo::LogFileStatus)","s+":"11C"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B75A799D4","b":"560B7201E000","o":"3A5B9D4","s":"_ZN5mongo11mongod_mainEiPPc","C":"mongo::mongod_main(int, char**)","s+":"D84"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B75A71DF5","b":"560B7201E000","o":"3A53DF5","s":"main","s+":"C"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"7FBA9D4EBD90","b":"7FBA9D4C2000","o":"29D90","s":"__libc_init_first","s+":"90"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"7FBA9D4EBE40","b":"7FBA9D4C2000","o":"29E40","s":"__libc_start_main","s+":"80"}}}
{"t":{"$date":"2024-05-25T15:51:54.180+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"main","msg":"Frame","attr":{"frame":{"a":"560B75A71D25","b":"560B7201E000","o":"3A53D25","s":"_start","s+":"25"}}}
LaurentGoderre commented 5 months ago

You may need to update your docker version and/or libseccomp