Closed Devilbilly closed 6 years ago
Could you use uname -r
to check the Linux kernel version of your machine?
Linux 3.10.0-514.21.1.el7.x86_64, is this kernel too old? I can run examples without any problems.
To run under distributed mode, the Linux kernel version should be at least 3.8 or higher.
I guess my kernel version is higher than 3.8?
I'll manually enable user namespace and see if this solve this problem.
Problem solved using $ grubby --args="user_namespace.enable=1" --update-kernel="$(grubby --default-kernel)" $ reboot
In centos 7, user namespace is a technology preview feature.
This is due to the setup of Linux container in DtCraft. We require "user namespace" to be enabled by your OS.
By following the instruction of DtCraft Distributed Mode (Single Host), I tried to run bin/master and bin/agent, however, it crashed.
$ ./master terminate called after throwing an instance of 'std::system_error' what(): unshare failed: Invalid argument Abort (core dumped)