[SERVER-5107] Strange problem no responses from mongo-clients on Ubuntu Created: 27/Feb/12  Updated: 19/Mar/13  Resolved: 11/Mar/13

Status: Closed
Project: Core Server
Component/s: Shell, Stability, Usability
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: patrick mulder Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Operating System: Linux
Participants:

 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



 Comments   
Comment by Ian Whalen (Inactive) [ 11/Mar/13 ]

Hi Patrick, because of the amount of time transpired since you filed this ticket I'm resolving it as incomplete. My apologies for us not responding sooner. Please do add a comment if you're still able to recreate (especially on a 2.2.x or 2.4 release candidate) and I'll reopen this.

Comment by patrick mulder [ 27/Feb/12 ]

The mongo shell keeps idling on:

MongoDB shell version: 1.8.4
connecting to: test

Generated at Thu Feb 08 03:07:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.