Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OracleOraDB12Home1TNSListener is not starting windows7

2789666Feb 23 2015 — edited Feb 23 2015

Hi all, I've a perfectly running Oracle 12c database installed in my machine till friday, but when I started my machine today morning, I'm able use my sqlplus but when I tried to connect to the DB using sql developer it is throwing me an error like:

An error was encountered performing the requested operation:

IO Error: The Network Adapter could not establish the connection

Vendor code 17002

I restarted the services in windows, tried lsnrctl start and all commands, I observed one thing that when I start the service of OracleOraDB12Home1TNSListener from the services.msc window it is just started and when I refreshed its just stopped.

Here are my tnsnames.ora file contents:

LISTENER_ORCL =

  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))

ORACLR_CONNECTION_DATA =

  (DESCRIPTION =

    (ADDRESS_LIST =

      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))

    )

    (CONNECT_DATA =

      (SID = CLRExtProc)

      (PRESENTATION = RO)

    )

  )

ORCL =

  (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))

    (CONNECT_DATA =

      (SERVER = DEDICATED)

      (SERVICE_NAME = orcl)

    )

  )

pdborcl =

      (DESCRIPTION =

      (ADDRESS = (PROTOCOL=TCP)(HOST=localhost)(PORT=1521))

      (CONNECT_DATA =

        (SERVER = DEDICATED)

        (SERVICE_NAME = pdborcl)

      )

    )

and my listener.ora looks like this:

# listener.ora Network Configuration File: D:\app\user\product\12.1.0\dbhome_1\network\admin\listener.ora

# Generated by Oracle configuration tools.

SID_LIST_LISTENER =

  (SID_LIST =

    (SID_DESC =

      (SID_NAME = CLRExtProc)

      (ORACLE_HOME = D:\app\user\product\12.1.0\dbhome_1)

      (PROGRAM = extproc)

      (ENVS = "EXTPROC_DLLS=ONLY:D:\app\user\product\12.1.0\dbhome_1\bin\oraclr12.dll")

    )

  )

ADR_BASE_LISTENER1 = D:\app\user\product\12.1.0\dbhome_1\log

LISTENER =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = TCP)(HOST = BT-R4P9)(PORT = 1521))

    )

  )

ADR_BASE_LISTENER = D:\app\user\product\12.1.0\dbhome_1\log


I tried to solve it from my end, but in vain.

Can some one suggest me what should I do. Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2015
Added on Feb 23 2015
8 comments
5,493 views