PRCT-1400 : 未能执行 getcrshome解决方法
作者:互联网
DBCA建库,进度卡在2%没动静。
查看日志:
[main] [ 2021-12-14 17:34:22.717 CST ] [WindowsSystem.dorunRemoteExecCmd:2064] _WS_: WinNative returned: true
[main] [ 2021-12-14 17:34:22.717 CST ] [WindowsSystem.dorunRemoteExecCmd:2078] _WS_: remote command executed, but didn't return zero.
[main] [ 2021-12-14 17:34:22.717 CST ] [GETCRSHOMEUtil.getCRS_HOME:147] cmdTool.execute() failed.
[main] [ 2021-12-14 17:34:22.733 CST ] [HAUtils.isHASConfigured:364] Ignoring exception in isHASConfigured: PRCT-1400 : 未能执行 getcrshome。详细错误:
localnode
PRCT-1400 : 未能执行 getcrshome。详细错误:
localnode
at oracle.cluster.deployment.ClusterwareInfo.getConfiguredCRSHome(ClusterwareInfo.java:425)
at oracle.sysman.assistants.util.hasi.HAUtils.getCRSHome(HAUtils.java:592)
at oracle.sysman.assistants.util.hasi.HAUtils.getHASHome(HAUtils.java:652)
at oracle.sysman.assistants.util.hasi.HAUtils.isHASConfigured(HAUtils.java:360)
at oracle.sysman.assistants.dbca.ui.DBCAWizard.<init>(DBCAWizard.java:452)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:268)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
Caused by: PRCT-1400 : 未能执行 getcrshome。详细错误:
localnode
at oracle.cluster.cmdtools.GETCRSHOMEUtil.getCRS_HOME(GETCRSHOMEUtil.java:161)
at oracle.cluster.cmdtools.GETCRSHOMEUtil.getCRS_HOME(GETCRSHOMEUtil.java:112)
at oracle.cluster.deployment.ClusterwareInfo.getConfiguredCRSHome(ClusterwareInfo.java:422)
... 9 more
该问题是CPU核心数的问题,查看CPU核心数:
改服务器有48C的CPU,先将CPU核心数改小点,待数据库创建完成后,再改回大数值。
重启服务器,重新DBCA建库即可。
标签:HAUtils,java,getcrshome,PRCT,oracle,assistants,1400,dbca,sysman 来源: https://blog.csdn.net/m0_37625564/article/details/121934082