oracle dbca启动图形不成功的处理方法
oracle dbca启动图形不成功的处理方法
环境oracle 9.2.0.8+aix 5.3
用dbca创建数据库时,图形启动不成功,报错如下:
java.lang.UnsatisfiedLinkError: getLocalHostName
at oracle.net.config.Config.systemName(Config.java)
at oracle.net.config.DirectoryService.getSystemObjectPath(DirectoryService.java)
at oracle.net.config.DirectoryService.qualifyObjectName(DirectoryService.java)
at oracle.net.config.Listener.
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddress(NetworkUtils.java)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddresses(NetworkUtils.java)
at oracle.sysman.assistants.util.NetworkUtils.needLocalListener(NetworkUtils.java)
at oracle.sysman.assistants.util.step.StepContext.setListenersToUpdate(StepContext.java)
at oracle.sysman.assistants.util.step.StepContext.
at oracle.sysman.assistants.dbca.backend.Host.
at oracle.sysman.assistants.dbca.ui.UIHost.
at oracle.sysman.assistants.dbca.ui.InteractiveHost.
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:141)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:85)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:161)
Exception in thread "main"
解决方法:
把listener.ora 重命名listener.ora.bak, 或者把listener.ora里面的内容置为空即可。