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

Strange problem no responses from mongo-clients on Ubuntu

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Shell, Stability, Usability
    • None
    • MongoDB shell version: 1.8.4
      MongoDB shell version: 2.0.2
      Ubuntu 11.04
      Linux dev 2.6.18-274.7.1.el5.028stab095.1 #1 SMP Mon Oct 24 20:49:24 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux
    • Linux

    Description

      After a server crash, I am having problems to get the Mongo environment working as it was before.

      When I start mongod, no clients can connect anymore. No responses from the server when starting Mongo shell and Mongoid.

      I tried mongod --repair already in combination with removing mongodb.lock

      The logfile right now always shows:

              • SERVER RESTARTED *****

      Sun Feb 26 22:16:06 [initandlisten] MongoDB starting : pid=7929 port=27017 dbpath=/data/db/ 64-bit host=dev
      Sun Feb 26 22:16:06 [initandlisten]
      Sun Feb 26 22:16:06 [initandlisten] ** WARNING: You are running in OpenVZ. This is known to be broken!!!
      Sun Feb 26 22:16:06 [initandlisten]
      Sun Feb 26 22:16:06 [initandlisten] db version v2.0.2, pdfile version 4.5
      Sun Feb 26 22:16:06 [initandlisten] git version: 514b122d308928517f5841888ceaa4246a7f18e3
      Sun Feb 26 22:16:06 [initandlisten] build info: Linux bs-linux64.10gen.cc 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41
      Sun Feb 26 22:16:06 [initandlisten] options:

      { fork: true, logappend: true, logpath: "/var/log/mongodb.log" }

      Sun Feb 26 22:16:06 [initandlisten] journal dir=/data/db/journal
      Sun Feb 26 22:16:06 [initandlisten] recover : no journal files present, no recovery needed
      Sun Feb 26 22:16:06 [initandlisten] waiting for connections on port 27017
      Sun Feb 26 22:16:06 [websvr] admin web console waiting for connections on port 28017
      Sun Feb 26 22:17:06 [clientcursormon] mem (MB) res:13 virt:116 mapped:0
      Sun Feb 26 22:22:06 [clientcursormon] mem (MB) res:13 virt:116 mapped:0
      Sun Feb 26 22:23:06 [clientcursormon] mem (MB) res:13 virt:180 mapped:0
      Sun Feb 26 22:23:41 got kill or ctrl c or hup signal 15 (Terminated), will terminate after current cmd ends
      Sun Feb 26 22:23:41 [interruptThread] now exiting
      Sun Feb 26 22:23:41 dbexit:
      Sun Feb 26 22:23:41 [interruptThread] shutdown: going to close listening sockets...
      Sun Feb 26 22:23:41 [interruptThread] closing listening socket: 6
      Sun Feb 26 22:23:41 [interruptThread] closing listening socket: 7
      Sun Feb 26 22:23:41 [interruptThread] closing listening socket: 8
      Sun Feb 26 22:23:41 [interruptThread] removing socket file: /tmp/mongodb-27017.sock
      Sun Feb 26 22:23:41 [interruptThread] shutdown: going to flush diaglog...
      Sun Feb 26 22:23:41 [interruptThread] shutdown: going to close sockets...
      Sun Feb 26 22:23:41 [interruptThread] shutdown: waiting for fs preallocator...
      Sun Feb 26 22:23:41 [interruptThread] shutdown: lock for final commit...
      Sun Feb 26 22:23:41 [interruptThread] shutdown: final commit...
      Sun Feb 26 22:23:41 [interruptThread] shutdown: closing all files...
      Sun Feb 26 22:23:41 [interruptThread] closeAllFiles() finished
      Sun Feb 26 22:23:41 [interruptThread] journalCleanup...
      Sun Feb 26 22:23:41 [interruptThread] removeJournalFiles
      Sun Feb 26 22:23:42 [interruptThread] shutdown: removing fs lock...
      Sun Feb 26 22:23:42 dbexit: really exiting now
      Mon Feb 27 11:56:07 [initandlisten] MongoDB starting : pid=3989 port=27017 dbpath=/data/db/ 64-bit

        • WARNING: You are running in OpenVZ. This is known to be broken!!!

      Mon Feb 27 11:56:07 [initandlisten] db version v1.8.4, pdfile version 4.5
      Mon Feb 27 11:56:07 [initandlisten] git version: 81f12749a15e3d158b1b16bab6bc3faea538e166
      Mon Feb 27 11:56:07 [initandlisten] build sys info: Linux bs-linux64.10gen.cc 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41
      Mon Feb 27 11:56:07 [initandlisten] waiting for connections on port 27017
      Mon Feb 27 11:56:07 [websvr] web admin interface listening on port 28017

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmu patrick mulder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: