初始化服务器时出错:未配置 OC4J 管理员帐户

初始化服务器时出错:未配置 OC4J 管理员帐户

当尝试启动 ./oc4j 服务 ( oc4j_extended_101350.zip) 时,我收到以下错误消息。

        [oracle@sc-ifactory01p bin]$ ./oc4j -start
        Starting OC4J from /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home ...
        2014-08-01 14:09:28.682 NOTIFICATION Auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/dms.war...
        2014-08-01 14:09:28.687 NOTIFICATION Unjar /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/dms.war in /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/dms
        2014-08-01 14:09:28.692 NOTIFICATION Finished auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/dms.war
        2014-08-01 14:09:28.693 NOTIFICATION Auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/JMXSoapAdapter-web.war...
        2014-08-01 14:09:28.693 NOTIFICATION Unjar /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/JMXSoapAdapter-web.war in /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/JMXSoapAdapter-web
        2014-08-01 14:09:28.698 NOTIFICATION Finished auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/JMXSoapAdapter-web.war
        2014-08-01 14:09:28.736 NOTIFICATION Auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/jmsrouter.war...
        2014-08-01 14:09:28.736 NOTIFICATION Unjar /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/jmsrouter.war in /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/jmsrouter
        2014-08-01 14:09:28.739 NOTIFICATION Finished auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/jmsrouter.war
        2014-08-01 14:09:28.746 NOTIFICATION Auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/connectors/datasources/datasources.rar...
        2014-08-01 14:09:28.747 NOTIFICATION Unjar /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/connectors/datasources/datasources.rar in /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/connectors/datasources/datasources
        2014-08-01 14:09:28.748 NOTIFICATION Finished auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/connectors/datasources/datasources.rar
        2014-08-01 14:09:28.749 NOTIFICATION Auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/connectors/OracleASjms/OracleASjms.rar...
        2014-08-01 14:09:28.749 NOTIFICATION Unjar /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/connectors/OracleASjms/OracleASjms.rar in /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/connectors/OracleASjms/OracleASjms
        2014-08-01 14:09:28.760 NOTIFICATION Finished auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/connectors/OracleASjms/OracleASjms.rar
        Aug 1, 2014 2:09:28 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
        INFO: Legacy datasource detected...attempting to convert to new syntax.
        2014-08-01 14:09:28.778 NOTIFICATION Auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/javasso.ear...
        2014-08-01 14:09:28.778 NOTIFICATION Unjar /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/javasso.ear in /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/javasso
        2014-08-01 14:09:28.780 NOTIFICATION Finished auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/javasso.ear
        2014-08-01 14:09:28.786 NOTIFICATION Auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/javasso/javasso-web.war...
        2014-08-01 14:09:28.786 NOTIFICATION Unjar /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/javasso/javasso-web.war in /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/javasso/javasso-web
        2014-08-01 14:09:28.790 NOTIFICATION Finished auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/javasso/javasso-web.war
        2014-08-01 14:09:28.793 NOTIFICATION Auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/ascontrol.ear...
        2014-08-01 14:09:28.793 NOTIFICATION Unjar /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/ascontrol.ear in /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/ascontrol
        2014-08-01 14:09:29.281 NOTIFICATION Finished auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/ascontrol.ear
        2014-08-01 14:09:29.283 NOTIFICATION Auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/ascontrol/ascontrol.war...
        2014-08-01 14:09:29.283 NOTIFICATION Unjar /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/ascontrol/ascontrol.war in /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/ascontrol/ascontrol
        2014-08-01 14:09:30.148 NOTIFICATION Finished auto-unpacking /apps/prd/oracle/10.1.3.5.0/oc4j/j2ee/home/applications/ascontrol/ascontrol.war
        14/08/01 14:09:30 Error initializing server: OC4J administrator account is not configured correctly. Please make sure that at least one administration account is created and configured correctly.
        14/08/01 14:09:30 Fatal error: server exiting

我在 RHEL 6.5 物理 64 位平台上运行它。我已经指出jdk1.6.0_45了JAVA_HOME。

我能够在具有相同 RHEL 6.5 64 位平台的 VM 上启动它。我尝试了我和谷歌能想到的一切,但似乎无法解决这个问题。

据报告,有些用户在 /etc/hosts 文件中添加主机名,我已经尝试过,但在我的物理系统上不起作用。

如果您有建议,请告诉我。

答案1

在应用任何特定配置之前重新安装操作系统后,我能够启动 oc4j 服务。在缩小范围后,发现到底是哪种配置导致无法启动,结果发现是以太网绑定。我有一个启动脚本,它也可以进行绑定。 ifcfg-ethx 还包含许多详细信息,例如 UUID 以及我的环境基本上不需要的内容。清理所有 ifcfg-* 并能够启动与 oc4j 服务的绑定后。

相关内容