Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    OS update level too low for Oracle 11.2

    • Article Type: General
    • Product: Primo

    Problem Symptoms:
    According to the file /etc/redhat-release the server primotest.abdn.ac.uk has the operating system Red Hat Linux Release 5 Update 10:

    $ cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.10 (Tikanga)

    However, the Primo utility util_sp_10 reported that Red Hat Release 5 Update 1 is installed and issued the following warning:

    Redhat release 5 update 1
    ***************************************
    OS update level too low for Oracle 11.2
    ***************************************

    Cause:
    The Primo utility util_sp_10 calls the script /exlibris/ftp_from_exlibris/pkgchk.sh. This script reads the file /etc/redhat-release and determines the Update level of Red Hat from the number on the right-hand side of the period. However, the script reads only the first digit of that number.

    Resolution:
    Implemented workaround:
    -----------------------
    (1)
    On server primotest.abdn.ac.uk I adjusted the script /exlibris/ftp_from_exlibris/pkgchk.sh so that it reads the first two digits of the number on the right-hand side of the period. For this purpose I changed line 16 of the script

    from:
    rhupd=$(grep release /etc/redhat-release | sed 's/^.*release [0-9]\.\([0-9]\).*/\1/')

    to:
    rhupd=$(grep release /etc/redhat-release | sed 's/^.*release [0-9]\.\([0-9]\{1,2\}\).*/\1/')


    (2)
    I executed the Primo utility util_sp_10 and verified that it determines the Update level of Red Hat correctly and that it does not issue any warnings.

    Category: System Management (500)


    • Article last edited: 12/30/2014