Startup warnings after upgrading from MongoDB 2.6 to 3.4
Solution 1:
The MongoDB 3.4 log messages you have highlighted are startup warnings, not errors. These warnings are intended to alert administrators to configuration settings that may have potentially detrimental impact (particularly for production deployments).
If this is a development environment (or you are not concerned about maximizing performance) you can choose to ignore these.
For a more detailed list of recommended settings you should review the Production Notes in the MongoDB manual. Successive versions of MongoDB have added more server warnings for detectable configuration settings as many administrators are unaware of the production notes or what may apply to their deployment.
WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
This warning indicates you are using WiredTiger and a filesystem other than XFS (see http://dochub.mongodb.org/core/prodnotes-filesystem for more information).
WARNING: Access control is not enabled for the database.
This warning indicates you do not have access control enabled, so any user/application that can connect to your deployment will have unrestricted access. To secure your deployment please review the measures in the MongoDB Security Checklist.
WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
We suggest setting it to 'never'
WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
We suggest setting it to 'never'
Transparent Huge Pages (THP) is a Linux memory management setting that can adversely affect database workflows. For more information see: Disable Transparent Huge Pages in the MongoDB manual.