Change the Hostname the Listener has been Configured with from Fully Qualified Domain Name to Localhost
Changing the Hostname the Listener has been Configured
In order to change the hostname the Listener was configured with during the E1Local installation on a Development Client, please follow the below action plan:
- Open a command prompt and change directory to E1Local\Bin folder
- Open a second command prompt and change directory to E1Local\Bin
- Connect to E1Local with the below command. Before this make sure that in sqlnet.ora, SQLNET.AUTHENTICATION_SERVICES=(NTS) is set.sqlplus / as sysdba
- Stop the listener with:lsnrctl stop
- In listener.ora, change the hostname from Hostname or FQDN to localhost
- Start the listener with below command and check the status.lsnrctl start
It should show no instances yet. - In tnsnames.ora change the listener name from E1LOCAL to LISTENER (as appears in listener.ora)
- In SQL prompt window runALTER SYSTEM SET LOCAL_LISTENER='LISTENER';
- Check if the parameter has been changed withSHOW PARAMETER LOCAL_LISTENER;
- In the SQL command prompt window run:shutdown immediate
This will stop the E1Local instance - Restart the listener by running the below commands:lsnrctl stop
and thenlsnrctl start - Start the E1Local instance
- Check the status of the instance with:lsnrctl status
Comments
Post a Comment