-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:OS: Ubuntu 20.04.4 LTS
Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell
Steps to Reproduce
- rs01:PRIMARY> db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1
- I did all the steps described here: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/
- systemctl daemon-reload
- service mongod start
- service mongod status
- mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-06-07 15:39:32 UTC; 3s ago
Docs: https://docs.mongodb.org/manual
Process: 15800 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=exited, status=14)
Main PID: 15800 (code=exited, status=14)
CPU: 58ms
Jun 07 15:39:32 copy-chat systemd[1]: Started MongoDB Database Server.
Jun 07 15:39:32 copy-chat mongod[15800]: {"t":
,"s":"I", "c":"CONTROL", "id":7484500, "ctx":"-","msg":"Environment variable MONGODB_CONFIG_OVERRIDE_NOFORK == 1, overridi>
Jun 07 15:39:32 copy-chat systemd[1]: mongod.service: Main process exited, code=exited, status=14/n/a
Jun 07 15:39:32 copy-chat systemd[1]: mongod.service: Failed with result 'exit-code'.
/var/log/mongodb/mongod.log
{"t":\{"$date":"2023-06-07T15:41:23.211+00:00"},"s":"I", "c":"CONTROL", "id":20698, "ctx":"-","msg":"***** SERVER RESTARTED *****"}
{"t":\{"$date":"2023-06-07T15:41:23.218+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":"2023-06-07T15:41:23.218+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWi>
{"t":\{"$date":"2023-06-07T15:41:23.218+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenC>
{"t":\{"$date":"2023-06-07T15:41:23.277+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namesp>
{"t":\{"$date":"2023-06-07T15:41:23.277+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","na>
{"t":\{"$date":"2023-06-07T15:41:23.277+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ShardSplitDonorService","namespace":>
{"t":\{"$date":"2023-06-07T15:41:23.277+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}
{"t":\{"$date":"2023-06-07T15:41:23.278+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":15838,"port":27017,"dbPath":"/var/lib/mongodb","architectu>
{"t":\{"$date":"2023-06-07T15:41:23.278+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"6.0.6","gitVersion":"26b4851a412cc8b9b4a18cdb6>
{"t":\{"$date":"2023-06-07T15:41:23.278+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":
{"name":"Ubuntu","version":"20.04"}}}
{"t":\{"$date":"2023-06-07T15:41:23.278+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"config":"/etc/mongod.conf","net":{"bindIp>
{"t":\{"$date":"2023-06-07T15:41:23.279+00:00"},"s":"E", "c":"NETWORK", "id":23024, "ctx":"initandlisten","msg":"Failed to unlink socket file","attr":{"path":"/tmp/mongodb-27017.sock","error":"Operation >
{"t":\{"$date":"2023-06-07T15:41:23.279+00:00"},"s":"F", "c":"ASSERT", "id":23091, "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":40486,"file":"src/mongo/transport/transport_layer_asio.cp>
{"t":\{"$date":"2023-06-07T15:41:23.279+00:00"},"s":"F", "c":"ASSERT", "id":23092, "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"}
Expected Results
What do you expect to happen?
Actual Results
What do you observe is happening?
Additional Notes
Any additional information that may be useful to include.
- is related to
-
SERVER-32216 With Mongo 3.6(in docker) we hit this error "Failed to unlink socket file /tmp/mongodb-27017.sock Operation not permitted"
- Closed
-
SERVER-32218 Fatal Assertion 40486 at src/mongo/transport/transport_layer_asio.cpp 170
- Closed