oracledbconsoleorcl 无法启动 服务错误代码2

IP地址变了或机器名变了后就不能启动,报错误”Agent process exited abnormally during initialization.”

  步骤:
  1:运行cmd
  2:执行emctl start dbconsole,提示“找不到环境变量ORCALE_SID”,请运行SET ORCALE_SID=***
  3:再次执行emctl start dbconsole,提示“无法找到D:\oracle\product\10.2.0\db_1\e1c8cd_SKYORCL”,复制该目录下的“localhost_skyorcl”文件夹放在同一目录下,且把名称改成“e1c8cd_SKYORCL”。
  4:再次执行emctl start dbconsole,提示“无法找到D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_e1c8cd_skyorcl”,复制该目录下的“OC4J_DBConsole_localhost_skyorcl”文件夹放在同一目录下,且把名称改成“OC4J_DBConsole_e1c8cd_skyorcl”。
  4:再次执行emctl start dbconsole,既可以启动
  注意:“localhost_skyorcl”与“OC4J_DBConsole_localhost_skyorcl”俩个文件夹的我名称与目录由您自己安装决定。

Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *