My Oracle Support Banner

Creating the listener using netca response file does not change the Port Number. (Doc ID 945398.1)

Last updated on FEBRUARY 23, 2024

Applies to:

Oracle Net Services - Version 8.1.7.4 to 11.2.0.0 [Release 8.1.7 to 11.2]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

You are using the NETCA response file to create the listener,but it does not change the port number even though you have edited the scripts to change from port 1521.

### STEPS TO REPRODUCE ###
$ORACLE_HOME/bin/netca /silent /responsefile /app/oracle/response_files/netca.rsp

The response file netca.rsp has the following entries

LOG_FILE=""/oracle10gHome/network/tools/log/netca.log""

[oracle.net.ca]

INSTALLED_COMPONENTS={"server","net8","javavm"}


INSTALL_TYPE=""typical""


LISTENER_NUMBER=1


LISTENER_NAMES={"LISTENER"}


LISTENER_PROTOCOLS={"TCP;1526"}


LISTENER_START=""LISTENER""


NAMING_METHODS={"TNSNAMES","ONAMES","HOSTNAME"}


NSN_NUMBER=1


NSN_NAMES={"EXTPROC_CONNECTION_DATA"}


NSN_SERVICE = {"PLSExtProc"}


NSN_PROTOCOLS={"TCP;HOSTNAME;1526"}

After the listener creation you see that listener was created on default port 1521

$lsnrctl status

LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 21-SEP-2009 11:14:09

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTO =IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 21-SEP-2009 10:59:20
Uptime 0 days 0 hr. 14 min. 49 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /app/oracle/product/10.2/DB/network/admin/listener.ora
Listener Log File /app/oracle/product/10.2/DB/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.