Hi Jochen, I am getting following after running below mentioned command command: echo 'db.serverStatus()' | ./mongo > server-status.txt
Log: MongoDB shell version: 3.2.9 connecting to: test 2016-09-26T19:47:17.598+0530 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused 2016-09-26T19:47:17.602+0530 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed : connect@src/mongo/shell/mongo.js:229:14 @(connect):1:6 Regards, Shrawan On Friday, 23 September 2016 19:17:20 UTC+5:30, Jochen Schalanda wrote: > > Hi Shrawan, > > that's not the command I mentioned. > > Cheers, > Jochen > > On Friday, 23 September 2016 15:41:22 UTC+2, Shrawan Bhagwat wrote: >> >> Hi Jochen, >> >> i have got following output after executing that command: >> >> ./mongo 192.168.178.228/Graylog >> MongoDB shell version: 3.2.9 >> connecting to: 192.168.178.228/Graylog >> Server has startup warnings: >> 2016-09-23T18:52:38.126+0530 I CONTROL [initandlisten] ** WARNING: You >> are running this process as the root user, which is not recommended. >> 2016-09-23T18:52:38.127+0530 I CONTROL [initandlisten] >> 2016-09-23T18:52:38.127+0530 I CONTROL [initandlisten] >> 2016-09-23T18:52:38.127+0530 I CONTROL [initandlisten] ** WARNING: >> /sys/kernel/mm/transparent_hugepage/enabled is 'always'. >> 2016-09-23T18:52:38.127+0530 I CONTROL [initandlisten] ** We >> suggest setting it to 'never' >> 2016-09-23T18:52:38.127+0530 I CONTROL [initandlisten] >> 2016-09-23T18:52:38.127+0530 I CONTROL [initandlisten] ** WARNING: >> /sys/kernel/mm/transparent_hugepage/defrag is 'always'. >> 2016-09-23T18:52:38.127+0530 I CONTROL [initandlisten] ** We >> suggest setting it to 'never' >> 2016-09-23T18:52:38.127+0530 I CONTROL [initandlisten] >> 2016-09-23T18:52:38.127+0530 I CONTROL [initandlisten] ** WARNING: soft >> rlimits too low. rlimits set to 1024 processes, 65536 files. Number of >> processes should be at least 32768 : 0.5 times number of files. >> 2016-09-23T18:52:38.127+0530 I CONTROL [initandlisten] >> MongoDB Enterprise > ^C >> bye >> >> Regards, >> Shrawan >> > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/fb432b31-c3cd-46e3-8620-6cea60b4b54e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.