公司一批Java 中间件 AP,出现了如下系统报错
报错信息:
系统报错“restorecond: will not restore a file with more than one hard link (/etc/resolv.conf) no such file or directory”
办法1:
1.# ls -i /etc/resolv.conf ## 命令执行效果: 13408656 /etc/resolv.conf
2. # find /etc -inum 13408656 ## 命令执行效果:/etc/resolv.conf
/etc/sysconfig/networking/profiles/default/resolv.conf
3. #/usr/sbin/lsof|grep resolv.conf
5. # restorecon /etc/resolv.conf
6. #ln /etc/resolv.conf/etc/sysconfig/networking/profiles/default/resolv.conf
root case:
该AP为双网卡服务器,office 网卡有DNS,但是我们基于应用优先配置了,ap 网卡网段的IP地址,所以会有这样的错误
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27144762/viewspace-1067713/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27144762/viewspace-1067713/