Oracle 10g异机恢复后EM无法启动故障处理一例(5)

CONFIG: New Env List: [DISPLAY=, NEED_EXIT_CODE=1, ORACLE_SID=ora10g, PATH=/usr/sbin:/u01/app/oracle/product/10.2.0/db_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:/usr/local/mysql/bin:/home/oracle/bin, TZ=]

Oct 20, 2014 11:24:49 AM oracle.sysman.emcp.util.PlatformInterface executeCommand

CONFIG: Starting execution: /u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole 

Oct 20, 2014 11:25:43 AM oracle.sysman.emcp.util.PlatformInterface executeCommand

CONFIG: Exit value of 0

Oct 20, 2014 11:25:43 AM oracle.sysman.emcp.util.PlatformInterface executeCommand

CONFIG: Execution of /u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole  completed successfully

Oct 20, 2014 11:25:43 AM oracle.sysman.emcp.util.PlatformInterface executeCommand

CONFIG: TZ set to PRC

Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

:1158/em/console/aboutApplication

Stopping Oracle Enterprise Manager 10g Database Control ... 

 ...  Stopped. 

 

看来仅仅重新配置一下EM资料库是不行的,需要重建一下(先删除,后创建)

 

[oracle@bak log]$ emca -repos recreate 

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Error occurred during initialization of VM

java.lang.Error: Properties init: Could not determine current working directory.

 

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/cd4f278113fd9c325295bb6621c433b4.html