- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Restorecond
Operating System - Linux
1754372
Members
3305
Online
108813
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2008 05:00 PM
05-07-2008 05:00 PM
Restorecond
restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) Invalid argument
Can anyone please help me to resolve this as I see this messages in syslog.
Thanks
Can anyone please help me to resolve this as I see this messages in syslog.
Thanks
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 12:28 AM
05-08-2008 12:28 AM
Re: Restorecond
Someone or something has made an additional hard link to your /etc/resolv.conf file.
(Normally a file has just one hard link to it; removing that link will cause the file to be deleted. This is what the "rm" command does.)
Use "ls -li /etc/resolv.conf" to identify the inode number of the file. To find the extra link, use
find / -inum -xdev
or (GNU find specific)
find / -samefile /etc/resolv.conf -xdev
It's possible that you won't find nothing at all: in this case, whatever caused the problem may have also fixed it afterwards.
The message might be caused by someone editing the resolv.conf file: if so, find out which editor is used. This message might be caused by the way the editor creates backup versions of the file. If this is the cause, it's probably harmless. You might be able to avoid the message if the editor can be configured to create backup files in an alternate way.
MK
(Normally a file has just one hard link to it; removing that link will cause the file to be deleted. This is what the "rm" command does.)
Use "ls -li /etc/resolv.conf" to identify the inode number of the file. To find the extra link, use
find / -inum
or (GNU find specific)
find / -samefile /etc/resolv.conf -xdev
It's possible that you won't find nothing at all: in this case, whatever caused the problem may have also fixed it afterwards.
The message might be caused by someone editing the resolv.conf file: if so, find out which editor is used. This message might be caused by the way the editor creates backup versions of the file. If this is the cause, it's probably harmless. You might be able to avoid the message if the editor can be configured to create backup files in an alternate way.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP