Posts

Showing posts from October, 2015

how to get how many processors running in windows

Image
open cmd type echo %NUMBER_OF_PROCESSORS% or  Ctrl + Shift + Esc. opened Windows Task Manager

WWW::Search::NCBI::PubMed missing file XML::LibXML XML::LibXSLT

  just type in shell   sudo apt - get install libxml - libxslt - perl sudo perl -MCPAN -e shell install WWW::Search::NCBI::PubMed       ....................................................     enjoy

Configure failed for XML-LibXSLT-1.94.

just type in shell sudo apt - get install libxml - libxslt - perl

Failed to connect to Mongo db

if u get this error MongoDB shell version: 3.0.3 connecting to: test 2015-05-29T23:58:49.450+0200 W NETWORK Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused 2015-05-29T23:58:49.452+0200 E QUERY Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at connect (src/mongo/shell/mongo.js:179:14) at (connect):1:6 at src/mongo/shell/mongo.js:179 exception: connect failed  ----------------------------------------------------------------------------------------   solve      1. enter mongod then leave the window (it leaves a message) 2. then in a new window use mongo   ......................................................................... enjoy.........................................

Mongodb startup warnings after update or install

if u get this error MongoDB shell version: 3.0.1 connecting to: test Server has startup warnings: 2015-04-03T13:37:53.536+0530 I CONTROL [initandlisten] 2015-04-03T13:37:53.536+0530 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. 2015-04-03T13:37:53.536+0530 I CONTROL [initandlisten] ** We suggest setting it to 'never' 2015-04-03T13:37:53.536+0530 I CONTROL [initandlisten] 2015-04-03T13:37:53.537+0530 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. 2015-04-03T13:37:53.537+0530 I CONTROL [initandlisten] ** We suggest setting it to 'never' 2015-04-03T13:37:53.537+0530 I CONTROL [initandlisten] ---------------------------------------------------  solve sudo gedit /etc/rc.local add these lines after exit 0 if test -f /sys/kernel/mm/transparent_hugepage/khugepaged/defrag; then echo 0 > /sys/kernel/mm/transparent_hugepage