Why after Upgrading Red Hat Satellite 5.x to 5.6,satellite server still have files owned by oracle user?

Solution Verified - Updated -

Environment

  • Red Hat Satellite 5.6 with embedded Postgres

Issue

  • After Upgrading Red Hat Satellite 5.x to 5.6,satellite still have files owned by oracle user?
  • After upgrading Red Hat Satellite to version 5.6, satellite still have following files owned by oracle user:
    • /var/log/rhn/rhn_database.log
    • /etc/oratab
  • What files realted to oracle can be removed form a Satellite-5.6 server with embedded Postgres database ?

Resolution

  • The file /var/log/rhn/rhn_database.log is used by oracle as well as Postgres, so the file should not be removed form satellite-5.6. The permissions for the same should be root:root.
  • oracle user and oracle + dba group can also be removed form Satellite-5.6.
  • Also /etc/oratab can be removed form the satelltie-5.6 system.

Root Cause

  • Till Satellite 5.5, Red Hat Satellite was shipped with Embedded Oracle Database,but Satellite-5.6 is shipped with Postgres.
  • So when satellite-5.4/5.5 is upgraded to Satellite-5.6 Oracle database is converted into Postgres. The upgrade process has ask for removal of oracle package but this does not remove oracle user and files.

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