今天从10.2.0.3 往10.2.0.4 升级时候遇到如下错
Symptoms
Checking for Oracle Home incompatibilities ….
Check complete. The overall result of this check is: Not executed <<
OUI-15038: Unable to execute rule ‘CheckCompatibility’ from ruleset ‘CompatibilityChecks’. The
underlying test ‘oracle.sysman.oip.oipc.oipcz.OipczCompatibilityChecks.checkProductCompatibility’
has thrown an unhandled exception [For input string: "18446744073709551615"]. If the exception
results in a failure of the test and the exception needs to be propagated, then encapsulate the
exception in the result object and return the result.
Recommendation: Choose a new Oracle Home or a home that contains Oracle Database 11g Release 1
software for installing this product.
metalink Note:468051.1 解释了这个问题
Cause
The kernel parameter SHMMAX is set to the hexadecimal value 0xFFFFFFFFFFFFFFFF (decimal value 18446744073709551615) in /proc/sys/kernel/shmmax
As documented in Note 169706.1 and some other Metalink notes, the maximum value for the SHMMAX kernel parameter is 4Gb - 1 byte (ie. 4294967295 bytes)
Please remember that SHMMAX does NOT specify a total memory limitation. SHMMAX is the kernel parameter controlling the maximum size of one shared memory segment. Multiple shared memory segments are very common on large memory systems.
If you are encountering the errors mentioned above, it simply means that you are specifying a SHMMAX beyond the allowable maximum for your platform..
For additional information, please see
Note 15566.1 “TECH: Unix Semaphores and Shared Memory Explained”
Solution
To implement the solution, please execute the following steps:
1. Change the value of SHMMAX to 4294967295 by including the following line in /etc/sysctl.conf
kernel.shmmax = 4294967295
echo kernel.shmmax = 4294967295 > /etc/sysctl.conf
2. Activate the new SHMMAX setting by running the command
/sbin/sysctl -p
3. Install the Oracle10.2.0.4 software
关于
Leave a Comment