²é¿´ÁË/var/log/messages Ö®ºó·¢ÏÖÓÐÕâÑùµÄÌáʾ£º
Will not restore a file with more than one hard link (/etc/resolv.conf) Invalid argument
ÔÚÍøÕ¾´ò²»¿ªµÄʱºò¡£ÁªÏµÁË»ú·¿¡£»ú·¿½ÓÈëÏÔʾÆ÷¿´¡£·¢ÏÖϵͳ´¦ÓڵǼ½çÃæ¡£
ʹÓÃlast reboot ²é¿´ÖØÆô¼Ç¼¡£·¢ÏÖ£¬¡£½üÆÚ²¢Ã»ÓÐÖØÆôµÄÐÅÏ¢¡£
ËÑË÷µ½ÍøÉϵĽâ¾ö°ì·¨£º[code]1. $ ls -i /etc/resolv.conf #get inode
8292064 /etc/resolv.conf
2. $ sudo find /etc -inum 8292064#find hard link
/etc/sysconfig/networking/profiles/default/resolv.conf
/etc/resolv.conf
3. $ sudo /usr/sbin/lsof|grep resolv.conf #make sure it is not open
4. $ sudo rm /etc/sysconfig/networking/profiles/default/resolv.conf #delete
5. $ sudo restorecon /etc/resolv.conf
6. $ sudo ln /etc/resolv.conf /etc/sysconfig/networking/profiles/default/resolv.conf #recreate hard link[/code]µ«²¢Ã»Óеõ½»º½â¡£¼´Ê¹ÖØÆôÁËÍøÂç¡£ ÁíÍâÕâ¸öµÄ½â¾ö°ì·¨¶ÔÓ¦µÄÌáʾÐÅÏ¢¸úÎÒµÄÓÐЩ²»Í¬ ËûµÄ´íÎóÌáʾÊÇ Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory
ÎÊÌⲻͬ½â¾ö·½·¨¡£Ò²´æÔÚ²îÒì¡£
google ÁËÐí¶à¡£Óз¢ÏÖÎÒµÄÕâ¸öÎÊÌâ¡£µ«Êǽâ¾öµÄ°ì·¨ÈÔÈ»ÊÇǧƪһÂÉ¡£»¹ÊÇÉÏÃæµÄÕâ¸ö°ì·¨¡£Õâ¸ö°ì·¨¡£ÎÒÊÔ¹ýÈý´ÎÁË¡£²¢Ã»ÓдﵽԤÆÚЧ¹û¡£
ÓÐÈË˵ÓÃÈíÁ´½Ó¡¢ µ«Ó¦¸ÃÔõôʵÏÖÄØ£¿
ÐÂÊÖ¸Õ¼ÓÈë¡£»¶Ó´ó¼ÒÒ»ÆðÌÖÂÛ¡£
chushihua ÓÚ 2014-01-12 20:21:06·¢±í:
¶¥ÆðÀ´¡¡¡¡
Cenetration ÓÚ 2013-12-15 08:42:56·¢±í:
¶ÏÍøÒÔÇ°¾³£ÓУ¬²»¹ý¸ú»ú·¿Á¬½ÓÓйØ