4 Replies Latest reply: Oct 15, 2012 1:11 AM by 968190 RSS

    The service name is invalid When starting the Database Control

    692313
      Dear Oracle Expert,

      I have installed Oracle database 11g on Windows Professional x64 Edition Version 2003 Service Pack 2..

      When I try to start the Database control after renaming the IP_address to the local machine name which is robert. It prompts back with an error.


      C:\>emctl status dbconsole
      Environment variable ORACLE_SID not defined. Please define it.

      C:\>set ORACLE_SID=ocp11g

      C:\>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://192.168.1.67:1158/em/console/aboutApplication
      Oracle Enterprise Manager 11g is not running.

      C:\>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://192.168.1.67:1158/em/console/aboutApplication
      Starting Oracle Enterprise Manager 11g Database Control ...The service name is i
      nvalid.

      More help is available by typing NET HELPMSG 2185.


      C:\>hostname
      robert

      C:\>emctl status dbconsole
      OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
      J_DBConsole_192.168.1.67_ocp11g not found.

      C:\>set ORACLE_SID=ocp11g

      C:\>emctl status dbconsole
      OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
      J_DBConsole_192.168.1.67_ocp11g not found.

      C:\>emctl start dbconsole
      OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
      J_DBConsole_192.168.1.67_ocp11g not found.

      C:\>SET ORACLE_HOME= C:\app\Administrator\product\11.1.0\db_1\oc4j\j2ee\OC4J_DBC
      onsole_robert_ocp11g

      C:\>set ORACLE_SID=ocp11g

      C:\>emctl status dbconsole
      OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
      J_DBConsole_192.168.1.67_ocp11g not found.

      C:\>emctl start dbconsole
      OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
      J_DBConsole_192.168.1.67_ocp11g not found.

      C:\>


      Thanks in advance.

      Rlee
        • 1. Re: The service name is invalid When starting the Database Control
          692313
          One more thing.

          Why is that before I run the post creation scripts on my database, I am able to view the database control.

          But after running them. The database configuration is un able to be accessed.

          Thanks,

          Rlee
          • 2. Re: The service name is invalid When starting the Database Control
            692313
            One more thing.


            Before I ran the post creation scripts on my database 11g on the same platform, i was able to access the database control.

            After running the post creation scripts, the database control is inaccessible.

            Why is it like that?

            Regards,

            Rlee
            • 3. Re: The service name is invalid When starting the Database Control
              692313
              Hello Oracle experts,

              I have to managed to Configure the Database Control by configuring a Microsoft Network adapter on my laptop but

              right now I can't access it within the URL.

              Tests of the running Database control include:

              C:\Documents and Settings\Administrator>emctl status dbconsole
              Environment variable ORACLE_SID not defined. Please define it.

              C:\Documents and Settings\Administrator>SET ORACLE_SID=ocp11

              C:\Documents and Settings\Administrator>emctl status dbconsole
              Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
              Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
              http://robert:1158/em/console/aboutApplication
              Oracle Enterprise Manager 11g is running.
              ------------------------------------------------------------------
              Logs are generated in directory C:\app\Administrator\product\11.1.0\db_2/robert_
              ocp11/sysman/log

              C:\Documents and Settings\Administrator>


              When I try to access the database control, I am un able to.


              The page cannot be found
              The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

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

              Please try the following:

              If you typed the page address in the Address bar, make sure that it is spelled correctly.

              Open the robert:1158 home page, and then look for links to the information you want.
              Click the Back button to try another link.
              Click Search to look for information on the Internet.



              HTTP 404 - File not found
              Internet Explorer


              Is this something related to Internet Explorer.

              Kindly rescue me out.

              Regards,

              RLee
              • 4. Re: The service name is invalid When starting the Database Control
                968190
                How did u solve the invalid issue? U said by configuring your network adapter? How is that possible