[COMPASS-5317] When connecting via compass, mongodb server is failing because of the lock Created: 23/Nov/21  Updated: 09/Aug/22

Status: Open
Project: Compass
Component/s: Connectivity
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Mirkənan Kazımzadə Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2021-11-23-14-06-41-395.png    

 Description   

Problem Statement/Rationale

When I connect to my database with compass, the server is failing, pymongo can not connect, saying connection refused, basically because it can't reach mongodb server.

Steps to Reproduce

Connect to same db with compass

Expected Results

What do you expect to happen?

Actual Results

What do you observe is happening?

Additional Notes

It can be fixed by removing lock and restarting `mongod`

 

```bashsudo rm /var/lib/mongodb/mongod.lock
sudo mongod --repair
sudo systemctl start mongod

```


Generated at Wed Feb 07 22:39:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.