-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.2
-
Component/s: Admin
-
Environment:Linux CentOS 6.5
Linux localhost.localdomain 2.6.32-504.12.2.el6.x86_64 #1 SMP Wed Mar 11 22:03:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
-
Linux
MongoDB shell version: 3.0.2
connecting to: test
Server has startup warnings:
2015-05-05T11:04:43.619+0200 I CONTROL [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended. 2015-05-05T11:04:43.619+0200 I CONTROL [initandlisten] 2015-05-05T11:04:43.623+0200 I CONTROL [initandlisten] 2015-05-05T11:04:43.623+0200 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. 2015-05-05T11:04:43.623+0200 I CONTROL [initandlisten] ** We suggest setting it to 'never' 2015-05-05T11:04:43.623+0200 I CONTROL [initandlisten] 2015-05-05T11:04:43.623+0200 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. 2015-05-05T11:04:43.623+0200 I CONTROL [initandlisten] ** We suggest setting it to 'never' 2015-05-05T11:04:43.623+0200 I CONTROL [initandlisten]
> show dbs 2015-05-05T11:05:35.371+0200 I NETWORK DBClientCursor::init call() failed 2015-05-05T11:05:35.376+0200 E QUERY Error: error doing query: failed at DBQuery._exec (src/mongo/shell/query.js:83:36) at DBQuery.hasNext (src/mongo/shell/query.js:240:10) at DBCollection.findOne (src/mongo/shell/collection.js:187:19) at DB.runCommand (src/mongo/shell/db.js:58:41) at Mongo.getDBs (src/mongo/shell/mongo.js:45:37) at shellHelper.show (src/mongo/shell/utils.js:630:33) at shellHelper (src/mongo/shell/utils.js:524:36) at (shellhelp2):1:1 at src/mongo/shell/query.js:83 2015-05-05T11:05:35.378+0200 I NETWORK trying reconnect to 127.0.0.1:27017 (127.0.0.1) failed 2015-05-05T11:05:35.378+0200 W NETWORK Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused 2015-05-05T11:05:35.378+0200 I NETWORK reconnect 127.0.0.1:27017 (127.0.0.1) failed failed couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed > uname 2015-05-05T11:13:29.511+0200 E QUERY ReferenceError: uname is not defined at (shell):1:1