回复 oraunix 的帖子
老师我想给手动创建的数据库再创建oem,可是出现问题了。
emca -repos create
STARTED EMCA at Nov 26, 2010 4:11:35 PM
EM Configuration Assistant, Version 10.2.0.5.0 Production
Copyright (c) 2003, 2009, Oracle. All rights reserved.
Enter the following information:
Database SID: ll
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user: cle
Do you wish to continue? [yes(Y)/no(N)]: y
Nov 26, 2010 4:12:00 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/ll/emca_2010-11-26_04-11-35-PM.log.
Nov 26, 2010 4:12:01 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
SEVERE: Dbcontrol Repository already exists. Fix the error(s) and run EM Configuration Assistant again in standalone mode.
[oracle@stu160 ~]$ emca -config dbcontrol db
STARTED EMCA at Nov 26, 2010 4:12:59 PM
EM Configuration Assistant, Version 10.2.0.5.0 Production
Copyright (c) 2003, 2009, Oracle. All rights reserved.
Enter the following information:
Database SID: ll
Nov 26, 2010 4:13:02 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
WARNING: ORA-01031: insufficient privileges
Nov 26, 2010 4:13:02 PM oracle.sysman.emcp.DatabaseChecks throwDBUnavailableException
SEVERE:
Database instance is unavailable. Fix the ORA error thrown and run EM Configuration Assistant again.
Some of the possible reasons may be :
1) Database may not be up.
2) Database is started setting environment variable ORACLE_HOME with trailing '/'. Reset ORACLE_HOME and bounce the database.
For eg. Database is started setting environment variable ORACLE_HOME=/scratch/db/ . Reset ORACLE_HOME=/scratch/db and bounce the database.
它指出的这两种情况我都查看过了,我的数据库是启动的,oracle家目录也不是它说的那样,不知道怎么解决了
|