Starting RPC idmapd: rpc.idmapd: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory ----------------- 以上是linux rhel6 启动nfs时的报错信息 在网上查阅了相关资料,大多情况是系统本身带有libevent-1.4.so.2 这个文件,只不过/etc/ld.so.conf 中没有包含/usr/local/lib 这个目录 ,只要手动添加即可。 判断自己系统中是否有libevent-1.4.so.2: [root@localhost]# find / -name libevent-1.4.so.2 基本上正常的话 会在/usr/local/lib/ 中找到它 ----------------------------- 但发现这样的操作没有解决问题,由于用的rhel6 是cactiez中文版集成的系统,所以系统中默认装了哪些东西不是很确定,于是想到 yum install libevent* 然后...就没有然后了, service nfs restart 吧!
转载于:https://blog.51cto.com/lvv86/675533