Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9143

Could not start mongodb arbiter after hard reset because of mongod.lock exist.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 2.4.1
    • None
    • Replication
    • ALL

    Description

      After hard reset and start mongodb arbiter, it not start, because mongod.lock exist.
      After manually remove mongod.lock arbiter start fine.

      Wed Mar 27 18:09:36.674 [initandlisten] MongoDB starting : pid=1960 port=27019 dbpath=/mongodb/arbdata 64-bit host=node61.cl$
      Wed Mar 27 18:09:36.674 [initandlisten] db version v2.4.1
      Wed Mar 27 18:09:36.674 [initandlisten] git version: 1560959e9ce11a693be8b4d0d160d633eee75110
      Wed Mar 27 18:09:36.674 [initandlisten] build info: Linux ip-10-2-29-40 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:2$
      Wed Mar 27 18:09:36.674 [initandlisten] allocator: tcmalloc
      Wed Mar 27 18:09:36.674 [initandlisten] options: { auth: "true", config: "/etc/mongoarb.conf", dbpath: "/mongodb/arbdata", k$
      **************
      Unclean shutdown detected.
      Please visit http://dochub.mongodb.org/core/repair for recovery instructions.
      *************
      Wed Mar 27 18:09:36.674 [initandlisten] exception in initAndListen: 12596 old lock file, terminating
      Wed Mar 27 18:09:36.674 dbexit:
      Wed Mar 27 18:09:36.674 [initandlisten] shutdown: going to close listening sockets...
      Wed Mar 27 18:09:36.674 [initandlisten] shutdown: going to flush diaglog...
      Wed Mar 27 18:09:36.674 [initandlisten] shutdown: going to close sockets...
      Wed Mar 27 18:09:36.675 [initandlisten] shutdown: waiting for fs preallocator...
      Wed Mar 27 18:09:36.675 [initandlisten] shutdown: closing all files...
      Wed Mar 27 18:09:36.675 [initandlisten] closeAllFiles() finished
      Wed Mar 27 18:09:36.675 dbexit: really exiting now

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aivus Antipenko Ilya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: