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--
Starting Oracle11G emctl start dbconsole reported the following error
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to da
Enter export ORACLE_UNQNAME=orcl (instance name) at this time
Re-enter emctl start dbconsole to report the following error
OC4J Configuration issue. / oracle/product/11.1.0/db_1/oc4j/j2ee/OC4J_DBConsole_weishanlake.lakes_orcl not found.
The solution at this time is as follows
1. Delete the EM database command emca-repos drop first
2. Re-establish the EM database command emca-repos create
3. Database Control command emca-config dbcontrol db of the configuration database
Started successfully after configuration
Here are some common commands for EM
Create an EM database
Emca-repos create
Rebuild an EM database
Emca-repos recreate
Delete an EM database
Emca-repos drop
Configure the Database Control of the database
Emca-config dbcontrol db
Delete the Database Control configuration of the database
Emca-deconfig dbcontrol db
Reconfigure the port of db control. The default port is 1158
Emca-reconfig ports
Emca-reconfig ports-dbcontrol_http_port 1160
Emca-reconfig ports-agent_port 3940
After setting the ORACLE_SID environment variable, start the EM console service
Emctl start dbconsole
After setting the ORACLE_SID environment variable, stop the EM console service
Emctl stop dbconsole
After setting the ORACLE_SID environment variable, check the status of the EM console service
Emctl status dbconsole
Steps to configure dbconsole
Emca-repos create
Emca-config dbcontrol db
Emctl start dbconsole
Steps to reconfigure dbconsole
Emca-repos drop
Emca-repos create
Emca-config dbcontrol db
Emctl start dbconsole
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.