4 Replies Latest reply on Apr 21, 2011 7:03 AM by 848970

    service-specific error code 997 when starting up Oracle 9i service

    848970
      Hi,

      I have both Oracle 9i and 10g installed in a server. I've added 9i SID in 10g listner.ora. When I try to startup the 9i Oracle service in windows, I get "Windows could not start the 'service name' on Local Computer......If this is a non microsoft service, contact the service vendor, and refer to service-specific error code 997".

      Server is Windows 2003 R2 Standard Edition SP1

      Does anyone has a solution for this error?

      Thanks,

      listener.ora in 10g
      LISTENER10G =
      (DESCRIPTION_LIST =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = sgpdb1)(PORT = 1522))
      )
      )

      SID_LIST_LISTENER10G =
      (SID_LIST =
      (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = F:\Oracle\Ora10.2.0)
      (PROGRAM = extproc)
      )
      (SID_DESC =
      (SID_NAME = RACE)
      (ORACLE_HOME = F:\Oracle\Ora10.2.0)
      (PROGRAM = extproc)
      )
      (SID_DESC =
      (SID_NAME = IWK1010)
      (ORACLE_HOME = F:\Oracle\Ora9201)
      (PROGRAM = extproc)
      )
      )

      sqlnet.ora in 10g
      NAMES.DEFAULT_DOMAIN = world

      SQLNET.AUTHENTICATION_SERVICES= NONE

      NAMES.DIRECTORY_PATH= (TNSNAMES,EZCONNECT)

      tnsnames.ora in 10g
      RACE.WORLD =
      (DESCRIPTION =
      (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(Host = sgpdb1)(Port = 1522))
      )
      (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = RACE)
      )
      )

      IWK1010.WORLD =
      (DESCRIPTION =
      (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = SGPDB1)(PORT = 1522))
      )
      (CONNECT_DATA =
      (SERVICE_NAME = IWK1010)
      )
      )
        • 1. Re: service-specific error code 997 when starting up Oracle 9i service
          sb92075
          rename listener.ora file to new/different name

          reboot the OS the issue following lines EXACTLY as below

          lsnrctl start
          sqlplus
          / as sysdba
          startup
          exit
          lsnrctl status
          lsnrctl service


          COPY commands above & results then PASTE all back here
          • 2. Re: service-specific error code 997 when starting up Oracle 9i service
            848970
            Here is the resutls. Pls note - startup/exit commands were not executed since did not connenct to sqlplus

            C:\Documents and Settings\Administrator>lsnrctl start

            LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 13-APR-2011 12:03:54

            Copyright (c) 1991, 2007, Oracle. All rights reserved.

            Starting tnslsnr: please wait...

            TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
            Log messages written to F:\Oracle\Ora10.2.0\network\log\listener.log
            Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sgpdb1.corpnet.ifsworld.com)(PORT=1521)))

            Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
            STATUS of the LISTENER
            ------------------------
            Alias LISTENER
            Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
            Start Date 13-APR-2011 12:03:56
            Uptime 0 days 0 hr. 0 min. 4 sec
            Trace Level off
            Security ON: Local OS Authentication
            SNMP OFF
            Listener Log File F:\Oracle\Ora10.2.0\network\log\listener.log
            Listening Endpoints Summary...
            (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sgpdb1.corpnet.ifsworld.com)(PORT=1521)))
            The listener supports no services
            The command completed successfully


            C:\Documents and Settings\Administrator>sqlplus / as sysdba

            SQL*Plus: Release 10.2.0.4.0 - Production on Wed Apr 13 12:05:16 2011

            Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

            ERROR:
            ORA-12560: TNS:protocol adapter error


            C:\Documents and Settings\Administrator>lsnrctl status

            LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 13-APR-2011 12:09:59

            Copyright (c) 1991, 2007, Oracle. All rights reserved.

            Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
            STATUS of the LISTENER
            ------------------------
            Alias LISTENER
            Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
            Start Date 13-APR-2011 12:03:56
            Uptime 0 days 0 hr. 6 min. 3 sec
            Trace Level off
            Security ON: Local OS Authentication
            SNMP OFF
            Listener Log File F:\Oracle\Ora10.2.0\network\log\listener.log
            Listening Endpoints Summary...
            (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sgpdb1.corpnet.ifsworld.com)(PORT=1521)))
            Services Summary...
            Service "RACE_XPT" has 1 instance(s).
            Instance "race", status READY, has 1 handler(s) for this service...
            Service "race" has 1 instance(s).
            Instance "race", status READY, has 1 handler(s) for this service...
            The command completed successfully


            C:\Documents and Settings\Administrator>lsnrctl service

            LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 13-APR-2011 12:10:08

            Copyright (c) 1991, 2007, Oracle. All rights reserved.

            Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
            Services Summary...
            Service "RACE_XPT" has 1 instance(s).
            Instance "race", status READY, has 1 handler(s) for this service...
            Handler(s):
            "DEDICATED" established:0 refused:0 state:ready
            LOCAL SERVER
            Service "race" has 1 instance(s).
            Instance "race", status READY, has 1 handler(s) for this service...
            Handler(s):
            "DEDICATED" established:0 refused:0 state:ready
            LOCAL SERVER
            The command completed successfully
            • 3. Re: service-specific error code 997 when starting up Oracle 9i service
              oradba
              Maybe you have simply to wait for a while:


              net helpmsg 997

              Overlapped I/O operation is in progress.
              • 4. Re: service-specific error code 997 when starting up Oracle 9i service
                848970
                Thanks all for the replies.

                This is now solved. I just removed ORACLE_HOME environment variable.