Symptoms
If EasyApache 4 fails to open inside of WHM and it returns the error YUM encountered errors outside of EasyApache 4. Please attempt to run this command via CLI or using WHM's Terminal.
yum update
If you encounter this error below, please follow our workaround mentioned later in the article:
# yum check-update
Loaded plugins: fastestmirror, langpacks, rhnplugin, universal-hooks
Config error: Is a directory: '/var/log/up2date'
Description
This error above suggests that /var/log/up2date
is a directory, but normally this should be a file. It might be possible that /var/log/up2date
was changed to a directory as a result of disk corruption, but regardless of the cause you can resolve this issue by moving this directory out of the way and creating it again as a file.
Workaround
Sign into SSH as root, or you can use WHM's "Terminal" feature. Perform the following command to move the /var/log/up2date
directory out of the way:
mv -v /var/log/up2date{,.copy}
Then perform the following command to create the file, and rebuild the yum cache:
touch /var/log/up2date
yum makecache
After making these changes, Easy Apache 4 should load in the WHM interface normally.
Comments
0 comments
Article is closed for comments.