You can run Net Configuration Assistant in silent mode to configure and start an Oracle Net Listener on the system, configure naming methods, and configure Oracle Net service names.
To run Net Configuration Assistant in silent mode, you must copy and edit a response file template. Oracle provides a response file template named
netca.rsp in the
response directory in the
database/response directory in the installation media.
If you copied the software to a hard disk, then the response file template is located in the
To run Net Configuration Assistant using a response file:
- Copy the
netca.rspresponse file template from the response file directory to a directory on your system:
$ cp /directory_path/response/netca.rsp local_directory
In this example,
directory_pathis the path of the
databasedirectory on the DVD. If you have copied the software to a hard drive, you can edit the file in the
responsedirectory if you prefer.
- Open the response file in a text editor:
$ vi /local_dir/netca.rsp
- Follow the instructions in the file to edit it.
Net Configuration Assistant fails if you do not correctly configure the response file.
- Log in as the Oracle software owner user, and set the
ORACLE_HOMEenvironment variable to specify the correct Oracle home directory.
- Enter a command similar to the following to run Net Configuration Assistant in silent mode:
$ $ORACLE_HOME/bin/netca -silent -responsefile /local_dir/netca.rsp
In this command:
-silentoption indicates to run Net Configuration Assistant in silent mode.
local_diris the full path of the directory where you copied the
netca.rspresponse file template.