emcc oracle,【Oracle Database】install oracle emcc12c on centos

[root@wallet03 ~]# yum install -y glibc-devel.i686

[root@wallet03 ~]# su - oracle

[oracle@wallet03 ~]$ 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: wallet

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/wallet/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= 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@wallet03 ~]$ 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@wallet03 ~]$ mkdir -p /u01/app/oracle/Middleware

[oracle@wallet03 ~]$ mkdir -p /u01/app/oracle/agent

[oracle@wallet03 ~]$ unzip em12105_linux64_disk1.zip

[oracle@wallet03 ~]$ unzip em12105_linux64_disk2.zip

[oracle@wallet03 ~]$ unzip em12105_linux64_disk3.zip

[oracle@wallet03 ~]$ ./runInstaller

feaaa2cf6fff2b8a2f7ccc1d7c89a35e.png

289eaa3d7ea1d7b90af6c96ec9100e7f.png

68e333825981c85bb5e890717e0b612f.png

74fd75d7b3c7b997d15edbdc6922f1c6.png

8f3d1dec0746546393471fdae31ca4f9.png

eb0175e90ab8916a00529926a4467a7e.png

34062e7101f884863fa6bdce63c6653e.png

304ae612d791b6f31c0cec6bb6e7b414.png

2b63f94c2d1e42f37eb436a5e000217c.png[root@wallet03 ~]# /u01/app/oracle/Middleware/oms/allroot.sh

Starting to execute allroot.sh .........

Starting to execute /u01/app/oracle/Middleware/oms/root.sh ......

Running Oracle 11g root.sh script...

The following environment variables are set as:

ORACLE_OWNER= oracle

ORACLE_HOME=  /u01/app/oracle/Middleware/oms

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)

[n]:

The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)

[n]:

The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)

[n]:

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

/etc exist

Creating /etc/oragchomelist file...

/u01/app/oracle/Middleware/oms

Finished execution of  /u01/app/oracle/Middleware/oms/root.sh ......

Starting to execute /u01/app/oracle/agent/core/12.1.0.5.0/root.sh ......

Finished product-specific root actions.

/etc exist

Finished execution of  /u01/app/oracle/agent/core/12.1.0.5.0/root.sh ......

0654fdaa1a28f3644443974c62be951c.png

https://192.168.40.99:7802/em

927f59bc559da068497150114a513cf8.png

1bdeb4ae3842dfb96cbc468f5054d196.png[root@wallet03 ~]# vi /etc/oragchomelist

# /u01/app/oracle/Middleware/oms

# /u01/app/oracle/agent/core/12.1.0.5.0:/u01/app/oracle/agent/agent_inst

[oracle@wallet03 ~]$ cd /u01/app/oracle/Middleware/oms/bin

[oracle@wallet03 bin]$ ./emctl status oms

Oracle Enterprise Manager Cloud Control 12c Release 5

Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.

WebTier is Up

Oracle Management Server is Up

[oracle@wallet03 ~]$ cd /u01/app/oracle/agent/core/12.1.0.5.0/bin

[oracle@wallet03 bin]$ ./emctl status agent

Oracle Enterprise Manager Cloud Control 12c Release 5

Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.

---------------------------------------------------------------

Agent Version          : 12.1.0.5.0

OMS Version            : 12.1.0.5.0

Protocol Version       : 12.1.0.1.0

Agent Home             : /u01/app/oracle/agent/agent_inst

Agent Log Directory    : /u01/app/oracle/agent/agent_inst/sysman/log

Agent Binaries         : /u01/app/oracle/agent/core/12.1.0.5.0

Agent Process ID       : 15941

Parent Process ID      : 15897

Agent URL              : https://emcc.gscaifu.com:3872/emd/main/

Local Agent URL in NAT : https://emcc.gscaifu.com:3872/emd/main/

Repository URL         : https://emcc.gscaifu.com:4903/empbs/upload

Started at             : 2019-05-30 15:01:23

Started by user        : oracle

Operating System       : Linux version 2.6.32-431.el6.x86_64 (amd64)

Last Reload            : (none)

Last successful upload                       : 2019-05-30 15:23:48

Last attempted upload                        : 2019-05-30 15:23:48

Total Megabytes of XML files uploaded so far : 1.25

Number of XML files pending upload           : 0

Size of XML files pending upload(MB)         : 0

Available disk space on upload filesystem    : 25.47%

Collection Status                            : Collections enabled

Heartbeat Status                             : Ok

Last attempted heartbeat to OMS              : 2019-05-30 15:27:37

Last successful heartbeat to OMS             : 2019-05-30 15:27:37

Next scheduled heartbeat to OMS              : 2019-05-30 15:28:37

---------------------------------------------------------------

Agent is Running and Ready

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值