首先,我使用此配置安装oracle 11g数据库。
Step 2 of 9
我选择了Create and configure a database
Step 3 of 9
我选择了Desktop Class
Step 4 of 8
全局数据库名称:Blitz
管理密码:Pass1234
在那之后,它给了我这个信息
全局数据库名称:Bliz
标识系统(SID):Blitz
服务器参数文件名: C:\app\annie\product\11.2.0\dbhome_3\database\spfileBlitz.ora
数据库控件URL为https://localhost:5501/em
已被置于安全模式中,其中Enterprise的数据将被加密。
加密密钥已放置在文件中:C:/app/annie/product/11.2.0/dbhome_3/localhost_Blitz/sysman/config/emkey.ora.请确保备份了该文件,因为如果该文件丢失,加密的数据将无法使用。
然后配置如下:
Username - Password
SYS - Pass1234
SYSTEM - Pass1234然后尝试安装12c
首先,在命令提示符中输入以下命令以获取主机名:
sqlplus / as sysdba
select host_name from v$instance
这给了我PC1
然后在Step 6 of 9中安装企业管理器
我提供以下数据库连接详细信息
数据库主机名:PC1
端口:1523
序列/SID:Blitz
系统密码:Pass1234
但我有个错误
There was a problem connecting to the database on the host and port specified. Check to make sure the host is up or that the database listener is running on that host.
因此,我尝试将数据库主机名更改为localhost
但我有个错误
Enterprise Manager Database Control schema exists in the database. To proceed with the installation of Enterprise Manager Cloud Control, you must deconfigure the same by running the following command:
To deconfigure Database Control for a single instance database, do the following command on database host: (a) Set the environment variable <ORACLE_HOME> to the database home.(b) Run the following command: <Database ORACLE HOME>/bin/emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys password> -SYSMAN_PWD <sysman password>
To deconfigure Database Control for an Real Application Clusters (RAC) database, do the following command on database host: (a) Set the environment variable <ORACLE_HOME> to the database home.(b) Run the following command: <Database ORACLE HOME>/bin/emca -deconfig dbcontrol db -repos drop -cluster -SYS_PWD <sys password> -SYSMAN_PWD <sysman password>
NOTE: If the existing database is on different host, then install Oracle Management Agent on the database host, to monitor the database.
因此,在命令提示符中,我输入以下命令:
set ORACLE_HOME=C:\app\annie\product\11.2.0\dbhome_3
C:\app\annie\product\11.2.0\dbhome_3\bin\emca -deconfig dbcontrol db -repos drop -cluster -SYS_PWD Pass123 -SYSMAN_PWD Pass123
然后它要求我提供细节,所以我输入了细节。
数据库唯一名称:Blitz
服务名称:Blitz
列表端口号:1523
侦听器Home_Oracle:C:\app\annie\product\11.2.0\dbhome_3
但我犯了一个错误:

我现在对这件事很感兴趣。请帮帮忙。
发布于 2014-04-02 18:27:49
为什么要使用-cluster -选项?
数据库存储库是集群的一部分吗?
首先要确保可以使用tns名称连接到数据库。
sqlplus system/password@'tns_identified'然后解禁你,他们回应:
尝试使用以下语法:
emca -deconfig dbcontrol db -repos drop -SYS_PWD oracle -SYSMAN_PWD oracle关于如何准备甲骨文企业网格控制监控环境的一些优秀文章,请查看链接
https://dba.stackexchange.com/questions/62367
复制相似问题