注:在AIX平台中安装oracle 12.1/12.2/18c等数据库,创建ASM磁盘组的阶段,无法正确识别到磁盘。
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterIBM AIX on POWER Systems (64-bit)
Symptoms
Silent installation of Grid Infrastructure 12.1.0.2 standalone on AIX 6.1 errors with:
SEVERE: [FATAL] [INS-30508] Invalid ASM disks. CAUSE: The disks [/dev/rhdisk500, /dev/rhdisk501] were not valid. ACTION: Please choose or enter valid ASM disks.
oraInstall2015-04-10_08-25-03PM.err contains following error messages
ID: oracle.install.library.crs.CRSInfo:541 PRCI-1158 : Failed to retrieve the size of management database oracle.ops.mgmt.nativesystem.NativeException: PRKN-1008 : Unable to load the shared library "srvmcred12" or a dependent library, from LIBPATH="/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64/default:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64/default:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64/j9vm:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/../lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/ext/bin:/tmp/OraInstall2015-04-10_08-25-03PM/ext/lib:/logiciels/grid/product/12.1.0.2/grid/lib::/usr/lib:/usr/lib" [java.lang.UnsatisfiedLinkError: srvmcred12 (rtld: 0712-001 Symbol CreateIoCompletionPort was referenced from module /tmp/OraInstall2015-04-10_08-25-03PM/ext/lib/libttsh12.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol GetMultipleCompletionStatus was referenced from module /tmp/OraInstall2015-04-10_08-25-03PM/ext/lib/libttsh12.so(), but a runtime definition of the symbol was not found. rtld: 0712-002 fatal error: exiting.)] at oracle.cluster.deployment.ClusterwareInfo.getRequiredMgmtDBSize(ClusterwareInfo.java:4629) at oracle.cluster.deployment.ClusterwareInfo.getMgmtDBSize(ClusterwareInfo.java:4646) at oracle.install.library.crs.CRSInfo.getMgmtDBRequiredSize(CRSInfo.java:1325) at oracle.install.ivw.crs.validator.MgmtDBValidationHelper.calculateMgmtSpaceRequired(MgmtDBValidationHelper.java:155) at oracle.install.ivw.crs.validator.ASMDiskGroupCreationValidator.validate(ASMDiskGroupCreationValidator.java:110) at oracle.install.commons.flow.validation.ValidationHelper.validateState(ValidationHelper.java:188) at oracle.install.commons.flow.AbstractFlowExecutor.validate(AbstractFlowExecutor.java:420) at oracle.install.commons.flow.AbstractFlowExecutor.leaveVertex(AbstractFlowExecutor.java:644) at oracle.install.commons.flow.AbstractFlowExecutor.transition(AbstractFlowExecutor.java:336) at oracle.install.commons.flow.AbstractFlowExecutor.nextState(AbstractFlowExecutor.java:276) at oracle.install.commons.flow.SilentFlowExecutor.execute(SilentFlowExecutor.java:67) at oracle.install.commons.flow.AbstractFlowExecutor.execute(AbstractFlowExecutor.java:221) at oracle.install.commons.flow.FlowApplication.executeFlow(FlowApplication.java:161) at oracle.install.commons.flow.FlowApplication.run(FlowApplication.java:167) at oracle.install.commons.base.driver.common.Installer.run(Installer.java:350) at oracle.install.ivw.common.util.OracleInstaller.run(OracleInstaller.java:106) at oracle.install.commons.util.Application.startup(Application.java:921) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:198) at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:355) at oracle.install.ivw.crs.driver.CRSInstaller.startup(CRSInstaller.java:106) at oracle.install.ivw.crs.driver.CRSInstaller.main(CRSInstaller.java:113) Caused by: java.lang.Throwable: oracle.ops.mgmt.nativesystem.NativeException: PRKN-1008 : Unable to load the shared library "srvmcred12" or a dependent library, from LIBPATH="/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64/default:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64/default:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64/j9vm:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/../lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/ext/bin:/tmp/OraInstall2015-04-10_08-25-03PM/ext/lib:/logiciels/grid/product/12.1.0.2/grid/lib::/usr/lib:/usr/lib" [java.lang.UnsatisfiedLinkError: srvmcred12 (rtld: 0712-001 Symbol CreateIoCompletionPort was referenced from module /tmp/OraInstall2015-04-10_08-25-03PM/ext/lib/libttsh12.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol GetMultipleCompletionStatus was referenced from module /tmp/OraInstall2015-04-10_08-25-03PM/ext/lib/libttsh12.so(), but a runtime definition of the symbol was not found. rtld: 0712-002 fatal error: exiting.)] ... 22 more Caused by: oracle.ops.mgmt.nativesystem.NativeException: PRKN-1008 : Unable to load the shared library "srvmcred12" or a dependent library, from LIBPATH="/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64/default:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64/default:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64/j9vm:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/jdk/jre/../lib/ppc64:/tmp/OraInstall2015-04-10_08-25-03PM/ext/bin:/tmp/OraInstall2015-04-10_08-25-03PM/ext/lib:/logiciels/grid/product/12.1.0.2/grid/lib::/usr/lib:/usr/lib" [java.lang.UnsatisfiedLinkError: srvmcred12 (rtld: 0712-001 Symbol CreateIoCompletionPort was referenced from module /tmp/OraInstall2015-04-10_08-25-03PM/ext/lib/libttsh12.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol GetMultipleCompletionStatus was referenced from module /tmp/OraInstall2015-04-10_08-25-03PM/ext/lib/libttsh12.so(), but a runtime definition of the symbol was not found. rtld: 0712-002 fatal error: exiting.)] at oracle.ops.mgmt.nativesystem.Library.load(Library.java:334) at oracle.ops.mgmt.nativesystem.Library.load(Library.java:180) at oracle.ops.mgmt.nativesystem.NativeSystem.loadSRVMCREDNativeLibrary(NativeSystem.java:639) at oracle.ops.mgmt.nativesystem.NativeSystem.getMgmtDBSpace(NativeSystem.java:1551) at oracle.cluster.deployment.ClusterwareInfo.getRequiredMgmtDBSize(ClusterwareInfo.java:4625) ... 21 more
Cause
I/O Completion Ports (IOCP) module is not enabled on the server.
For 12c as a prerequisite one need enable IOCPSolution
To check if the IOCP module is enabled, run the lsdev command:
$ lsdev | grep iocp
The following sample output shows the IOCP status is set to Defined and hence not enabled: iocp0 Defined I/O Completion Ports
By default, IOCP is set to Defined. To enable IOCP, set IOCP to Available using the following procedure: Log in as root and run the following command: # smitty iocp
Select Change / Show Characteristics of I/O Completion Ports. Change configured state at system restart from Defined to Available. Run the lsdev command to confirm the IOCP status is set to Available: $ lsdev | grep iocp iocp0 Available I/O Completion Ports
Perform a system restart to make the changes permanent.
-- < END > --