centos

An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue.

Gem files will remain installed in /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.2 for inspection. Results logged to /var/www/discourse/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/mysql2-0.5.2/gem_make.out An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue. Make sure that gem install mysql2 -v ‘0.5.2’ –source ‘https://rubygems.org/’ succeeds before bundling. In Gemfile: mysql2 I found the best way to solve the problem. I think that you may missing …

An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue. Read More »

WARNING: /sys/kernel/mm/transparent_hugepage/enabled is ‘always’.

After I install MongoDB 3.2.3 in Centos 7, I received this error when I start mongo in shell. [code lang=”shell”] [[email protected] ~]# mongo MongoDB shell version: 3.2.3 connecting to: test Server has startup warnings: 2016-02-29T14:11:49.308-0500 I CONTROL [initandlisten] 2016-02-29T14:11:49.308-0500 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is ‘always’. 2016-02-29T14:11:49.308-0500 I CONTROL [initandlisten] ** We suggest setting …

WARNING: /sys/kernel/mm/transparent_hugepage/enabled is ‘always’. Read More »

WARNING: Cannot detect if NUMA interleaving is enabled. Failed to probe “/sys/devices/system/node/node1”: Permission denied

[code lang=”shell”] [[email protected] ~]# mongo MongoDB shell version: 3.2.3 connecting to: test Server has startup warnings: 2016-02-29T23:11:36.666+0700 I CONTROL [initandlisten] 2016-02-29T23:11:36.667+0700 I CONTROL [initandlisten] ** WARNING: Cannot detect if NUMA interleaving is enabled. Failed to probe "/sys/devices/system/node/node1": Permission denied 2016-02-29T23:11:36.667+0700 W CONTROL [initandlisten] 2016-02-29T23:11:36.667+0700 W CONTROL [initandlisten] Failed to probe "/sys/kernel/mm/transparent_hugepage": Permission denied 2016-02-29T23:11:36.667+0700 W …

WARNING: Cannot detect if NUMA interleaving is enabled. Failed to probe “/sys/devices/system/node/node1”: Permission denied Read More »