Manifest refresh on Red Hat Satellite 6 failed with " Runtime Error java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively:-2"

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6.x.

Issue

  • Manifest refresh on Red Hat Satellite 6 failed with the following error :
 Runtime Error java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively:-2"

Resolution

  • Create the missing directories under /var/cache/
# mkdir -p /var/cache/tomcat/temp/
# mkdir /var/cache/candlepin/
# chown -R tomcat:tomcat /var/cache/candlepin/ /var/cache/tomcat/
# restorecon -R -v /var/cache/candlepin/
# restorecon -R -v /var/cache/tomcat/

For more KB articles/solutions related to Red Hat Satellite 6.x Manifest Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Manifest Issues

Root Cause

  • Candlepin and Tomcat directories are missing under /var/cache

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments