I had the same problem on the OVH server, but I did not want to reinstall with a different kernel ...
My workaround was to create the sysfs group and add the mongodb user to this group.
Then I did a few “chgrp sysfs ...” and “chmod g + rx ...” so that the sysfs group can read the directories needed by mongodb:
- / Sys / devices / systems / node
- / Sys / dev / block /
- / Sys / device / virtual / block / MD1 / queue
Indeed, / sys / devices / system / node / node1 does not exist, but read access to / sys / devices / system / node was sufficient.
Note that the mongo client has the same restriction, so all users who need it must be added to the sysfs group.
cyril
source share