I've just started at a company running a few Linux servers. One in particular, running Red Hat Enterprise, has a daily cron job running yum update. I'm somewhat new to Linux, though I do have some practical experience with it.
The updates seem to run successfully, but every night the following error appears in the cron job log:
"/etc/cron.daily/yum.cron:
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename failed - Is a directory"
The person who originally set this server up is no longer with the company, so we're not 100% sure what he did. My department has been looking into this for a while, and here is the best (that we can tell) advice they've received:
"I think the default is for the package to install /etc/httpd/logs as a symlink to /var/log/httpd/. If you've changed /etc/httpd/logs to be a real directory, that would be why the package is complaining. If that's the case, try reverting it to a symlink, and then doing a yum update."
If this is indeed the correct advice, how can I check to see if this is the case, and how can I revert the directory to a symlink?
The updates seem to run successfully, but every night the following error appears in the cron job log:
"/etc/cron.daily/yum.cron:
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename failed - Is a directory"
The person who originally set this server up is no longer with the company, so we're not 100% sure what he did. My department has been looking into this for a while, and here is the best (that we can tell) advice they've received:
"I think the default is for the package to install /etc/httpd/logs as a symlink to /var/log/httpd/. If you've changed /etc/httpd/logs to be a real directory, that would be why the package is complaining. If that's the case, try reverting it to a symlink, and then doing a yum update."
If this is indeed the correct advice, how can I check to see if this is the case, and how can I revert the directory to a symlink?