Cannot create Listener on Oracle
search cancel

Cannot create Listener on Oracle

book

Article ID: 242950

calendar_today

Updated On:

Products

Data Loss Prevention Core Package

Issue/Introduction

ServiceAliasException: Could not save Service Alias: TNS-04406 Object already exists

Default local naming configuration complete.

ListenerException: Could not save listener: TNS-04414: File error caused by: TNS-04605: Invalid syntax error: Unexpected char or LITERAL "(" before or at ( PROGRAM =

Listener configuration complete.

  • The OracleOraDB19Home1TNSListener is not created as a service in the services.msc control panel and the listener.ora file is not present in the <Drive>:\oracle\product\19.3.0.0\db_1\network\admin folder.

Environment

DLP 15.8.x and 16.0

Oracle 19c Standard Edition, Single Tenant, Windows 2016

Cause

ORACLE_HOME environment variable had a trailing backslash as seen below.

C:\oracle\product\19.3.0.0\db_1\

Resolution

Remove the trailing backslash from the environment variable path and run the netca.bat to create the listener.