Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Oracle networking listener

1,154 views

Published on

Published in: Technology, News & Politics
  • Be the first to comment

  • Be the first to like this

Oracle networking listener

  1. 1. PREPARED BY RAVI KUMAR LANKE Page 1Oracle NetworkingListener.ora,Tnsnames.oraand sqlnet.oraListener.ora: The listener file contains server side network configuration parameters. It canbe found in the ORACLE_HOME/network/admin/ directory on the server.Tnsnames.ora: The tnsnames.ora file contains client side network configuration parameters.It can be found in the ORACLE_HOME/network/admin. This file will also be present on theserver if client side connections are used on the server itself.Sqlnet.ora: The sqlnet.ora file contains client side network configuration parameter. It can befound in the ORACLE_HOME/network/admin. This file will also be present on the serverifclient side connections are used on the server itself.
  2. 2. PREPARED BY RAVI KUMAR LANKE Page 2For client and server to communicate two files must be configured:$ORACLE_HOME/network/admin/listener.ora on server side.$ORACLE_HOME/network/admin/tnsnames.ora on client side.To configure the server add the following to listerner.oraListenername=(address_list=(address=(protocol=tcp)(host=hostname)(port=1521)))Sid_list_listenername=(sid_list=(sid_desc=(sid_name=<instance_name>)(oracle_home=/oracle_home)))To configure the client add the following to tnsnames.oraTnsalies=(description=address=(protocol=tcp)(host=hostname)(port=1521))(connect_data=(sid=dev)))$ lsnrctl start listenername.$ lsnrctl stop listenername.$lsnrctl status listenername.$lsnrctl service listenername$lsnrctl reload listenername.$tnsping listenername.
  3. 3. PREPARED BY RAVI KUMAR LANKE Page 3Listener Error:[oracle@localhost admin]$ sqlplus system/manager@rmanSQL*Plus: Release 10.2.0.1.0 – Production on Sun Feb 28 04:09:39 2010Copyright (c) 1982, 2005, Oracle. All rights reserved.ERROR:ORA-28547: connection to server failed, probable Oracle Net admin errorEnter user-name:

×