【kingsql分享】安裝EM遇到【SEVERE: Error creating the repository】
現象:安裝EM報錯
SEVERE: Error creating the repository
Refer to the log file at /u01/app/oracle/hzhuct/10.2.0.1/db_1/cfgtoollogs/emca/hzh/emca_2013-11-05_03-06-54-PM.log for more details.
Could not complete the configuration. Refer to the log file at /u01/app/oracle/hzhuct/10.2.0.1/db_1/cfgtoollogs/emca/hzh/emca_2013-11-05_03-06-54-PM.log for more details.
排錯:
[oracle@kingsql ~]$ cat /u01/app/oracle/hzhuct/10.2.0.1/db_1/cfgtoollogs/emca/hzh/emca_2013-11-05_03-06-54-PM.log
CONFIG: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
> drop user sysman cascade;
User dropped.
再裝,還報錯
CONFIG: ORA-01921: role name 'MGMT_USER' conflicts with another user or role name
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01921: role name 'MGMT_USER' conflicts with another user or role name
//因為我看他是按順序裝的,所以還得刪除sysman一次
> drop user sysman cascade;
User dropped.
> drop role MGMT_USER;
Role dropped.
再建立,還報錯,此時血壓有點上來了
分析日誌
有一句
CONFIG: Spooling to /u01/app/oracle/hzhuct/10.2.0.1/db_1/cfgtoollogs/emca/hzh/emca_repos_create_2013-11-05_03-25-24-PM.log
日誌裡還有日誌!
[oracle@kingsql ~]$ cat /u01/app/oracle/hzhuct/10.2.0.1/db_1/cfgtoollogs/emca/hzh/emca_repos_create_2013-11-05_03-25-24-PM.log
Check if repos user already exists.
old 6: WHERE username=UPPER('&EM_REPOS_USER');
new 6: WHERE username=UPPER('SYSMAN');
old 8: IF ( '&EM_CHECK_TYPE' = 'EXISTS') THEN
new 8: IF ( 'NOT_EXISTS' = 'EXISTS') THEN
old 11: raise_application_error(-20000, '&EM_REPOS_USER does not exists..');
new 11: raise_application_error(-20000, 'SYSMAN does not exists..');
old 14: ELSIF ( '&EM_CHECK_TYPE' = 'NOT_EXISTS' ) THEN
new 14: ELSIF ( 'NOT_EXISTS' = 'NOT_EXISTS' ) THEN
old 17: raise_application_error(-20001, '&EM_REPOS_USER already exists..');
new 17: raise_application_error(-20001, 'SYSMAN already exists..');
old 21: raise_application_error(-20002, 'Invalid Check type &EM_CHECK_TYPE');
new 21: raise_application_error(-20002, 'Invalid Check type NOT_EXISTS');
Create SYSMAN user.
No errors.
Create core schema..
Creating Types
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
Creating Tables
Creating Tables
CREATE PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS FOR MGMT_BLACKOUT_STATE
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
> drop user sysman cascade;
User dropped.
> drop role MGMT_USER;
Role dropped.
> drop PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS;
Synonym dropped.
再裝,繼續報錯
BEGIN
*
ERROR at line 1:
ORA-04031: unable to allocate 3888 bytes of shared memory ("shared
pool","unknown object","sga heap(1,0)","kglsim object batch")
【參考】
SYS@hzh> alter system set shared_pool_size=20M;
Show 一下
System altered.
-------------------------------------------------------------------------
shared_pool_reserved_size big integer 3M
shared_pool_size big integer 20M
-------------------------------------------------------------------------
//大概是10%左右
> drop user sysman cascade;
User dropped.
> drop role MGMT_USER;
Role dropped.
> drop PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS;
Synonym dropped.
再裝
FINISHED EMCA at Nov 5, 2013 3:50:33 PM
作者:kingsql
轉載請註明出處
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28389881/viewspace-775720/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【kingsql分享】RHEL7.0安裝Oracle12cSQLOracle
- UBUNTU安裝kaldi遇到關於not install OpenFst errorUbuntuNFSError
- 【kingsql分享】OEL7.6安裝Oracle18c RPM新玩法SQLOracle
- 12c em安裝
- 安裝12c遇到 Error in invoking target 'irman ioracle' of makefileErrorOracle
- oracle安裝遇到:CreateFile() error 32 when trying set file timeOracleError
- The connection to adb is down, and a severe error has occured.Error
- 解除安裝em12c
- Error creating bean with name ‘dataSource‘ErrorBean
- 【kingsql分享】表空間加密SQL加密
- 【kingsql分享】RAC節點命令SQL
- 11G安裝時報SEVERE: [FATAL] 錯誤的解決方法
- Error creating bean with name 解決ErrorBean
- Android-The connection to adb is down, and a severe error has occuredAndroidError
- 【kingsql分享】ASH的研究和分析SQL
- 【kingsql分享】關於PGA的研究SQL
- 在Linux Mint中安裝Clion遇到CMake Error的解決辦法LinuxError
- 安裝mysql遇到ERROR: 1136 Column count doesn't match value count at row 1MySqlError
- 【kingsql分享】關於Oracle RAC 12c R2的EM使用(XDB報錯通用解決之道)SQLOracle
- Vue專案升級webpack4.x和遇到的那些安裝包ErrorVueWebError
- Repo安裝遇到問題
- 【kingsql分享】ADDM的研究和分析SQL
- 【kingsql分享】雲平臺安全的研究SQL
- An error has occurred when creating this preference page.Error
- 【kingsql分享】檢視metadata的語句SQL
- 【kingsql分享】RAC11G 恢復OCRSQL
- 【kingsql分享】RAC11G 新增節點SQL
- 安裝ElasticSearch-6.2.3所遇到的安裝報錯Elasticsearch
- redis 安裝及安裝遇到的問題解決Redis
- Laravel 安裝遇到的問題Laravel
- NPM 安裝包遇到的坑!NPM
- 安裝mysql遇到的問題MySql
- 安裝rails遇到的問題AI
- 安裝oracle 10g EM database controlOracle 10gDatabase
- oracle安裝包遇到Error: Package: gcc-4.8.5-11.el7.x86_64 (base)問題OracleErrorPackageGC
- 安裝oracle11g遇到的Oracle11g Error in invoking target類錯誤OracleError
- Error creating bean with name 'tomcatEmbeddedServletContainerFactory'ErrorBeanTomcatServletAI
- Error creating bean with name 'memcachedClient'...java.lang.OutOfMemoryErrorErrorBeanclientJava