Solve the problem that OracleDBConsoleorcl cannot be started

Source: Internet
Author: User


Solve the problem that OracleDBConsoleorcl cannot be started. manually execute emctl. bat, so start the console and execute emctl. bat istart dbconsole, error reported. ORACLE_SID is not defined. Enable emctl. bat. Here is the place where the environment variables are defined. These are already set: if not defined REMOTE_EMDROOT (set ORACLE_HOME = Ec: oracleproduct10.2.0db _ 1) if not defined REMOTE_EMDROOT (set EMDROOT = % ORACLE_HOME %) then if defined REMOTE_EMDROOT (set ORACLE_HOME = % REMOTE_EMDROOT %) if defined REMOTE_EMDROOT (set EMDROOT = % ORACLE_HOME %) if Defined REMOTE_EMDROOT (set LOCAL_EMDROOT = c: oracleproduct10.2.0db _ 1 )...... There is another setting: if not defined DBCONSOLE_SERVICE_NAME (set DBCONSOLE_SERVICE_NAME = OracleDBConsole % ORACLE_SID %), ORACLE_SID is used, but the preceding setting is not displayed. You can only set ORACLE_SID manually, so I added a setting: www.2cto.com if defined REMOTE_EMDROOT (set ORACLE_SID = orcl) orcl is the name of my database instance to start OracleDBConsoleorcl in the service, OK, no error is reported; restart the computer, no error is reported. The OracleDBConsoleorcl service is also started. Emctl istart dbconsoleemctl istop dbconsoleemctl istatus dbconsole author ye Hua Kai

Related Article

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.