【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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Error creating bean with name 'tomcatEmbeddedServletContainerFactory'ErrorBeanTomcatServletAI
- Error creating bean with name ‘dataSource‘ErrorBean
- 【kingsql分享】OEL7.6安裝Oracle18c RPM新玩法SQLOracle
- UBUNTU安裝kaldi遇到關於not install OpenFst errorUbuntuNFSError
- Error creating bean with name 解決ErrorBean
- error creating overlay mount to invalid argument unbuntu系統Error
- 在Linux Mint中安裝Clion遇到CMake Error的解決辦法LinuxError
- Error creating bean with name ‘dataSource‘: Unsatisfied dependency expressed through fieldErrorBeanExpress
- ORA-31687: error creating worker process with worker id 1Error
- Dynamics CRM Error- Creating Entity with an invalid parent. Entity: EmailErrorAI
- Vue專案升級webpack4.x和遇到的那些安裝包ErrorVueWebError
- 【kingsql分享】Linux平臺判斷大小端SQLLinux
- 2.Windows下Sonatype Nexus Repository 安裝與使用Windows
- 異常解決——Spring Cloud FeignClient: BeanCreationException: Error creating bean with name XXXServiceSpringCloudclientBeanExceptionError
- 關於報錯Error creating bean with name 'xxxxx': Invocation of init method....ErrorBean
- Session 'app': Error Launching activity(安裝包安裝失敗)SessionAPPError
- oracle安裝包遇到Error: Package: gcc-4.8.5-11.el7.x86_64 (base)問題OracleErrorPackageGC
- 安裝ElasticSearch-6.2.3所遇到的安裝報錯Elasticsearch
- NPM 安裝包遇到的坑!NPM
- 安裝kylin遇到的問題
- Laravel 安裝遇到的問題Laravel
- Flutter-安裝步驟及安裝遇到的問題Flutter
- se://error/ Oracle 19c EM Exporess無法登陸ErrorOracle
- 安裝.NET Core遇到的錯誤
- 安裝部署hzero遇到的問題
- PaddleOCR 安裝使用遇到的問題
- 小白之 Gin 安裝遇到的坑
- windows2003 的安裝以及安裝時遇到的問題Windows
- Python安裝教程分享Python
- EditPlus安裝教程分享!
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try againErrorAI
- Windows安裝Filebeat遇到問題總結Windows
- 安裝 Laravel Mix 中遇到的問題Laravel
- lumen安裝orangehill/iseed遇到的問題
- 在安裝snipe-it中遇到的坑
- 【kingsql分享】使用BBED修改Oracle資料檔案頭推進SCNSQLOracle
- 【kingsql分享】Oracle Database 19c的各種新特性介紹SQLOracleDatabase
- 【kingsql分享】 多租戶細粒度資源模型 - New Resource Modeling SchemeSQL模型Scheme
- 【kingsql分享】Oracle 18c RAC補丁升級實戰【DBRU】SQLOracle