I dont understand why appending the SID to username/password acts
differently from referencing the SID in the environment.
Also I am not clear if I should set TNS_ADMIN to point to the
tnsnames.ora dir of whether it is better to rely on it being in
$ORACLE_HOME/network/admin <sigh>
TIA
Martin
TIA
Martin
This doesn't use tnsnames.ora
ora-12514.
in your tnsnames.ora you have
connect_data=((host=)(protocol=tcp)(port=xxx)(*service_name=<whatever>*)
<whatever> should be equal to the service_name initialization
parameter, and this should have been registered with the listener.
Check this out by using lsnrctl services.
If it has't been registered, issue
alter system register
in sqlplus.
The listener needs to start before the database, in order to make
registration possible.
Best practice is
move tnsnames.ora, listener.ora and sqlnet.ora to /var/opt/oracle.
This is a version independent directory.
set TNS_ADMIN to /var/opt/oracle.
--
Sybrand Bakker
Senior Oracle DBA