2 a32193039 a32193039 于 2013.08.21 13:51 提问

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个回答

u014530814
u014530814   Rxr 2014.08.26 22:30

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

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!