我在CentOS 6.7上安装了epel repo的清漆,它无法启动以下错误:
Compiled VCL program failed to load:
./vcl.1P9zoqAU.so: failed to map segment from shared object: Operation not permitted
VCL compilation failed
Run Code Online (Sandbox Code Playgroud)
如果我使用varnishd二进制文件,我会在结尾处获得以下行
chdir("/var/lib/varnish/myserver.foo.bar") = 0
open("./vcl.1P9zoqAU.c", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
Run Code Online (Sandbox Code Playgroud)
所以我检查了这个目录上的权限是正确的(加上我用root运行它),我禁用SELinux,重启,重新安装......首先它发生在清漆2.1.15,但同样发生在4.0.3(使用官方清漆回购).
你知道我的系统发生了什么吗?