[root@emcc ~]# yum install -y glibc-devel.i686 [root@emcc ~]# su - oracle [oracle@emcc ~]$ emca -deconfig dbcontrol db -repos drop -SYS_PWD oracle -SYSMAN_PWD oracle STARTED EMCA at May 30, 2019 12:37:38 PM EM Configuration Assistant, Version 11.2.0.3.0 Production Copyright (c) 2003, 2011, Oracle. All rights reserved. Enter the following information: Database SID: emcc Listener port number: 1521 ---------------------------------------------------------------------- WARNING : While repository is dropped the database will be put in quiesce mode. ---------------------------------------------------------------------- Do you wish to continue? [yes(Y)/no(N)]: yes May 30, 2019 12:37:48 PM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/emcc/emca_2019_05_30_12_37_38.log. May 30, 2019 12:37:48 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly WARNING: ORA-28000: the account is locked May 30, 2019 12:37:48 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl WARNING: Error initializing SQL connection. SQL operations cannot be performed May 30, 2019 12:37:48 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration WARNING: EM is not configured for this database. No EM-specific actions can be performed. Some of the possible reasons may be: 1) EM is configured with different hostname then physical host. Set environment variable ORACLE_HOSTNAME=<hostname> and re-run EMCA script 2) ORACLE_HOSTNAME is set. Unset it and re-run EMCA script May 30, 2019 12:37:48 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Dropping the EM repository (this may take a while) ... May 30, 2019 12:38:47 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully dropped Enterprise Manager configuration completed successfully FINISHED EMCA at May 30, 2019 12:38:47 PM [oracle@emcc ~]$ sqlplus / as sysdba SQL> alter system set processes=300 scope=spfile; System altered. SQL>alter system set session_cached_cursors=200 scope=spfile; System altered. SQL> alter system set job_queue_processes=20 scope=spfile; System altered. [oracle@emcc ~]$ mkdir -p /u01/app/oracle/Middleware [oracle@emcc ~]$ mkdir -p /u01/app/oracle/agent [oracle@emcc ~]$ unzip em12105_linux64_disk1.zip [oracle@emcc ~]$ unzip em12105_linux64_disk2.zip [oracle@emcc ~]$ unzip em12105_linux64_disk3.zip [oracle@emcc ~]$ ./runInstaller
【Oracle Database】Enterprise Manager Cloud Control
Guess you like
Origin blog.51cto.com/13598811/2402609
Ranking