a32193039 2013-08-21 05:51 采纳率: 0%
浏览 3608

linux5.5安装oracle出现错误!请高手解决。急

oracle运行到最后一步报错,oracle Database configuration Assistant Failed

INFO: Starting to execute configuration assistants
INFO: Command = /home/oracle/product/10/bin/dbca -progress_only -createDatabase -templateName General_Purpose.dbc -gdbName orcl -sid orcl -sysPassword 052d0af5a1d4fca7e810004add60a5e9d0 -systemPassword 058cafd7a1f4760441ced6cd0b58675273 -sysmanPassword 05a0d0d1a194c2e3857ed87406f5279e1f -dbsnmpPassword 05666de3a1b4df45b72d83d533eb672f6b -emConfiguration LOCAL -datafileJarLocation /home/oracle/product/10/assistants/dbca/templates -datafileDestination /home/oracle/oradata/ -responseFile NO_VALUE -characterset WE8ISO8859P1 -obfuscatedPasswords true -sampleSchema true -oratabLocation /home/oracle/product/10/install/oratab -recoveryAreaDestination NO_VALUE

Command = /home/oracle/product/10/bin/dbca has failed
Execution Error : Exception in thread "main" java.lang.NullPointerException
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:2655)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:2599)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:2753)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:2599)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:2745)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:2599)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:2544)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:2514)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddressForPort(NetworkUtils.java:876)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddress(NetworkUtils.java:859)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddresses(NetworkUtils.java:913)
at oracle.sysman.assistants.util.NetworkUtils.needLocalListener(NetworkUtils.java:835)
at oracle.sysman.assistants.util.step.StepContext.setListenersToUpdate(StepContext.java:678)
at oracle.sysman.assistants.util.step.StepContext.(StepContext.java:257)
at oracle.sysman.assistants.dbca.backend.Host.(Host.java:682)
at oracle.sysman.assistants.dbca.ui.UIHost.(UIHost.java:205)
at oracle.sysman.assistants.dbca.ui.ProgressOnlyHost.(ProgressOnlyHost.java:92)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:156)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)

INFO: Configuration assistant "Oracle Database Configuration Assistant" failed

*** Starting OUICA ***
Oracle Home set to /home/oracle/product/10
Configuration directory is set to /home/oracle/product/10/cfgtoollogs. All xml files under the directory will be processed

INFO: The "/home/oracle/product/10/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.

SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
2. Fix the errors causing these failures.
3. Select the failed assistants and click the 'Retry' button to retry them.
INFO: User Selected: Yes/OK

  • 写回答

1条回答

  • yiyongle 2014-08-26 14:30
    关注

    应该是文件权限问题
    chown -R oracle:oinstall /u01
    chmod -R 775 /u01
    我的database文件夹拷贝到了u01中,这样在database目录下./runInstaller即可成功

    评论

报告相同问题?

悬赏问题

  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler