How to handle OEM startup errors under Windows

Source: Internet
Author: User
Tags mail port number

First, start ORM Error

C:\Documents and Settings\hostname>emctl start Dbconsole

environment variable ORACLE_SID not defined. Please define it.

Second, set up Oracle_sid

C:\Documents and Settings\hostname>set ORACLE_SID=ORCL

Third, start OEM, there are new mistakes

C:\Documents and Settings\hostname>emctl start Dbconsole

Unable to determine the local host from URL repository_url=http://hostname:%em_upload_port%/em/upload/

Four, set Dbcontrol (follow the prompts, the final OEM will automatically start)

C:\Documents and Settings\hostname>emca-config Dbcontrol db

EMCA started in 2010-8-26 16:37:28

EM Configuration Assistant 10.2.0.1.0 Official edition

Copyright (c) 2003,%, Oracle. All rights reserved.

Enter the following information:

Database SID:ORCL

Database control has been configured for DB ORCL

You have chosen to configure database control to manage databases ORCL

This action will remove the existing configuration and default settings and perform the configuration again

Do you want to continue? [Yes (y)/no (N)]: Y

Listener Port number: 1521

SYS User's password:

DBSNMP User's password:

Sysman User's password:

Sysman User's password: email address of notification (optional): hostname@organ.gov.cn

Notification of the sender (SMTP) server (optional): mail.organ.gov.cn

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

The following settings are specified

Database Oracle_home .......... E:\oracle\product\10.2.0\db_1

Database host name ... hostname------

Listen to the program port number ....... 1521

Database SID ... orcl. ........

e-mail address of the notification ..... hostname@organ.gov.cn

Notification of the sender (SMTP) server .... mail.organ.gov.cn...

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

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.