Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to run mongo in a LSF cluster computing environment where I have no admin control.

Our sysadmin installed mongodb, but it is not running. Any ideas on what should I ask the server admin to do for it to run? Or if I could run it locally?

[node1382]allelix> mongod --dbpath /users/dnaiel/ma/mongodb/
Tue Oct  2 21:33:48 [initandlisten] MongoDB starting : pid=22436 port=27017     dbpath=/seq/epigenome01/allelix/ma/mongodb/ 64-bit host=node1382
Tue Oct  2 21:33:48 [initandlisten] 
Tue Oct  2 21:33:48 [initandlisten] ** WARNING: You are running on a NUMA machine.
Tue Oct  2 21:33:48 [initandlisten] **          We suggest launching mongod like this to    avoid performance problems:
Tue Oct  2 21:33:48 [initandlisten] **              numactl --interleave=all mongod [other options]
Tue Oct  2 21:33:48 [initandlisten] 
Tue Oct  2 21:33:48 [initandlisten] db version v2.2.0, pdfile version 4.5
Tue Oct  2 21:33:48 [initandlisten] git version: f5e83eae9cfbec7fb7a071321928f00d1b0c5207
Tue Oct  2 21:33:48 [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:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_49
Tue Oct  2 21:33:48 [initandlisten] options: { dbpath: "/users/dnaiel/ma/mongodb/" }
Tue Oct  2 21:33:48 [initandlisten] journal dir=users/dnaiel/ma/mongodb/journal
Tue Oct  2 21:33:48 [initandlisten] recover begin
Tue Oct  2 21:33:48 [initandlisten] info no lsn file in journal/ directory
Tue Oct  2 21:33:48 [initandlisten] recover lsn: 0
Tue Oct  2 21:33:48 [initandlisten] recover /seq/epigenome01/allelix/ma/mongodb/journal/j._0
Tue Oct  2 21:33:48 [initandlisten] recover cleaning up
Tue Oct  2 21:33:48 [initandlisten] removeJournalFiles
Tue Oct  2 21:33:48 [initandlisten] recover done
Tue Oct  2 21:33:48 [websvr] admin web console waiting for connections on port 28017
Tue Oct  2 21:33:48 [initandlisten] waiting for connections on port 27017

It basically waits forever and cannot start mongodb. These servers are not webservers but they do have network access, it's a cloud computing LSF environment system.

Any advice would be welcome, thanks in advance.

share|improve this question

migrated from stackoverflow.com Oct 3 '12 at 19:44

This question came from our site for professional and enthusiast programmers.

2  
Based on that output, it looks like mongod has started and is waiting for connections on the default port (27017). Have you tried opening another terminal window and running mongo to connect to the server? Also .. you should have a look at the NUMA information, as this can cause serious performance issues. –  Stennie Oct 3 '12 at 2:28
    
Thanks. Yes, it wouldn't connect either... [node1391]allelix> mongo MongoDB shell version: 2.2.0 connecting to: test Wed Oct 3 11:23:59 Error: couldn't connect to server 127.0.0.1:27017 src/mongo/shell/mongo.js:91 exception: connect failed –  Dnaiel Oct 3 '12 at 15:24
1  
Is is possible you have a firewall blocking connections from localhost to localhost? It appears as though you have the server running; you could also do ps | grep mongod to confirm mongod is running before running the mongo command. –  Stennie Oct 5 '12 at 5:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.