This discussion is archived
1 2 3 Previous Next 33 Replies Latest reply: Apr 14, 2010 5:30 AM by 763212 Go to original post RSS
  • 15. Re: enterprise manager not starting...
    763212 Explorer
    Currently Being Moderated
    You need to recreate ....You mentioned is create.

    note the diff....


    emca -repos recreate
  • 16. Re: enterprise manager not starting...
    595435 Newbie
    Currently Being Moderated
    H:\>emca -repos recreate

    STARTED EMCA at Apr 14, 2010 4:26:53 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.

    Enter the following information:
    Database SID: soni
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:

    Do you wish to continue? [yes(Y)/no(N)]: y
    Apr 14, 2010 4:27:32 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\product\10.2.0\db_3\cfgtoollogs\emca\soni\emca_2010-04-14_04-26-53-PM.log.
    Apr 14, 2010 4:27:36 PM oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    Apr 14, 2010 4:28:56 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Apr 14, 2010 4:28:56 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 14, 2010 4:32:14 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Apr 14, 2010 4:32:14 PM

    H:\>
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Still I am unable to connect to Enterprise Manager...
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    H:\>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://ABM-D0113.abamco.com:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is not running.

    H:\>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://ABM-D0113.abamco.com:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ...The requested service has already been started.

    More help is available by typing NET HELPMSG 2182.


    H:\>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://ABM-D0113.abamco.com:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is not running.

    H:\>
  • 17. Re: enterprise manager not starting...
    763212 Explorer
    Currently Being Moderated
    configure the dbcontrol before start


    emca -config dbcontrol db


    after this you check the status and let me know
  • 18. Re: enterprise manager not starting...
    725039 Journeyer
    Currently Being Moderated
    >
    configure the dbcontrol before start

    emca -config dbcontrol db

    after this you check the status and let me know
    >

    I beg to differ... The OP has already configured DB Control.

    Regards,
    Phiri
  • 19. Re: enterprise manager not starting...
    595435 Newbie
    Currently Being Moderated
    Deccan Charger wrote:
    configure the dbcontrol before start


    emca -config dbcontrol db


    after this you check the status and let me know
    H:\>emca -config dbcontrol db

    STARTED EMCA at Apr 14, 2010 4:43:45 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.

    Enter the following information:
    Database SID: soni
    Database Control is already configured for the database soni
    You have chosen to configure Database Control for managing the database soni
    This will remove the existing configuration and the default settings and perform a fresh configuration
    Do you wish to continue? [yes(Y)/no(N)]: y
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:

    - - - -- - - - -- - -
    I dont know DBSNMP password, should I change its password from another sys session and then give new password at emca..?
  • 20. Re: enterprise manager not starting...
    763212 Explorer
    Currently Being Moderated
    Hello check the above messages...He was created repository not dbcontrol.
  • 21. Re: enterprise manager not starting...
    725039 Journeyer
    Currently Being Moderated
    Please stop and start the service again; then let us know what happens.
    emctl stop dbconsole
    emctl start dbconsole
    Regards,
    Phiri
  • 22. Re: enterprise manager not starting...
    763212 Explorer
    Currently Being Moderated
    Mostly the password will be DBSNMP only...check with that...

    As suggested phiri check once dbconsole is working or not
  • 23. Re: enterprise manager not starting...
    595435 Newbie
    Currently Being Moderated
    phiri wrote:
    Please stop and start the service again; then let us know what happens.
    emctl stop dbconsole
    emctl start dbconsole
    Regards,
    Phiri
    I am not done with H:\>emca -config dbcontrol db what should I do with DBSNMP ?
  • 24. Re: enterprise manager not starting...
    725039 Journeyer
    Currently Being Moderated
    You might want to read the resource below.

    http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/emca.htm#BABDEHCE
    >
    To configure Database Console for single instance database using ASM, no extra parameters need to be passed along with the EMCA command. Run the following command to configure the Database Console which will automatically detect the ASM instance:

    emca -config dbcontrol db -repos create

    >

    Regards,
    Phiri
  • 25. Re: enterprise manager not starting...
    725039 Journeyer
    Currently Being Moderated
    You can cancel it... CTRL ^

    If you want to proceed; Login as SYSDBA and change the password....
    sqlplus SYS as SYDBA
    
    ALTER USER DBSNMP IDENTIFIED BY oracle;
    Then continue with the configuration.

    Regards,
    Phiri
  • 26. Re: enterprise manager not starting...
    595435 Newbie
    Currently Being Moderated
    H:\>emca -config dbcontrol db

    STARTED EMCA at Apr 14, 2010 4:43:45 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.

    Enter the following information:
    Database SID: soni
    Database Control is already configured for the database soni
    You have chosen to configure Database Control for managing the database soni
    This will remove the existing configuration and the default settings and perform a fresh configuration
    Do you wish to continue? [yes(Y)/no(N)]: y
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    -----------------------------------------------------------------

    You have specified the following settings

    Database ORACLE_HOME ................ D:\oracle\product\10.2.0\db_3

    Database hostname ................ ABM-D0113.abamco.com
    Listener port number ................ 1521
    Database SID ................ soni
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............

    -----------------------------------------------------------------
    Do you wish to continue? [yes(Y)/no(N)]: y
    Apr 14, 2010 5:05:24 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\product\10.2.0\db_3\cfgtoollogs\emca\soni\emca_2010-04-14_04-43-45-PM.log.
    Apr 14, 2010 5:05:30 PM oracle.sysman.emcp.util.PortManager isPortInUse
    WARNING: Specified port 5540 is already in use.
    Apr 14, 2010 5:05:30 PM oracle.sysman.emcp.util.PortManager isPortInUse
    WARNING: Specified port 5520 is already in use.
    Apr 14, 2010 5:05:30 PM oracle.sysman.emcp.util.PortManager isPortInUse
    WARNING: Specified port 1158 is already in use.
    Apr 14, 2010 5:05:30 PM oracle.sysman.emcp.util.PortManager isPortInUse
    WARNING: Specified port 3938 is already in use.
    Apr 14, 2010 5:05:31 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Apr 14, 2010 5:06:20 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    Apr 14, 2010 5:06:49 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Apr 14, 2010 5:06:49 PM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Apr 14, 2010 5:07:19 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: Database Control started successfully
    Apr 14, 2010 5:07:19 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: >>>>>>>>>>> The Database Control URL is https://ABM-D0113.abamco.com:1158/em <<<<<<<<<<<
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Apr 14, 2010 5:07:19 PM
  • 27. Re: enterprise manager not starting...
    763212 Explorer
    Currently Being Moderated
    check status now
  • 28. Re: enterprise manager not starting...
    hans forbrich Oracle ACE Director
    Currently Being Moderated
    Just as a quick verification: You are using Windows and AntiVirus and Firewall are not messing things up ...

    My normal troubleshooting process and steps when I deal with clients with this problem are:

    1) You have a static IP address, either by setting your primary Network to static IP OR by adding Microsoft Loopback Adapter and setting that to static and creating a new IP address (per http://download.oracle.com/docs/cd/B28359_01/install.111/b32006/reqs.htm#BABBDGBI)
    2) The static address resolved using DNS OR is in C:\windows\system32\drivers\etc\hosts to a unique name (such as "myhost.example.com"
    3) You have installed a database with a SID, let's say "mydb"
    4) You have verified there is a directory created under ORACLE_HOME called "myhost.example.com_mysid" which configures the DB Console
    5) You have tried to recreate the DBConsole by
    emca -deconfig dbcontrol db -drop repos, and possibly "sqlplus ... drop user sysman cascade;"
    emca -config dbconsole db -create repos

    (3-5 are for any OS)
  • 29. Re: enterprise manager not starting...
    595435 Newbie
    Currently Being Moderated
    H:\>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://ABM-D0113.abamco.com:1158/em/console/aboutApplication
    EM Daemon is not running.
    ------------------------------------------------------------------
    Logs are generated in directory D:\oracle\product\10.2.0\db_3/ABM-D0113.abamco.com_soni/sysman/log

    H:\>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://ABM-D0113.abamco.com:1158/em/console/aboutApplication
    The OracleDBConsolesoni service is stopping......
    The OracleDBConsolesoni service was stopped successfully.


    H:\>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://ABM-D0113.abamco.com:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsolesoni service is starting.................
    The OracleDBConsolesoni service was started successfully.


    H:\>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://ABM-D0113.abamco.com:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    ------------------------------------------------------------------
    Logs are generated in directory D:\oracle\product\10.2.0\db_3/ABM-D0113.abamco.com_soni/sysman/log

    H:\>

    - - - - -- - - - - - - - - - - -- - - - - - -- - - - - --
    https://abm-d0113:1158/em
    When I am connecting from EM using explorer I get below message..


    The security certificate presented by this website was not issued by a trusted certificate authority.
    The security certificate presented by this website was issued for a different website's address.

    Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.
    We recommend that you close this webpage and do not continue to this website.
    <> Click here to close this webpage.
    <> Continue to this website (not recommended).

    I pressed the Continue to this website (not recommended), and it opened the Enterprise Manager Login Screen, and login was successfull.

    Note the address bar is hghlighted with red color.... and why address is https why not http?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points