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!

Oracle listener not running and won't start

AHMAD ELSAEDIAug 17 2020 — edited Aug 17 2020

Hi

I just installed oracle database 12c , fmw 12.2.1.3.0,forms and reports 12.2.1.3.0.I'm a developer trying to set up a development environment on my local machine.

I was able to connect to database but now I'm unable to do that due to OracleOraDB12Home1TNSListener not running and won't start.

I will appreciated for any help, Thanks !

database home : C:\app\Administrator\product\12.2.0\dbhome_1

fmw home: : C:\Oracle\Middleware\Oracle_Home

domain:C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain

env variables:

     system variables:

ORACLE_HOME = C:\Oracle\Middleware\Oracle_Home

PATH = C:\Oracle\Middleware\Oracle_Home

TNS_ADMIN = C:\Oracle\Middleware\Oracle_Home\network\admin

C:\WINDOWS\system32>lsnrctl start

LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 17-AUG-2020 08:13:24

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

Starting tnslsnr: please wait...

TNS-12560: TNS:protocol adapter error

C:\WINDOWS\system32>lsnrctl stat

LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 17-AUG-2020 08:12:01

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

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))

TNS-12541: TNS:no listener

TNS-12560: TNS:protocol adapter error

  TNS-00511: No listener

   64-bit Windows Error: 61: Unknown error

Listener.ora content :

# listener.ora Network Configuration File: C:\app\Administrator\product\12.2.0\dbhome_1\network\admin\listener.ora

# Generated by Oracle configuration tools.

SID_LIST_LISTENER =

  (SID_LIST =

    (SID_DESC =

      (SID_NAME = CLRExtProc)

      (ORACLE_HOME = C:\app\Administrator\product\12.2.0\dbhome_1)

      (PROGRAM = extproc)

      (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\12.2.0\dbhome_1\bin\oraclr12.dll")

    )

  )

LISTENER =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

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

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

    )

  )

tnsnames.ora content :

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)

    )

  )

sqlnet.ora content (C:\app\Administrator\product\12.2.0\dbhome_1\network\admin)

# sqlnet.ora Network Configuration File: C:\app\Administrator\product\12.2.0\dbhome_1\network\admin\sqlnet.ora

# Generated by Oracle configuration tools.

# This file is actually generated by netca. But if customers choose to

# install "Software Only", this file wont exist and without the native

# authentication, they will not be able to connect to the database on NT.

SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

SQLNET.EXPIRE_TIME=10

SQLNET.INBOUND_CONNECT_TIMEOUT=60

SQL*Plus: Release 12.2.0.1.0 Production on Mon Aug 17 08:33:04 2020

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Enter user-name: system

Enter password:

ERROR:

ORA-12534: TNS:operation not supported

This post has been answered by JohnWatson2 on Aug 17 2020
Jump to Answer
Comments
Post Details
Added on Aug 17 2020
5 comments
18,040 views