Starting Oracle Enterprise Management Console

I have oracle11gR2 database instance up and running on RHEL and i am able to connect to this instance using sqldeveloper. I need to have access to enterprise manager console too.
I tried to start enterprise manager using following command
[ora112@localhost ~]$ emctl start dbconsole
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
then it tells me that ORACLE_UNQNAME is not defined.
the i set ORACLE_UNQNAME=JIP (JIP=ORACLE_SID), even after doing this , i get the same message when i try to start enterprise manager console.
could anybody help me resolve this issue
thanks in advance for any help

Unset ORACLE_SID (i.e. only set ORACLE_UNQNAME instead of ORACLE_SID), then try again. Pl also post the output of command "env | sort" just before issuing the emctl command
HTH
Srini

Similar Messages

  • Unable to drop Oracle Enterprise Manager console in Oracle 11g

    Hello all,
    I am trying to drop the Oracle Enterprise Manager console in Oracle 11g (Windows server 2008 32 bit). I am getting the following error.
    D:\Oracle\Ora11G\BIN>emca -deconfig dbcontrol db -repos drop
    STARTED EMCA at Jun 16, 2009 9:59:58 PM
    EM Configuration Assistant, Version 11.1.0.7.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: NM45
    Listener port number: 1529
    Password for SYS user:
    Password for SYSMAN user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: y
    Jun 16, 2009 10:00:20 PM oracle.sysman.emcp.util.EMCALogManager addLogFileIntern
    al
    WARNING: Adding log file D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log failed. Messages will not be logged in this file.
    Jun 16, 2009 10:00:20 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log.
    Jun 16, 2009 10:00:21 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Jun 16, 2009 10:00:22 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Can't find file D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties
    Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.
    Could not complete the configuration. Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.
    D:\Oracle\Ora11G\BIN>
    Even though the D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties is exists in the disk. Any Idea.
    In Oracle 9i " Enterprise manager Configuration Assistant" (Open “Start ---> Programs ----> Oracle - OraHome92 ---> Configuration and Migration
    Tools -----> Enterprise manager Configuration Assistant) was present. Is there any replacement of this in Oracle 11g ?
    Thanks
    With Regards
    Hemant

    hem_kec wrote:
    Hello all,
    I am trying to drop the Oracle Enterprise Manager console in Oracle 11g (Windows server 2008 32 bit). I am getting the following error.
    D:\Oracle\Ora11G\BIN>emca -deconfig dbcontrol db -repos dropBefore this you shoud do :
    ORACLE_HOME/bin/emca -x <sid>
    ORACLE_HOME>/sysman/admin/emdrep/bin/RepManager <hostname> <listener_port> <sid> -action drop
    Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.did you check this log ?
    Even though the D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties is exists in the disk. Any Idea.yes. you could visit metalink and see      278100.1 How To Drop, Create And Recreate DB Control In A 10g Database
    In Oracle 9i " Enterprise manager Configuration Assistant" (Open “Start ---> Programs ----> Oracle - OraHome92 ---> Configuration and Migration
    Tools -----> Enterprise manager Configuration Assistant) was present. Is there any replacement of this in Oracle 11g ?
    Thanksok
    With Regards
    Hemantbest regards

  • Can't start up enterprise manager console

    I don't know what cause it, I can't start up enterprise manager console again after installing Oracle DS9i and hasn't any error message. Who know how to troubleshoot it, please tell me know, thank.

    Show us the output of
    emctl status dbconsoleMost of the times, EM stops with DGCP being enabled on the system after the db's creation. I faced alot of it just 2 days ago when 2 of my boxes stopped EM. So show us the output of the above command and to have an idea of basic EM troubleshooting, read this,
    http://oracle-base.com/articles/misc/BasicEnterpriseManagerTroubleshooting.php
    HTH
    Aman....

  • Can't start up enterprise manager console again

    I don't know what cause it, I can't start up enterprise manager console again after installing Oracle DS9i and hasn't any error message. Who know how to troubleshoot it, please tell me know, thank.

    bash-3.00$ export
    ORACLE_HOME=external1/oracle/testdb/9.2.0/
    bash-3.00$ export ORACLE_SID=TEST
    bash-3.00$ emctl status dbconsole
    bash: emctl: command not found
    I seriously doubt you ever read my previous post.
    You can try the commands a thousand times on your 9i installation, it's not going to work period.

  • Automatically starting Oracle Enterprise Manager with chkconfig

    Folks,
    While Oracle Linux 6 is out (6.2 actually), Oracle has yet to get everything 'working out of the box' with 6.2. Right now (June 2012) you've got to download patches from Oracle, the new way to start services in Linux 6, upstart, doesn't work with all Oracle features yet, etc. Update: You can still use chkconfig with OL6.
    Because of the above, I've been using Oracle Linux 5.8. Linux 5 uses something called chkconfig to register services. You first need to put a script in the right directory: /etc/rc.d/init.d. Linux looks in this directory for scripts and runs those scripts with either a start or stop after them depending on if the system is coming up or going down. Technically this happens every time you change your runlevel (google Unix runlevels for more info), not just when the system goes up or down.
    Here's a script that you can put in /etc/rc.d/init.d. I named mine oracleEM:
    [root@localhost ~]# cd /etc/rc.d/init.d
    [root@localhost init.d]# vi oracleEM
    Enter i to enter insert mode and then enter the below (or just copy and paste it)
    *#!/bin/sh*
    *#chkconfig: 2345 80 05*
    *#description: Oracle Enterprise Manager*
    ORA_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    ORA_OWNER=oracle
    ORA_SID=orcl
    *# We're checking to see if ps returns 1 or 2 results for pmon_orcl*
    *# If there are two, Oracle is running, one we are just seeing our grep*
    ORACLE_STATUS=$(ps -eaf | grep pmon_$ORA_SID | wc -l)
    *if [ ! -f $ORA_HOME/bin/emctl ]*
    then
    echo "Enterprise Manager startup: cannot start"
    exit
    fi
    case "$1" in
    *"start")*
    *if [ $ORACLE_STATUS -lt 2 ]*
    then
    echo "Waiting for Oracle instance $ORA_SID to start before starting Enterprise Manager"
    fi
    *while [ $ORACLE_STATUS -lt 2  ];do*
    echo "Waiting...."
    sleep 5
    ORACLE_STATUS=$(ps -eaf | grep pmon_$ORA_SID | wc -l)
    done
    su - $ORA_OWNER -c "$ORA_HOME/bin/emctl start dbconsole"
    *"stop")*
    su - $ORA_OWNER -c "$ORA_HOME/bin/emctl stop dbconsole"
    esac
    Press the Esc key to leave insert mode, then type *:wq* to write the file and quit.
    We'll need to make the script executable, so we need to run the following command:
    [root@localhost init.d]# *chmod +x oracleEM*
    Finally we need to register the oracleEM script with Linux using the chkconfig command:
    [root@localhost init.d]# *chkconfig --add oracleEM*
    Now Enterprise Manager will start up automatically when you start your system, but only after Oracle has started.
    Rich
    Edited by: RichS on Jun 9, 2012 1:00 AM

    The script you are using will not work for RHEL or Oracle Linux since it is incorrect and missing important coding.
    You can probably fix the script by removing the dash (-) from the su command and adding the lockfile that is required for RHEL to process the stop routine at system shutdown. The dash will reset the shell environment and the startup won't work. You should also start it in the background in order not to prolong the system startup more then necessary.
    lockfile=/var/lock/subsys/oracleEM
    start)
       su $ORA_OWNER -c "$ORA_HOME/bin/emctl start dbconsole &" &>/dev/null
       touch $lockfile
    stop)
       su $ORA_OWNER -c "$ORA_HOME/bin/emctl stop dbconsole"
       rm -rf $lockfile
    ...You do not need to start your Oracle instance before starting dbconsole. So there is no need for the "sleep" routine. You can start the Oracle Database control console even when the instance is down:
    For instance:
    <pre>
    [oracle@vm005 ~]$ ps -ef | grep pmon
    oracle 17749 10343 0 22:48 pts/3 00:00:00 grep pmon
    $ emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://vm005.example.com:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ....... started.
    </pre>

  • Oracle 8i: Oracle enterprise manager console

    Dear all,
    I installed oracle 8i (8.1.6) server on linux and client on my own NT
    machine. I had no problem to access the database using sqlplus and DBA
    studio. I also configured oracle management server and tried to using
    Oracle Enterprise Manager Console. Also, there was no problem to discover
    the node and to ping agent. But, when I tried to connect to the database,
    it gave me the following error message: "ORA-12545: connect failed because
    target host or object does not exit". Can someone help me out?
    Thanks.
    Dewei

    add or drop users, Using GUI tools could be sometime dangerous.
    You can always use performance diagnostic (oracle provided) to have performance stats in graphical display.
    You can also use EM Grid Control (10g) in order to maintain 8i and 9i with 10g EM Grid control.
    You need to install an agent on those database in order to communicate with 8i and 9i.
    Jaffar

  • Oracle Enterprise Manager Console Login issue

    HI Guys,
    I have installed Oracle 10g on my Windows 7 64 bit system and have trouble running Oracle Enterprise Manager Console.
    When I open Oracle Enterprise Manager Console it prompts me for a Hostname and SID parameters. For which I have given my System name as the parameter and orcl as the SID.
    Then I get an error saying that " Failed to parse tnsnames.ora file ServiceAliasException: 11 "
    Please Help!!
    Thank you!!
    Karthik

    The dbconsole needs to be configured, assuming your database instance is up and running ...
    For startup info see http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/em_manage002.htm#sthref143

  • Oracle Enterprise Manager Console Sessions

    I do apologize if this is posted in the incorrect location. I have Oracle Enterprise Manager Console open and i'm within instances\Sessions. When I first log in there are 9 total active sessions. 1 is mine with program java.exe which is OEMC. I have a website that calls a stored procedure. It will return either a string or nothing depending on if there is a row in the table. That is the only call that is being made. This executes on page load. As soon as I go to this page and it loads I check OEMC again and now I have 5 new INACTIVE sessions with program w3wp.exe. Why is there 5 when i'm only making 1 call to the database?
    Here is the c# code i'm using on my master page. The page that is calling the master page only has text there is nothing in the code behind for that page.
    OracleParameter pMsg;
    OracleConnection conn = new OracleConnection(ConfigurationManager.ConnectionStrings["strDB"].ConnectionString);
    OracleCommand command = new OracleCommand("GetMsg", conn);
    command.CommandType=CommandType.StoredProcedure;          
    pMsg = command.Parameters.Add("PMSG", OracleDbType.Varchar2, 4000);
    pMsg.Direction = ParameterDirection.Output;               
    conn.Open();
    command.ExecuteNonQuery();
    string sMsg = Convert.ToString(pMsg.Value);
    if (sMsg.Length > 1)
    litMsg.Text = "** " + sMsg + " **";
    conn.Close();
    conn.Dispose();      
    command.Dispose();
    Thank you for any help

    I think I figured out what is going on. I think it's the connection pooling that is creating these 5 connections. When I turned pooling off it created 1 connection when I was on that page and then when I exited the connection was gone as well. My question now is are these 5 connections for the entire site? Meaning that it will server anyone user to my site?
    If I have an open connection object later on in my code does it skip this process and just go to the connection pool?
    Thanks

  • Oracle Enterprise Manager Console TNS-04404 / TNS-04414

    Oracle Enterprise Manager Console
    Version 10.1.0.2.0 Production
    Running on Windows XP Professional
    =================================================
    Failed to parse tnsnames.ora file
    oracle.net.config.ServiceAliasException: TNS-04404: no error
    caused by: oracle.net.config.ConfigException:TNS-04414: File error
    caused by: TNS-04612: Null RHS for "QCCP1.WORLD":
    0
    =================================================
    (NOTE): I understand that this issues is related to TNSNAMES.ORA file. I have another computer, and the OEM Console is working just fine on that computer. So, I copied the TNSNAMES.ORA file from the other computer, but still I am receiving the same issue.
    Please let me know if you can help me with this issue. Thanks in advance ...

    878649 wrote:
    This problem occur when i run version 10.2 of Console Enterprise Manager
    This a very funny error but took me a lot tries and errors to solve it !
    I'ts related to the syntax of an entry defining an SID in the tnsnames.ora. This an oracle bug for sure
    Here is an entry in my tnsnames.ora
    Then why does posted example below NOT contain any "SID" entry?
    mydb.world =
    *(DESCRIPTION =*
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myoraclehost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mydb)
    At first look this entry is valid. At least SHOULD BE VALID an understood by oracle tnsnames interpreter
    After a couple of tries, i finally found that there should be at least one space between the begining of the line where figure out the description keyword (DESCRIPTION
    I've corrected the problem by inserting a space before this keyword.
    This happen

  • Cannot login as sysdba in Oracle Enterprise Management Console

    Hi,
    I have recently installed Oracle 9.2.0.4 in Red Hat Linux 9.
    I ran "oemapp console" to launch the Oracle Enterprise Manager Console Standalone. However, everytime I tried to login as:
    user: sys
    password: <sys password>
    connect as: sysdba
    I always get ORA-01031: insufficient privileges.
    The Oracle database where I cannot connect as sysdba in OEM was created MANUALLY.
    However, I can successfully login to OEM as sysdba if the database was created using Database Configuration Assistant...
    So I might have missed out some configurations when I creasted the database MANUALLY...
    any ideas??
    Thanks in Advance
    Regards
    Prasanna

    Hi there once more,
    Of course it is possible that user system has the same problems as user sys (insufficient privs)....
    In that case try to log on as internal/pwd@dbname as sysdba to perform the trick.
    Good luck!
    Regards,
    Georges.

  • How to start Oracle Enterprise Manager(Oracle 9i) on Sun Solaris 9 platform

    Hi
    How to start Oracle Enterprise Manager(Oracle 9i) on Sun Solaris 9 platform and Oracle Enterprise Manager(Oracle 10G) on Sun Solaris 10 platform?
    Thanks.
    RJ.

    I need to use it to unlock some accounts.There is a SQL command to do that
    SQL> alter user <username> account unlock;
    Anyway...
    $ export ORACLE_SID=chucky
    $ emctl start dbconsole

  • Oracle Enterprise Management Console doesn't work

    Hi, there,
    I meet a strange problem. I use JDeveloper to make jsp project. the database is oracle 9i. I install JDeveloper and database on the same machine. at first, everything is ok. but suddenly I found that I can't run Enterprise Manager Console. the icon in the start meun became unrecognize. if I run the command on the command line, it's refused. I don't know what's the reason. but what's more strange is that I can run jsp project and store and retrieve data from database. I really don't know the reason, besides, how can I change database structure and view data stored in the database without Enterprise Manager Console?
    my project will be used on the next week, but I don't know if this problem will effect funcation!
    does there anyone know the reason and how can I resolve it? besides, my OS is windows xp professional.
    any hint will be great appreciated!!

    You can view your all values from Jdeveloper only .
    Go for connection Database and click on user than u can c database structure and all tables views ....
    Hope it helps

  • Help needed with starting Oracle Enterprise Manager on win 2008 server SP2

    Hi,
    i am unable to start the oracle enterprise manager. I did the following steps:
    E:\oracle\product\10.2.0\db_1\BIN>sqlplus
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 12 16:59:20 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name: /as sysdba
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Productio
    With the Partitioning, OLAP, Data Mining and Real Application Testing optio
    SQL> host
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    E:\oracle\product\10.2.0\db_1\BIN>emctl stop dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://primary:1158/em/console/aboutApplication
    The OracleDBConsoleorcl service is not started.
    More help is available by typing NET HELPMSG 3521.
    E:\oracle\product\10.2.0\db_1\BIN>emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://primary:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is not running.
    E:\oracle\product\10.2.0\db_1\BIN>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://primary:1158/em/console/aboutApplication
    Agent Version : 10.1.0.6.0
    OMS Version : 10.1.0.6.0
    Protocol Version : 10.1.0.2.0
    Agent Home : E:\oracle\product\10.2.0\db_1\primary_orcl
    Agent binaries : E:\oracle\product\10.2.0\db_1
    Agent Process ID : 1740
    Agent URL : https://primary:1830/emd/main
    Started at : 2010-10-11 18:12:36
    Started by user : SYSTEM
    Last Reload : 2010-10-12 12:37:00
    Last successful upload : 2010-10-12 09:31:28
    Last attempted upload : 2010-10-12 16:55:14
    Total Megabytes of XML files uploaded so far : 2.87
    Number of XML files pending upload : 264
    Size of XML files pending upload(MB) : 1.34
    Available disk space on upload filesystem : 37.95%
    Agent is already started. Will restart the agent
    The syntax of this command is:
    NET STOP
    service

    Sorry mate,
    i have no idea why its showing different versions. I installed the software using the media i received thru Oracle for 64 bits.
    I started the Windows service for dbconsole. It worked for a minute and the page disappeared again. Does it have something to do with firewall. I had set the Firewall off.

  • Oracle Enterprise Manager Console redirection

    I've recently moved one of our servers that has Oracle 10g 10.2.0.2.0 installed to another domain. After this was done, the Database Control to navigate to the web page will no longer work properly. I have tried uninstalling and reinstalling Enterprise Manager Console, and changing the default web address in the browser's title bar, but to no avail. Are there certain configuration parameters that need to be addressed in order to get this working again, or certain registry settings that need to be altered? Thanks for any help on this in advance.

    Only a general advice is possible. This kind of error occurs,when there are mismatches in your installed Oracle software. In your case 'java.exe' and 'oci.dll' are not suited to each other. You may have to repeat the installation . Keep an eye on error messages.
    Werner

  • Starting Oracle Enterprise Manager

    This is an easy question for someone. I installed 9i on a Red Hat 9 Linux system. There was an error at the end of the install so I don't think it completely installed the tools. I have managed to fix most of the errors and can successfully start the database. What I haven't been able to find is the command to start the Enterprise Manager. Our dba hasn't ever used the unix tool he has become a point and click admin using Windows for too long. Can someone tell me how to start the Enterprise Manager in Linux. Thanks.

    Try this on the machine itself as the oracle user :
    $ORACLE_HOME/bin/oemapp console

Maybe you are looking for