Enterprise Manager doesn't connect to DB

Hi,
my Enterprise Manager 11g on Windows Server 2003 64-bit is not able to connect to the database instance. Listener is up and agent connection with instance (or so) is not available.
Listner and database are running because I can connect via sqlplus. Also agent and contorl are working fine.
emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent Version : 10.2.0.3.0
OMS Version : 10.2.0.3.0
Protocol Version : 10.2.0.2.0
Agent Home : D:\Oracle\product\11.1.0\db_1\[computername_sid]
Agent binaries : D:\Oracle\product\11.1.0\db_1
Agent Process ID : 3404
Agent URL : https://[computername]:3938/emd/main
Repository URL : https://[computername]:1158/em/upload/
Started at : 2008-03-14 02:07:27
Started by user : SYSTEM
Last Reload : 2008-03-14 02:07:27
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 626
Size of XML files pending upload(MB) : 24.87
Available disk space on upload filesystem : 94.26%
Data channel upload directory : D:/Oracle/product/11.1.0/db_1/[computername_sid]/sysman/recv
Last attempted heartbeat to OMS : 2008-03-14 02:10:34
Last successful heartbeat to OMS : unknown
Agent is Running and Ready
emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://[computername]:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
Logs are generated in directory D:\Oracle\product\11.1.0\db_1/[computername_sid]/sys
man/log
First of all: it had worked before! Then I had forgotten sys/system/sysman passwort (yes it's a bad idea using the same password). So connected via sqlplus with OS authentication and changed sys's password. Loged in to the database with EM, changed system and sysman to the same password as sys.
Everything worked OK connecting to the DB via sqlplus or sql developer and other tools. But today I wanted to connect to the DB using EM, doesn't work.
Searching the forums I found a tip that sysman password should be the same as sys password. I wanted to check sysman's acount. Sqlplus said account locked. So I have done alter user sysman account unlock. After that I can connect with sysman via sqlplus, but after loading EM in the browser or restarting the console I am not able to connect via sqlplus as sysman because the acount is locked again. Whenever I am restarting the db console or browsing to loclahost:1158/em with or without restarting the console the sysman account is locked.
Maybe that is an indicator showing what's going wrong? Is there another option rather than deleting and reinstalling the db?
Yavuz

Searching the forums I found a tip that sysman password should be the same as sys password. I wanted to check sysman's acount. Sqlplus said account locked. So I have done alter user sysman account unlock. After that I can connect with sysman via sqlplus, but after loading EM in the browser or restarting the console I am not able to connect via sqlplus as sysman because the acount is locked again. Whenever I am restarting the db console or browsing to loclahost:1158/em with or without restarting the console the sysman account is locked.If you see sysman's account has been locked and even if you unlock it, it locks again then it means enterprise manager is providing the wrong password. Sysman doesn't need to have the same password as sys, and you can change the password whenever you want. When you first create the database dbca prompts you for sys password and asks you if you want to leave the same password for all administrative accounts, including sysman, that's why someone in the forum might have thought it was a recommendation, but it isn't.
I suggest you to leave just the same password sysman had prior to this change, since this password is hashed at the sysman's configuration files and is the one it tries to use to logon to the database. In case you have forgotten the original sysman's password I suggest you this reference: http://madrid9999.googlepages.com/emhowtoresetsysmanpassword
~ Madrid
http://hrivera99.blogspot.com/

Similar Messages

  • Enterprise manager is Not Connecting to database

    Hi
    I installed oracle 10g on my system the installation was successfull but in the enterprise manager console
    1.database instance is down
    2.Listener is up and running
    3.Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    starting the database with sysoper I m having following queries executed but EMC is not able to connect to the database
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 2 23:58:04 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Release 10.2.0.1.0 - Production
    starting the database with sysdba I m having following exception
    SQLException
    Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCL10G)))
    I m able to work from windows commant prompt by using following commands
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    G:\oracle\product\10.2.0\db_2\BIN>emctl status dbconsole
    Environment variable ORACLE_SID not defined. Please define it.
    G:\oracle\product\10.2.0\db_2\BIN>set ORACLE_SID=ORCL10G
    G:\oracle\product\10.2.0\db_2\BIN>emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://127.0.0.1:5500/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory g:\oracle\product\10.2.0\db_2/127.0.0.1_ORCL10G/
    sysman/log
    G:\oracle\product\10.2.0\db_2\BIN>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-APR-2008 23:36
    :55
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 02-APR-2008 23:17:44
    Uptime 0 days 0 hr. 19 min. 11 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File g:\oracle\product\10.2.0\db_2\network\admin\listener.o
    ra
    Listener Log File g:\oracle\product\10.2.0\db_2\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    G:\oracle\product\10.2.0\db_2\BIN>lsnrctl service
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-APR-2008 23:37
    :06
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    G:\oracle\product\10.2.0\db_2\BIN>sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 2 23:37:28 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn/as sysdba
    Connected.
    SQL>
    Please tell Me what is the problem

    Tony Cool,
    Please don't post this in every forum you can spell. You also posted this as [email protected] in comp.databases.oracle.server.
    The only thing you should do is
    Look up the error messages in the online documentation and work from there.
    This are known errors, the solution is all over the Internet, there is really no need for you to request volunteers to deliver it on your doorstep for free.
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle Enterprise Manager can't connect to database after installation

    Hello, I have a problem with Enterprise Manager. I installed Oracle 10g and the patch 10.2.0.2. After install, I could connect to database from SqlPlus without problems, but when I try to connect from AllPrograms - Oracle - DatabaseControl or since the Web browser with http://servername:1158/em nothing happen. I reviewed the status of dbconsole with emctl status dbconsole but the status is running. I recreated the repository with emca -deconfig.......-repos drop and emca -config ...... -repos create , but nothing happened. I reviewed some threads in this forum, but I didn't find the solution. Finally I could connect from the browser but with http://localhost:1158/em. Do you help me how can I connect from Database Control, because the operators in Computer Center should monitor the instance since there, and when I want to connect since my own PC how can do it?
    Thanks for your help and excuse my English, I am from Bogotá Colombia.
    Sincerely Rubén

    Hi,
    Check the network connectivity between db server and pc from where u want to access em.
    Check the listener service.
    Check firewall settings, it should be off.
    Regards,
    Xaheer

  • 10g / Enterprise Manager / SAVES old CONNECT STRING

    Using 10g Personal Edition on Windows XP, I was able to use Enterprise Manager.
    Then I rebooted. My DSL modem changed the IP address. The previous IP address was stored in SqlNet.ORA, TNSNames.Ora, the Registry and in a file directory name:
    F:\oracle\product\10.1.0\Db_5\208.127.230.185_Forcl
    The new IP is 208.127.230.136 .
    I can login with SQL*Plus.
    Enterprise Manager says I should Recover the Database. It uses this connect string:
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=208.127.230.185)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=Forcl)))
    There is no clear place to edit the HOST IP or to clear out ALL of the previous references to the old IP address.
    Suggestions?
    Thanks,
    - CarlD

    We're on the right track.
    Is a loopback connector a software setting or some form of hardware?
    If I have to reconfigure every time I boot, are there specific files that need to change? Can I just edit the file?
    I don't see a reconfigure or -reconfigure option. I can run:
    emctl deploy [two options]
    Deploy has two options :
         emctl deploy agent [-n <NTServiceName>] [-u <NTServiceUsername>] [-p <NTServicePassword>] [-s <install-password>] <deploy-dir> <deploy-hostname>:<port> <source-hostname>
         emctl deploy dbconsole [-n <NTServiceName>] [-u <NTServiceUsername>] [-p <NTServicePassword>] [-s <install-password>] <deploy-dir> <deploy-hostname>:<port> <source-hostname> <sid>
    agent :
         'agent' creates and deploys only the agent.
         'dbconsole' creates and deploys both the agent and the dbconsole.
    [-s <password>]:
         Install password for securing agent.
    [-n <NTServiceName>]:
         The name of the Windows Service to create for the deployment. If
         not specified no service is created.
    [-u <NTServiceUsername>]:
    [-p <NTServicePassword>]:
         Credentials of the Windows Service. The deployed agent/dbconsole
         will run with these credentials.
    <deploy-dir> :
         Directory to create the shared(state-only) installation
    <deploy-hostname:port> :
         Hostname and port of the shared(state-only) installation.
         Choose unused port.
    <source-hostname> :
         The hostname of the source install.
         Typically the machine where EM is installed. This is searched and
         replaced in targets.xml by the hostname provided in
         argument <deploy-hostname:port>.
    <sid> :
         The instance of the remote database. Only specified when
         deploying "dbconsole".

  • Enterprise Manager could not connect

    Sir,
    i have Oracle 10g installed on my laptop. I created a database, besides the ORCL one.
    I stopped the the following services OracleDBConsoleorcl, OracleJobSchedulerORCL and OracleServiceORCL.
    now when i tried to connect to the enterprise manager through my browser i was unable to.
    But when i start the above processes i am able to connect to the em but with the orcl instance.
    Please help me as i need to connect to the other db instance.

    965985 wrote:
    Sir,
    i have Oracle 10g installed on my laptop. I created a database, besides the ORCL one.
    I stopped the the following services OracleDBConsoleorcl, OracleJobSchedulerORCL and OracleServiceORCL.
    now when i tried to connect to the enterprise manager through my browser i was unable to.
    But when i start the above processes i am able to connect to the em but with the orcl instance.
    Please help me as i need to connect to the other db instance.What is ORACLE_SID for the new DB?
    We need o verify the status of the new DB.
    issue the following OS commands
    lsnrctl status
    lsnrctl service
    COPY results from above then PASTE all back here.

  • How do i start enterprise manager without internet connection

    Hi friends,
    I am facing a problem with my oracle 10g enterprise manager. It is working properly with 64 bit windows 7 os with internet connection. without internet connection i cant start start the enterprise manager how can i resolve the issue and start the enterprise manager without internet/
    Thanks in advance:
    regards
    sree
    Edited by: sreeprasad on Oct 16, 2012 2:44 AM

    # AutoGenerated by Microsoft (R) Malware Protection Engine.
    # Copyright (c) 1993-2009 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host
    #     127.0.0.1 localhost
    #     ::1 localhost
    My host file shows like dis.
    What changes i do with this? and where i type the command emctl status dbconsole?

  • Version 6.1.0 B34 desktop manager doesn't connect

    I upgraded my desktop software to version 6.1.0 Bundle 34 and could not get my phone (8310 Curve) to connect but maybe 1 in 10 tries. Tried all the usual fixes, removed and reloaded the program several times. It always hung on "connecting" and when I would try to close the program it hung on "exiting blackberry desktop". The only way I could close it was with task manager. Reverted back to version 6.0.2.44 Bundle 45 and it works fine again.??

    I upgraded my desktop software to version 6.1.0 Bundle 34 and could not get my phone (8310 Curve) to connect but maybe 1 in 10 tries. Tried all the usual fixes, removed and reloaded the program several times. It always hung on "connecting" and when I would try to close the program it hung on "exiting blackberry desktop". The only way I could close it was with task manager. Reverted back to version 6.0.2.44 Bundle 45 and it works fine again.??

  • Enterprise Manager doesn't work!

    Hi,
    My EM doesn't work. I don't know why, but the Console Service doesn´t Run, and therefore I cannot enter EM.
    When I try to configure it with DBCA it gives me the following errors:
    22/Jun/2011 21:53:34 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Error executing CMD /C D:\app\PauloSilva\product\11.2.0\dbhome_1\sysman\admin\scripts\emca\emcaDbUtil.bat "D:\app\PauloSilva\product\11.2.0\dbhome_1\sysman\admin\scripts;D:\app\PauloSilva\product\11.2.0\dbhome_1\bin;" D:/app/PauloSilva/product/11.2.0/dbhome_1/perl/bin\perl.exe D:\app\PauloSilva\product\11.2.0\dbhome_1\sysman\admin\scripts\emca\emcaDbUtil.pl D:\app\PauloSilva\product\11.2.0\dbhome_1 "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=itpeopleps)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))" SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; ORCL 1 SYSMAN_PWD
    22/Jun/2011 22:29:02 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Failed to unlock mgmt_view account
    22/Jun/2011 22:29:02 oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    22/Jun/2011 22:29:02 oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at D:\app\PauloSilva\cfgtoollogs\dbca\orcl\emConfig.log for more details.
    22/Jun/2011 22:29:02 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:349)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
         at oracle.sysman.assistants.util.em.EMConfigStep.executeImpl(EMConfigStep.java:139)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
         at oracle.sysman.assistants.dbca.backend.PostDBConfigureStep.executeImpl(PostDBConfigureStep.java:269)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
         at java.lang.Thread.run(Thread.java:595)
    Can anyone help me, please?!?!
    Thanks!

    user13794852 wrote:
    Hi,
    First of all I would like to thank all of you for your answers and suggestions.
    My DB Version is Oracle 11 R2.
    Since I was not able to solve the problem quickly and it was an urgent issue I've managed to configure a brand new Database Instance. This time I was able to do that, because it was on a testing stage in my computer.
    But if the problem ever appears again in production I guess I'll have to return right in here ... I still don't understand what went wrong. One day Grid was just fine and DBConsole service running, and another just went away and its service (OracleDBConsole) just stopped. I've only installed Infragistics components and did a couple of Windows Updates. Is there any way to figure out qhat went wrong?
    Since I don't have Matalink account And now you know the exact dollar figure at which your company values its data - zero.
    I cannot find those 10 docs opened regarding this issue, but would any of you, please, instruct me what I should have done to correct it?
    (i've tried to use the emca command do recreate the repository, but I've allways hit errors)
    If we knew those errors we could help you work through them.
    Thanks!

  • Enterprise manager 11g doesn't display

    Hi all,
    I have installed Oracle 11g on Windows server 2008. But now enterprise manager doesn't want to open or display.
    C:\Users\Oraclemon>set ORACLE_SID=wmconpd1
    C:\Users\Oraclemon>emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://SZAJHBODW01.zacca.af.lafarge.net:5500/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ...The OracleDBConsoleWM
    CONPD1 service is starting................
    The OracleDBConsoleWMCONPD1 service was started successfully.
    http://10.56.16.52:5500/em in internet explorer
    It only shows a upside down T L and two other reversed rr.
    But when I connect to one of my other sites no problem, it displays.
    Please help

    Why are you accessing via IP address ?
    Try using https://SZAJHBODW01.zacca.af.lafarge.net:5500/em/console/
    emctl status dbconsole
    Did you check the logs ?

  • How to connect to oracle10g Database using oracle11g Enterprise Manager.

    Hi,
    please suggest me how to connect to oracle10g Database using oracle11g Enterprise Manager.
    i did setting in tnsnames.ora file of oracle11g database but when i am trying to connect sys@testvsr and password
    using oracle11g Enterprise manager its not connecting but from command prompt its connecting.
    its not acccepting hostname its simply telling invalid username and password ,if i remove and try to connect its connecting.
    so please suggest its very urgent my manager is nagging.
    Regards,
    Srinu.

    you cant attach a database 10g instance with
    Enterprise manager of 11g as enterprise manager is
    meant for a single database only .. your problem cant be solved
    enterprise manager it can be solved by using GRID CONTROL
    For more details visit oracle documentation..
    Hope This helps..
    BI TC

  • Enterprise Management Console : I Broke It

    All:
    The purpose of this post is to request advice on a problem I am having with accessing the EMC.
    I am running Oracle 10g and the installation went well. I was able to access the em via IE using http://<hostname>:<port>/em.
    For example, my url was http://myPC:<port>/em. This was working fine.
    The problem happened when I changed the Host Name from "myComputer" to "127.0.0.1" via the Oracle Net Manager. I also created a Net Service Name for "127.0.0.1" via the Oracle Net Configuration Assistant.
    Since then, I am unable to access the EMC. I have substituted "127.0.0.1" for previous hostname in the URL but still no luck.
    Has anyone seen this before? How to either (a) get the EMC to work with the IP address or (b) undo the changes without breaking anything else.
    Thanks in advance!

    What has happened is that your Enterprise Manager doesn't match what it originally configured at database creation time, you must reconfigure it. However one issue here I don't see why you try to configure this with the localhost instead of using your regular hostname.
    Are you using a dhcp dynamic ip address? If this is the case, you should configure a loopback adapter, so your enterprise manager has a fixed address and a fully qualified hostname. You must configure your hosts files too.
    I suggest you to read this --> Enterprise Manager DB Control Console.
    ~ Madrid

  • Enterprise Manager 10g DBControl - Listener doesn't appear on home page

    I have a testing system, running on Microsoft Windows Server 2003, Enterprise Edition, Service Pack 2 with an Oracle DB 10g v10.2.0.3.0 installed. A few days before today I found out that I don't have the link with the listener on the Enterprise Manager DBControl home page. I'm attaching a print screen with the image I have on the home page.
    [http://img249.imageshack.us/my.php?image=listener20090126de7.jpg]
    I didn't observe if this problem got from the initial installation, but I think it didn't, as this was a clean system and everything should have worked fine. Yet, since the initial installation the system got into some changes regarding the Operating System and I refer to the name of the server by joining a domain and got added the suffix of the domain. The listener works fine, I can connect from any workstation and do whatever I want, but the link with the listener doesn't appear from anyplace I try to connect and do something.
    Please help me if you know any solution regarding this.
    Thank you.

    Hello and sorry for being late with an answer.
    I solved the problem so now I can't try the last solution to see if it helps. The solution I chosed was to deconfigure the DBControl with EM and then reconfigure it back.
    On one hand this helped solving the problem, but on the other hand all the settings made in EM got lost. There was no problem losing these settings as this was a test system. If it would have been a productive system having more settings in EM I don't think I'd choose the same solution I mentioned above.
    I'll mark the question as answered but mentioning once again that I don't recommend this for a productive system.
    Thank you all for the suggestions.

  • How to connect 10g database through Enterprise manager???

    Hi All,
    I want to connect the database through Enterprise manager.
    My database is on 10g. Version is 10.1
    Please tell me the procedure to connect the database through E.M.
    Thanks and Regards,
    Prathamesh.

    Are you thinking of the Enterprise Manager supplied with Oracle9i? If yes - it doesn't work quite that way ... and the 9i java OEM is not compatible.
    Use the enterprise manager supplied with the 10g database, called the dbconsole (look for a service or start it using 'emctl start dbconsole') and access it using http://{localhost}:5500/em
    If that doesn't satisfy you, load the updated version of the OEM 9i java standalone from the 10g client disk.

  • 10g Enterprise Manager is not able to connect to the database instance

    I am running a Oracle 10g database in Solaris 10 server. When i am trying to connect to the enterprise manager it says Enterprise Manager is not able to connect to the database instance.
    The database instance is open,the listener is up and the agent connection also says that it succeeded.
    The server houses two 10g databases and the EM was working properly till yesterday. Kindly Help.
    Thanks in advance.
    Ram

    Hi,
    The EM is started and if i give emctl status dbconsole
    -bash-3.00$ emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://gladiator:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running
    Logs are generated in directory /db8/ora10gr2/product/10.2.0/Db_4/gladiator_TROY/sysman/log
    it says that the EM is running. But when i am trying to access the URL it is in IE it says Page cannot be displayed what could be the problem for this???
    Thanks in advance.
    Ram

  • Enterprise Manager is not able to connect to the database instance....

    Hi all,
    Currently i'm facing a big issue here.
    I have install the Oracle 10g on Window 2003 SE.
    And currently the Enterprise manager is not be able to conenct to the database and my database is still running.With my listener is up.
    But from the Enterprise manager's it show that everythg is down.
    and when i try to restart it,i ask for os id and password and dbuser and dbpassword.
    frm the SQL plus,i can easily startup and shutdown the database.
    So i would like to know i can rectify this problem.
    please kindly help me.I have post the setting of the databse as below
    tnsnames.ora
    ==========
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    SDB.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = SAP_SOLMAN)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = SDB)
    (GLOBAL_NAME = SDB.WORLD)
    sqlnet.ora
    ========
    # sqlnet.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    # 05.01.06 set to default
    #TCP.NODELAY=YES
    # 05.01.06 set to 32768
    # 05.01.06 unsorported parameter now
    #NAME.DEFAULT_ZONE = WORLD
    # 05.01.06 set the default to 10
    # Filename......: sqlnet.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/SQLNET.ORA#4 $
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME, LDAP)
    NAMES.DEFAULT_DOMAIN = WORLD
    DEFAULT_SDU_SIZE = 32768
    SQLNET.EXPIRE_TIME = 10
    Listener.ora
    =========
    # Filename......: listener.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = SDB.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = SDB)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = SAP_SOLMAN)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = SDB)
    (ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
    Listener status
    ===========
    LSNRCTL> status
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=SDB.WORLD))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 15-AUG-2006 15:14:48
    Uptime 0 days 2 hr. 43 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File E:\oracle\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File E:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\SDB.WORLDipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\SDBipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SAP_solman)(PORT=1527)))
    Services Summary...
    Service "SDB" has 1 instance(s).
    Instance "SDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    emoms.log
    ========
    2006-08-15 18:03:20,562 [HttpRequestHandler-2254042] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2006-08-15 18:03:21,547 [HttpRequestHandler-2254042] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2006-08-15 18:03:21,547 [HttpRequestHandler-2254042] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
         at oracle.sysman.emdrep.receiver.OMSHandshake.getParameterFromDB(OMSHandshake.java:387)
         at oracle.sysman.emdrep.receiver.OMSHandshake.getMaxAgentCompatVer(OMSHandshake.java:369)
         at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:794)
         at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:648)
         at oracle.sysman.emdrep.receiver.FxferRecv.doGet(FxferRecv.java:658)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2006-08-15 18:03:22,531 [HttpRequestHandler-2254042] ERROR eml.OMSHandshake getParameterFromDB.402 - Io exception: The Network Adapter could not establish the connection
    2006-08-15 18:03:22,531 [HttpRequestHandler-2254042] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://SAP_solman:3938/emd/main)(ERROR = INTERNAL_ERROR)
    2006-08-15 18:03:35,547 [HttpRequestHandler-9249408] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2006-08-15 18:03:35,547 [HttpRequestHandler-9249408] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getRepositoryVersionAndMode(ConnectionService.java:368)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepositoryEx(ConnectionService.java:395)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:144)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2006-08-15 18:03:36,531 [HttpRequestHandler-9249408] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2006-08-15 18:03:36,531 [EMUI_18_03_36_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    OracleDBConsoleSDBsrvc.log
    ======================
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/09/06 15:11:59 Start pending...
    08/09/06 15:11:59 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/09/06 15:12:04 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/09/06 15:12:04 Tracking process launch...
    08/09/06 15:12:41 Received exitCode 3 from emctl istatus
    08/09/06 15:12:41 dbconsole started
    08/11/06 08:46:03 Recieved ServCtrlHdlr command, 5
    08/11/06 08:46:03 Stopping dbconsole
    08/11/06 08:46:03 Launching stop EMD process...
    08/11/06 08:46:03 Waiting for stop EMD process to exit. numRetries=74
    08/11/06 08:46:06 Stop process has exited with exitCode: 0
    08/11/06 08:46:06 Waiting for emwd process to exit. numRetries=74
    08/11/06 08:46:06 Watchdog process exited with exit code 15
    08/11/06 08:46:06 Signal Shutdown event.
    08/11/06 08:46:06 Shutdown thread exited.
    08/11/06 08:46:06 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/11/06 08:45:17 Start pending...
    08/11/06 08:45:17 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/11/06 08:45:26 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/11/06 08:45:26 Tracking process launch...
    08/11/06 08:46:11 Received exitCode 3 from emctl istatus
    08/11/06 08:46:11 dbconsole started
    08/11/06 08:48:58 Recieved ServCtrlHdlr command, 5
    08/11/06 08:48:58 Stopping dbconsole
    08/11/06 08:48:58 Launching stop EMD process...
    08/11/06 08:48:58 Waiting for stop EMD process to exit. numRetries=74
    08/11/06 08:49:02 Stop process has exited with exitCode: 0
    08/11/06 08:49:02 Waiting for emwd process to exit. numRetries=74
    08/11/06 08:49:02 Watchdog process exited with exit code 15
    08/11/06 08:49:02 Signal Shutdown event.
    08/11/06 08:49:02 Shutdown thread exited.
    08/11/06 08:49:02 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/11/06 08:53:20 Start pending...
    08/11/06 08:53:20 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/11/06 08:53:29 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/11/06 08:53:29 Tracking process launch...
    08/11/06 08:54:14 Received exitCode 3 from emctl istatus
    08/11/06 08:54:14 dbconsole started
    08/11/06 11:37:30 Recieved ServCtrlHdlr command, 5
    08/11/06 11:37:30 Stopping dbconsole
    08/11/06 11:37:30 Launching stop EMD process...
    08/11/06 11:37:30 Waiting for stop EMD process to exit. numRetries=74
    08/11/06 11:37:34 Stop process has exited with exitCode: 0
    08/11/06 11:37:34 Waiting for emwd process to exit. numRetries=74
    08/11/06 11:37:34 Watchdog process exited with exit code 15
    08/11/06 11:37:34 Signal Shutdown event.
    08/11/06 11:37:34 Shutdown thread exited.
    08/11/06 11:37:34 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/11/06 11:36:48 Start pending...
    08/11/06 11:36:48 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/11/06 11:36:56 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/11/06 11:36:56 Tracking process launch...
    08/11/06 11:37:41 Received exitCode 3 from emctl istatus
    08/11/06 11:37:41 dbconsole started
    08/15/06 09:31:52 Recieved ServCtrlHdlr command, 5
    08/15/06 09:31:52 Stopping dbconsole
    08/15/06 09:31:52 Launching stop EMD process...
    08/15/06 09:31:52 Waiting for stop EMD process to exit. numRetries=74
    08/15/06 09:31:56 Stop process has exited with exitCode: 0
    08/15/06 09:31:56 Waiting for emwd process to exit. numRetries=74
    08/15/06 09:31:56 Watchdog process exited with exit code 15
    08/15/06 09:31:56 Signal Shutdown event.
    08/15/06 09:31:56 Shutdown thread exited.
    08/15/06 09:31:56 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/15/06 09:31:06 Start pending...
    08/15/06 09:31:06 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/15/06 09:31:14 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/15/06 09:31:14 Tracking process launch...
    08/15/06 09:31:49 Did not hear back from emctl istatus.
    08/15/06 09:31:49 Waiting a further 5 secs...
    08/15/06 09:31:51 Received exitCode 3 from emctl istatus
    08/15/06 09:31:51 dbconsole started
    08/15/06 15:15:31 Recieved ServCtrlHdlr command, 5
    08/15/06 15:15:31 Stopping dbconsole
    08/15/06 15:15:31 Launching stop EMD process...
    08/15/06 15:15:31 Waiting for stop EMD process to exit. numRetries=74
    08/15/06 15:15:34 Stop process has exited with exitCode: 0
    08/15/06 15:15:34 Waiting for emwd process to exit. numRetries=74
    08/15/06 15:15:34 Watchdog process exited with exit code 15
    08/15/06 15:15:34 Signal Shutdown event.
    08/15/06 15:15:34 Shutdown thread exited.
    08/15/06 15:15:34 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/15/06 15:14:46 Start pending...
    08/15/06 15:14:46 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/15/06 15:14:54 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/15/06 15:14:54 Tracking process launch...
    08/15/06 15:15:29 Did not hear back from emctl istatus.
    08/15/06 15:15:29 Waiting a further 5 secs...
    08/15/06 15:15:32 Received exitCode 3 from emctl istatus
    08/15/06 15:15:32 dbconsole started
    Command prompt for emctls status
    =========================
    E:\oracle\product\10.2.0\db_1\BIN>emctl status
    Environment variable ORACLE_SID not defined. Please define it.
    emd.properties
    ===========
    # perl executable directory
    perlBin=E:\oracle\product\10.2.0\db_1\perl\5.8.3\bin\MSWin32-x86-multi-thread
    # script directory
    scriptsDir=E:\oracle\product\10.2.0\db_1/sysman/admin/scripts
    # emd Root directory(read-only location). Metrics should not create files
    # under this directory
    emdRoot=E:\oracle\product\10.2.0\db_1
    # agent Root directory(writeable).
    # Use this property to base any temporary file creation.
    agentStateDir=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB
    # Chronos root directory
    chronosRoot=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/emd/chronos
    # OMS Upload URL
    # if there is no receiving OMS or if you wish to disable the UploadManager
    # please set this value to empty or comment out below line
    REPOSITORY_URL=http://SAP_solman:5500/em/upload/
    # Proxy settings used for fetchlets. not applicable for uploader.
    #proxyHost=www-proxy.us.oracle.com
    #proxyPort=80
    #dontProxyFor=.us.oracle.com
    # If it is necessary to go through an http proxy server to get to the
    # repository, uncomment the following two lines
    #REPOSITORY_PROXYHOST=
    #REPOSITORY_PROXYPORT=
    #REPOSITORY_PROXYREALM=%EM_REPOS_PROXYREALM%
    #REPOSITORY_PROXYUSER=%EM_REPOS_PROXYUSER%
    #REPOSITORY_PROXYPWD=%EM_REPOS_PROXYPWD%
    # This string is used by the agent to connect to remote targets
    # ***IMPORTANT*** Do not change the contents of this setting. Only the
    # install should modify this value.
    agentSeed=1329576760
    # This string is used by the agent to determine which algorithm to use for encrypted data
    # The string value will be same as the release version
    agentVersion=10.1.0.4.0
    # How long, in minutes, collector will wait until next load.
    UploadInterval=5
    # If an upload fails, we want to backoff by UploadFailBackoff
    # percentage more each time for each successive upload failure
    # e.g. if we start the retry at 1 minute. If we fail in our next
    # upload attempt, we try again 1minute 12 seconds later etc.
    UploadFailBackoffPct= 20
    # Maximum amount of time, in seconds, upload will wait for response from
    # repository before timing out.
    # 0 means infinite.
    UploadTimeout=1800
    # Timeout for upload a file, HealthMonitor will abort the EMD process if
    # UploadManager does not finish uploading one file within this time
    # Unit is minite, the default value is 1 hour ( 15 Min)
    #UploadMaxTime=15
    # How big the file the collector will upload (in KB)
    # the actual file size could be slightly bigger.
    # This is only a guidance.
    UploadFileSize=2048
    # The maximum number of megabytes(MB) the upload manager will support in the
    # upload directory before temporarily being disabled
    UploadMaxBytesXML=50
    # The maximum number of files the upload manager will support in the
    # upload directory before temporarily being disabled
    UploadMaxNumberXML=5000
    # The maximum amount (%) of disk space that can be used on the EMD filesystem
    # before the following is disabled:
    # - Collection of data (upload manager)
    # - Logging and tracing
    UploadMaxDiskUsedPct=98
    # The amount (%) of disk space that can be used on the EMD filesystem
    # before the following is re-enabled after being disabled previously:
    # - Collection of data (upload manager)
    # - Logging and tracing
    UploadMaxDiskUsedPctFloor=95
    # Time out for the Agent to think that the access to the database could be
    # hung. The Agent would not allow more threads to go and hang with a database
    # if any one access to the database does not return within DbHangTimeout
    # seconds.
    # The more the timeout more the possibility of allowing more threads
    # to be hung in the EMD with a bad database.it is specified in seconds.
    #DbHangTimeout=200
    # The script to run if disk space usage exceeds parameters or if certain other
    # error conditions occur.
    #emdFailureScript=emdfail.command
    # The location of the file that contains the root certificate.
    emdRootCertLoc=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/b64LocalCertificate.txt
    internetCertLoc=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/b64InternetCertificate.txt
    # The download URL for the EMD Oracle Wallet and its local file location.
    # Note: Ensure that this URL references a valid port number at which the
    # console is available on http
    emdWalletSrcUrl=http://SAP_solman:5500/em/wallets/emd
    emdWalletDest=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/server
    # The email address for out-of-band notifications
    emd_email_address=
    emd_email_gateway=
    # The return email address for out-of-band notifications
    emd_from_email_address=
    # EMD main servlet URL
    EMD_URL=http://SAP_solman:3938/emd/main
    # Whether the EMD should listen on all NICs on the current host (the default)
    # or just the NIC associated with the hostname in EMD_URL
    AgentListenOnAllNICs=TRUE
    # This parameter indicates the thread model to use. uncomment one of the
    # following ThreadPoolModel line to indicate the model, agent need to use.
    # SMALL if number of targets is less than 11.
    # MEDIUM if number of targets is from 11 to 50.
    # LARGE if number of targets is greater than 50.
    # This parameter can be overriden by 'MaxThreads' which indicates the maximum
    # number of threads that CEMD can have running at any point of time. User can
    # mostly use the other parameter ThreadPoolModel to indicate what model for the
    # agent to use.
    # ThreadPoolModel = SMALL
    # ThreadPoolModel = MEDIUM
    # ThreadPoolModel = LARGE
    # This parameter indicates the stack size, threads have to be created with.
    # we can set it to 0 to use the OS default value.
    # In some version of solaris(such as 2.9 ) specify a stack size may cause Java Hotspot warning
    # when JVM is used.
    NormalThreadStackSize=0
    #Signals that users want to ignore.
    #It can be one or combination of SIGTERM, SIGINT
    # The signals can listed with ',' as delimiter.
    #IgnoreSignals=
    # This property is NO LONGER USED for host config collection (instead, hostConfigClasspath is used).
    # If noone else uses it, it can be removed.
    ouiLoc=E:\oracle\product\10.2.0\db_1/oui
    # Classpath for host config collection
    # VERY IMPORTANT NOTE: If you change the host config classpath entries in this section, you HAVE
    # to change the HOST_CONFIG_TEST_CLASSPATH entry in the utl/emdwqaenv file too.
    # NOTE: if the location of emd_java.jar and/or log4j-core.jar is changed
    # make sure that appropriate changes are also made
    # to the CLASSPATH variable in this file if necessary
    # PORTING NOTE: Check OUI-required jar files for OUI APIs to work. They could be different on your platform.
    # Also, our version of xmlparserv2.jar must be compatible with the one OUI expects (both OUI and ECM use XML parser).
    hostConfigClasspath=E:\oracle\product\10.2.0\db_1/oui/jlib/xmlparserv2.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/OraInstaller.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/srvm.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/share.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/emd_java.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/log4j-core.jar
    # JAVA HOME required for JavaExt metric calls
    JAVA_HOME=E:\oracle\product\10.2.0\db_1/jdk/jre
    # CLASSPATH required for JavaExt metric calls
    CLASSPATH=E:\oracle\product\10.2.0\db_1/sysman/jlib/emd_java.jar;E:\oracle\product\10.2.0\db_1/opmn/lib/ons.jar;E:\oracle\product\10.2.0\db_1/lib/xmlparserv2.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/log4j-core.jar;E:\oracle\product\10.2.0\db_1/oc4j/j2ee/home/lib/http_client.jar;E:\oracle\product\10.2.0\db_1/lib/dms.jar;E:\oracle\product\10.2.0\db_1/lib/dmsEmd.jar;E:\oracle\product\10.2.0\db_1/jlib/share.jar;E:\oracle\product\10.2.0\db_1/jdbc/lib/ojdbc14dms.jar;E:\oracle\product\10.2.0\db_1/jlib/jssl-1_1.jar;E:\oracle\product\10.2.0\db_1/jlib/javax-ssl-1_1.jar;E:\oracle\product\10.2.0\db_1/jlib/ojmisc.jar;E:\oracle\product\10.2.0\db_1/lib/em_test.jar;E:\oracle\product\10.2.0\db_1/jlib/ojmisc.jar;E:\oracle\product\10.2.0\db_1/jlib/repository.jar;E:\oracle\product\10.2.0\db_1/opmn/lib/optic.jar
    # this is the java option
    #JAVA_OPTIONS=-Xmx128m
    # These are the optional Java flags for the in-process Java
    # Native Interface (JNI)
    agentJavaDefines=-Doracle.dms.refresh.wait.time=1000 -DUrlTiming.UseJSSE=true
    # When set to true, the emd.log and emd.trc file will be appended by a pid
    # For example:
    # emd_15789.log
    # emd_15789.trc
    # By default, it is not set for regression test purpose.
    # After installed, please uncomment this line because when EMD is restarted,
    # previous log information will be lost if not set to true.
    #LogFileWithPID=true
    # Default log file maximum size before rolling in Kilobytes
    LogFileMaxSize=4096
    # Maximum number of log file roll files to maintain before deletion
    LogFileMaxRolls=4
    # Default trace file maximum size before rolling in Kilobytes
    TrcFileMaxSize=4096
    # Maximum number of trace file roll files to maintain before deletion
    TrcFileMaxRolls=4
    # To enable the metric browser, uncomment the following line
    # This is a reloadable parameter
    #enableMetricBrowser=true
    # To disable Remote operations (non-reachable agent) uncomment the following
    # line:
    #disableRemoteOperations=true
    # add an additional admin path from which the agent will read additional
    # target metadata. The specified path should have the mandatory 4 directories
    # under it. 1. metadata 2. scripts 3. default_collection 4. discover
    #altAdminPath=<additional admin path>
    # The health monitor executes callbacks in a separate thread. if for some
    # reason the threads spawned from health monitor to execute callbacks are
    # hung, the agent could run out of resource and freeze.
    # so when the current thread count spawned from the Health monitor reaches
    # this limit, the agent is bounced. the default is set to 5.
    #MaxHealthMonitorThreads=5
    # dynamicPropsComputeTimeout default to 30s
    dynamicPropsComputeTimeout=60
    # emagent perl tracing levels
    # supported levels: DEBUG, INFO, WARN, ERROR
    # default level is ERROR
    EMAGENT_PERL_TRACE_LEVEL=ERROR
    # other optional parameters for perl tracing
    # EMAGENT_PERL_TRACE_DIR default to $ORACLE_HOME/sysman/log
    #EMAGENT_PERL_TRACE_DIR=
    # EMAGENT_PERL_TRACE_FILESIZE default to 5M
    #EMAGENT_PERL_TRACE_FILESIZE=5
    # this section define the logging level for each component,
    # it is "reloadable", you can change the level at runtime to reset
    # the logging level, but if you remove the line, it will not be
    # changed.
    tracelevel.main=WARN
    tracelevel.emSDK.xml=WARN
    tracelevel.emSDK.utl=WARN
    tracelevel.ResMonitor=WARN
    tracelevel.Dispatcher=WARN
    tracelevel.ThreadPool=WARN
    tracelevel.pingManager=WARN
    tracelevel.collector=WARN
    tracelevel.http=WARN
    tracelevel.ssl=WARN
    tracelevel.ssl.io=WARN
    tracelevel.blackouts=WARN
    tracelevel.upload=WARN
    tracelevel.command=WARN
    tracelevel.reload=WARN
    tracelevel.scheduler=WARN
    tracelevel.Authentication=WARN
    tracelevel.metadata=WARN
    tracelevel.targets=WARN
    tracelevel.TargetManager=WARN
    tracelevel.engine=WARN
    tracelevel.javaproc=WARN
    tracelevel.vpxoci=WARN
    tracelevel.javavm=WARN
    tracelevel.fetchlets=WARN
    tracelevel.fetchlets.os=WARN
    tracelevel.fetchlets.osline=WARN
    tracelevel.fetchlets.oslinetok=WARN
    tracelevel.fetchlets.UDM=WARN
    tracelevel.fetchlets.sql=WARN
    tracelevel.fetchlets.url=WARN
    tracelevel.fetchlets.urllines=WARN
    tracelevel.fetchlets.urllinetoken=WARN
    tracelevel.fetchlets.URLTiming=WARN
    tracelevel.fetchlets.propEcho=WARN
    tracelevel.fetchlets.readFromFile=WARN
    tracelevel.fetchlets.readMultFromFile=WARN
    tracelevel.fetchlets.throwable=WARN
    tracelevel.fetchlets.resourceGrab=WARN
    tracelevel.fetchlets.emSDK=WARN
    # The following three properties are for HTTP timeout
    # Timeout value for reading Http primary header, default is 30 seconds.
    httpTimeoutPrimaryHeader=30
    # Timeout value for reading http secondary headers, default is 30 seconds
    httpTimeoutSecondaryHeaders=30
    # Timeout value for reading http body, default is 60 seconds.
    httpTimeoutBody=60
    omsRecvDir=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\sysman\recv
    agentTZRegion=+08:00
    And i would like to know how to set up the environment variable for Oracle_HOME and ORACLE_SID.
    Please kindly assist me on this.

    Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
    emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
    As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
    -Ramesh

Maybe you are looking for