In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
If you want to start the OEM service of Oracle and run emctl start dbconsole, the error message appears as follows:
/ u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_wjq.comsys.com_OraDB11g not found . To open OEM's web hypervisor, you must first start Database listener, and then start the Datebase Control port monitor, but encounter the following problems:
[oracle@wjq ~] $emctl start dbconsole
OC4J Configuration issue. / u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_wjq.comsys.com_OraDB11g not found.
In fact, such a situation may be that the em database is not configured correctly or that dbcotrol is not configured properly.
Solution:
Reconstruction of em data by ①
[oracle@wjq ~] $emca-repos recreate
STARTED EMCA at Nov 3, 2017 4:35:17 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: seiang11g
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
WARNING: While repository is dropped the database will be put in quiesce mode.
Do you wish to continue? [yes (Y) / no (N)]: y
Nov 3, 2017 4:35:34 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at / u01/app/oracle/cfgtoollogs/emca/OraDB11g/emca_2017_11_03_16_35_16.log.
Nov 3, 2017 4:35:34 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while)...
Nov 3, 2017 4:36:47 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Nov 3, 2017 4:36:47 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while)...
Nov 3, 2017 4:40:32 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager configuration completed successfully
FINISHED EMCA at Nov 3, 2017 4:40:32 PM
② configuration dbcontrol
[oracle@wjq ~] $emca-config dbcontrol db
STARTED EMCA at Nov 3, 2017 2:29:41 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: seiang11g
Listener port number: 1521
Listener ORACLE_HOME [/ u01/app/oracle/product/11.2.0/dbhome_1]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-
You have specified the following settings
Database ORACLE_HOME. / u01/app/oracle/product/11.2.0/dbhome_1
Local hostname. Wjq.comsys.com
Listener ORACLE_HOME. / u01/app/oracle/product/11.2.0/dbhome_1
Listener port number. 1521
Database SID. Seiang11g
Email address for notifications.
Outgoing Mail (SMTP) server for notifications.
-
Do you wish to continue? [yes (Y) / no (N)]: y ^ H
Nov 3, 2017 2:30:36 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at / u01/app/oracle/cfgtoollogs/emca/OraDB11g/emca_2017_11_03_14_29_40.log.
Nov 3, 2017 2:30:39 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while)...
Nov 3, 2017 2:32:36 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Nov 3, 2017 2:32:38 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while)...
Nov 3, 2017 2:32:53 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing / u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl secure dbconsole-host wjq.comsys.com-sid OraDB11g
Nov 3, 2017 2:32:53 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
WARNING: Error securing Database control.
Nov 3, 2017 2:32:53 PM oracle.sysman.emcp.EMDBPostConfig setWarnMsg
INFO: Error securing Database Control. Database Control has been brought-up in non-secure mode. To secure the Database Control execute the following command (s):
1) Set the environment variable ORACLE_UNQNAME to Database unique name
2) / u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl stop dbconsole
3) / u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl config emkey-repos-sysman_pwd
< Password for SYSMAN user >4) / u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl secure dbconsole-sysman_pwd
< Password for SYSMAN user >5) / u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl start dbconsole
To secure Em Key, run / u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl config emkey-remove_from_repos-sysman_pwd
< Password for SYSMAN user >Nov 3, 2017 2:32:53 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while)...
Nov 3, 2017 2:32:58 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Nov 3, 2017 2:32:58 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: > The Database Control URL is http://wjq.comsys.com:5500/em
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.