1 Reply Latest reply: Oct 26, 2012 8:56 AM by 970909 RSS

    HELP entreprise manager won't start in windows 7 !

    959372
      SYSTEM information : windows 7 ultimate WITH Oracle DATABASE 11gR2
      I'm connected with a windows user that reside in ora_dba and administrator groups
      I execute all commands with "run as administrator"
      +'administrator' is also in ora_dba group+

      after installing oracle software I executed dbca to create a new database, but after the creation dbconsole won't run!
      *>emctl start dbconsole* gives me An instance of Oracle Enterprise Manager 11g Database Control is already running
      and the service 'oracleDbConsoleorcl' is not started, when I start it mannually it gives me windows could not start the service in local computer

      so now I know that this errors is caused by a running process, it's the 'java.exe : 5520', I kill it and try to start dbconsole again:
      *>emctl start dbconsole* it gives me
      The OracleDBConsoleorcl service could not be started
      A service specific error occurred: 2.
      More help is available by typing NET HELPMSG 3547.

      and of course the result of *>NET HELPMSG 3547* is A service specific error occurred: *** :/

      so I tried to recreate the repository but after the creation (successful) the result is the same errors when I want start dbconsole :
      *>emca -config dbcontrol db -repos recreate*
      You have specified the following settings
      Database ORACLE_HOME ................ d:\app\oracle\database\product\11.2.0\dbhome_1
      Local hostname ................ localhost
      Listener ORACLE_HOME ................ d:\app\oracle\database\product\11.2.0\dbhome_1
      Listener port number ................ 1521
      Database SID ................ orcl
      _.... no warning or errors ..._
      Sep 19, 2012 10:11:13 PM oracle.sysman.emcp.EMDBPostConfig invoke
      WARNING: Error starting Database Control.Please execute the following command(s)
      +1) Set the environment variable ORACLE_UNQNAME to Database unique name+
      +2) d:\app\oracle\database\product\11.2.0\dbhome_1\bin\emctl.bat start dbconsole+
      ------------------------------------
      but ORACLEUNQNAME is already set !_
      C:\Windows\system32>set oracle
      ORACLE_HOSTNAME=localhost
      ORACLE_SID=orcl
      ORACLE_UNQNAME=orcl
      ---------------------------------------
      C:\Windows\system32>emctl start dbconsole
      Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
      Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
      https://localhost:1158/em/console/aboutApplication
      - An instance of Oracle Enterprise Manager 11g Database Control is already running. //_the same error before I recreate the repos_
      ---------------------------------------
      C:\Windows\system32>emctl status agent
      Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
      Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
      Agent is Not Running
      ---------------------------------------

      what's wrong ????