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 吧!