Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5317

When connecting via compass, mongodb server is failing because of the lock

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Connectivity
    • Labels:
      None

      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

      ```

            Assignee:
            Unassigned Unassigned
            Reporter:
            kenan@sensidev.net Mirkənan Kazımzadə
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: