我正在使用 redis 建立一个新的、专用的 centos 6.4 系统。我已经安装过很多次 redis,但是从来没有遇到过这个问题(之前也从来没有在 centos 6.4 上)。
cd redis-2.6.16
sudo make install
Run Code Online (Sandbox Code Playgroud)
错误:
MAKE jemalloc
cd jemalloc && ./configure --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS="-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops " LDFLAGS=""
/bin/sh: ./configure: Permission denied
make[2]: *** [jemalloc] Error 126
make[2]: Leaving directory `/tmp/redis32/redis-3.2.6/deps'
make[1]: [persist-settings] Error 2 (ignored)
sh: ./mkreleasehdr.sh: Permission denied
and later:
zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory
zmalloc.h:55:2: error: #error "Newer version of jemalloc required"
Run Code Online (Sandbox Code Playgroud)
当我尝试直接构建 jemalloc 时(从 redis tarball 的 /src …
为了使调试问题更容易,我删除了 /var/log/messages .... 它没有回来!
我认为来自内核和 autofs 等模块的调试消息被路由到这个文件。但即使在我循环 autofs(设置为详细日志记录)之后,该文件也不见了。
如何恢复?