Oracledbconsole Service failed to start cause

Source: Internet
Author: User
Tags java web

The same computer, different wireless connection in the office: ip:***.***.0.100 in the city board: ip:***.***.0.100 at home: ip:***.***.1.101 in d:/oracle/product/10.2.0/db_1/oc4j/ When creating a home under the Java EE, create the Oc4j_dbconsole_www-4a3e4793e05_ORCL, able to connect normally in office  :         oc4j_dbconsole_***.***.0.100_jtza in the City Council:       & nbsp      OC4J_DBConsole_***.***.0.104_z124      If wireless is off,  oc4j_dbconsole_localhost_ Z123 at home, the creation of a computer name, the service can start normally, when the IP address name folder is created, the computer name can not be started, and the IP address is different, the same cannot be started. I think the solution: as long as the machine name is not changed, it is named with the machine name, to start, so that different IP has no effect, and to set the computer name to start, name, and can not be named by the IP name, start. Where does this set up?    Unable to start the OEM console's Dbconsole service, which is a nuisance for the students who manage Oracle database on the Web, I believe there have been many such problems.    the characteristics of the OEM console that cannot be started are as follows 1. Power on or start the oracledbconsole<sid> times wrong, such as 2. In the Administration tools--Event Viewer, such as www.2cto.com   http://www.2cto.com/database/201212/173807.html  causes the Dbconsole service cause to fail to start the OEM console    I currently count two of the following : 1. The calculated name was modified, or the original calculation was not joined to the domain and is now joined to the domain. 2. Modify the connection in the network connection, such as local connection, but this connection is disabled or renamed, it will also cause the Dbconsole service to fail to start.   Solution: For the 1th reason, do the following: Under the installation directory of the Oracle database, such as: D:/ORACLE/PRODUCT/10.2.0/DB_1/OC4J/J2EE, create a folder of Oc4j_dbconsole_ < new calculated name (or new computer name. Domain name) >_<SID>,              the original OC4J_DBCONSOLE_&Lt; the original computed name (or the original computer name. Domain name) >_<SID> folder all files or folders are copied to the folder you just created.   If this is the 2nd reason, enable or rename the original connection name back.  host Join192.168.1.52squall-win7.local192.168.0.100squall-win7.local Resolution http://blog.sina.com.cn/s/blog_4b9439530100fgx2.html The Oracle Console service could not start because of a change in computer name

1, first modify Oracle\product\10.2.0\db_1\oc4j\j2ee\oc4j_dbconsole_ (computer name + domain name) _sid name in the computer name and domain name for the modified.

2, change the host in the Oracle\product\10.2.0\db_1\network\admin\listener.ora file to localhost or the new computer name. After doing this, perhaps Plsql will not log on, then reconfigure the service from the net Manager.

3, oracle\product\10.2.0\db_1\ (computer name + domain name) _sid name, rename this file to the new computer name and SID name.

4, if the above operation, still cannot start the console. Then you can also rebuild the Dbconsole method, after running cmd input command: EMCTL start dbconsole Then there will be an error message, if not set oracle_sid the prompt
environment variable ORACLE_SID not defined. Please define it.

If Oracle_sid is already set, the error message is
Oc4j configration issue. D:\oracle\product\10.1.0\db_1\oc4j\j2ee\OC4J_DBConsole_localhost_java not found.
Where D:\oracle\product\10.1.0\db_1 is the home directory of oracle10g in your own machine

This information is very important, but also the root cause of the service does not come
Dbconsole is a Java Web application, in the establishment of dbconsole, we will be based on the machine and Oracle information to create repos, this repos is the storage of Dbconsole configuration information Warehouse, because the machine disconnected, The name of the machine will be mapped to localhost, and when the library is built by default is the machine name, so at this time two directories do not match, Dbconsole can not find the configuration warehouse directory is also wrong.


Solutions,
Re-establish repos through EMCA
The command is as follows
Emca-config Dbcontrol Db-repos Recreate

If it is not successful, restart your computer and repeat the command execution.

5, at this point you may have started the Dbconsole service, then login to the console to try, if still not, the port 1158 is changed to 5500.

In addition, check the port that is already open method: Execute c:\>netstat-an.

Oracledbconsole Service failed to start cause

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.