Académique Documents
Professionnel Documents
Culture Documents
Do NOT delete these socket files manually. If you remove the socket files created by the running
listener, the listener becomes useless.The only way forward is to kill the listener and restart it.
A listener can be made secured by assigning a PASSWORD to the listener. This allows only the
person knowing the password to start/stop the listener. But this method is now useless starting
from Oracle 10g where the Security Model is changed to : ON: Local OS Authentication. This
means whether or not a Listener has a password it is not prompted
for the user who is the owner of the listener (oracle user in Unix).
How Client Applications Connect To Oracle Database On Network?
A client must first establish a session with the database instance. For this, the client must specify
the following details
1. Username (like SCOTT)
2. Password (like tiger)
3. Connect String (like @TNS_ENTRY)
sqlplus scott/tiger@TNS_ENTRY
TNS_ENTRY is an entry defined in client-side tnsnames.ora file which is under
$ORACLE_HOME/network/admin. The client machine must have the Oracle Client Software
installed.
A TNS Entry can be defined using any of the following methods
netca Network Configuration Assistant (GUI Utility)
netmgr Network Manager (GUI Utility)
Any text editor
A typical TNS Entry would look like
MY_TNS_ENTRY =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = slodam-vm.oraclexpert.com)(PORT = 1522))
)
(CONNECT_DATA =
(SERVICE_NAME = DGSDEVL)
)
)
MY_TNS_ENTRY ==> is called as Net Service Name