公司一批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
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27144762/viewspace-1067713/ ,如需转载,请注明出处,否则将追究法律责任。