tnsnames.ora file missing 2005-10-28 - By Uwe Schneider
Am 28.10.2005 12:35 schrieb dexter: > Hello, > I`ve installed Oracle 10g 10.2.0 Enterprise Edition on SUSE Enterprise > Server 9. After, this I installed Compiere2. I tried to run program that > will import data to database, but I encountered folloving error: > ORA-12154 (See ORA-12154.ora-code.com): TNS:could not resolve the connect identifier specified > On Google I found, it means problem with file "tnsnames.ora". > My env. variable shows this location for this file: > > oracle@(protected):/opt/Compiere2/utils> env | grep ADMIN > TNS_ADMIN=/opt/oracle/product/10.2.0/db_1/network/admin > > ,but file is not located there: > oracle@(protected):/opt/Compiere2/utils> ls $TNS_ADMIN > samples shrept.lst > > ,but there: > oracle@(protected):/opt/Compiere2/utils> ls $TNS_ADMIN/samples > cman.ora listener.ora sqlnet.ora tnsnames.ora > > Folder ../samples sound like it is just for samples files. So my real > tnsnames.ora is missig. Do somebody as idea, what can I do?
You could - for example - use netca to generate tnsnames.ora. Or you adopt the sample file.
Normally TNS_ADMIN is not needed at all. Only if you want to overwrite the location of the network configuratiin directory, which is $OARCLE_HOME/network/admin.
Uwe
-- Uwe Schneider
WEB.DE GmbH Amalienbadstra?e 41 - D-76227 Karlsruhe Tel. +49-721-94329-8320 - Fax +49-721-94329-22 uwe.schneider@(protected) - http://www.web.de/
-- To unsubscribe, email: suse-oracle-unsubscribe@(protected) For additional commands, email: suse-oracle-help@(protected) Please see http://www.suse.com/oracle/ before posting
|
|