How do I limit the amount of blog entries per page?
Missing listener.ora and tnsnames.ora file
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Oracle database development > Missing listener.ora and tnsnames.ora file 8 December 2009 12:06:24

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

Missing listener.ora and tnsnames.ora file

Guest 4 August 2006 23:38:44
 We recently installed Oracle 9i on Redhat and have discovered that
there is no listener.ora and tnsnames.ora file in the usual location:
/u01/app/oracle/pro­duct/9.2.0/network/a­dmin

The server has been running fine and we have performed imp's and exp's
without any issues, clients have also been connecting without issue.

We discovered the files were missing when attempting to run sqlplus on
the server, it gave an:
ORA-12514: TNS:listener could not resolve SERVICE_NAME.......­. ,

and upon investigation discovered the missing files.

Anyone seen this before?
Thx

Add comment
Akimeu 4 August 2006 23:50:30 permanent link ]
 aprinsloo@sageteleco­m.net wrote:> We recently installed Oracle 9i on Redhat and have discovered that> there is no listener.ora and tnsnames.ora file in the usual location:> /u01/app/oracle/pro­duct/9.2.0/network/a­dmin>
The server has been running fine and we have performed imp's and exp's> without any issues, clients have also been connecting without issue.>
We discovered the files were missing when attempting to run sqlplus on> the server, it gave an:> ORA-12514: TNS:listener could not resolve SERVICE_NAME.......­. ,>
and upon investigation discovered the missing files.>
Anyone seen this before?> Thx>
When the system is installed by default, those files don't necessarily
get created. You actually don't need the listener.ora file on the
system, unless you're listening on a different port than 1521.
tnsnames, would only help you if you make outgoing sqlplus/em
connections to other servers....

Add comment
Vladimir M. Zakharychev 6 August 2006 13:09:26 permanent link ]
 
aprinsloo@sagetelec­om.net wrote:> We recently installed Oracle 9i on Redhat and have discovered that> there is no listener.ora and tnsnames.ora file in the usual location:> /u01/app/oracle/pro­duct/9.2.0/network/a­dmin>
The server has been running fine and we have performed imp's and exp's> without any issues, clients have also been connecting without issue.>
We discovered the files were missing when attempting to run sqlplus on> the server, it gave an:> ORA-12514: TNS:listener could not resolve SERVICE_NAME.......­. ,>
and upon investigation discovered the missing files.>
Anyone seen this before?> Thx

If TNS_ADMIN environment variable is set, its value takes precedence
for Net configuration files location. Check if you have it set and if
it points to a different location than the default. The listener
actually doesn't need the listener.ora file to operate: if started
without the config file, it will listen on default TCP port and local
Oracle instances will register themselves with the listener
dynamically. tnsnames.ora file is not necessary, too, it is only used
for local naming. If you have a compatible LDAP server or Oracle Names
server then you don't need to bother with tnsnames.ora. However, if you
don't use a directory server and don't have the tnsnames.ora file, Net
will be unable to resolve names (throwing exactly the error you're
getting.)

More information is in Net Services Administrator's Guide for your
Oracle release.

hth,
Vladimir M. Zakharychev
N-Networks, makers of Dynamic PSP(tm)
http://www.dynamicp­sp.com

Add comment
Shyam 27 May 2009 10:10:14 permanent link ]
 Hi.,

I have installed oracle software 10.2 on mac 10.5 server.

I created database through dbca but tnsnames.ora and listener.ora files not get created as its location e.g /Users/oracle/oracl­e/product/10.2.0/db_­a/network/admin.

I created both files and configured it.

Now, when I start listener by using:

oracle:~ oracle$ lsnrctl start

LSNRCTL for MacOS X Server: Version 10.2.0.4.0 - Production on 27-MAY-2009 15:16:07

Copyright (c) 1991, 2007, Oracle. All rights reserved.

TNS-01106: Listener using listener name LISTENER has already been started


when try to start database: it shows

dbstart
ORACLE_HOME_LISTNER­ is not SET, unable to auto-start Oracle Net Listener
Usage: //Users/oracle/orac­le/product/10.2.0/db­_1/bin/dbstart ORACLE_HOME
Processing Database instance "rsg": log file /Users/oracle/oracl­e/product/10.2.0/db_­1/startup.log
Processing Database instance "rsg": log file /Users/oracle/oracl­e/product/10.2.0/db_­1/startup.log


when try to connect it :

oracle:~ oracle$ sqlplus hr/hr@rsg

SQL*Plus: Release 10.2.0.4.0 - Production on Wed May 27 15:16:56 2009

Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

ERROR:
ORA-28547: connection to server failed, probable Oracle Net admin error


B]when try to connect it by other user:[­/B]

Enter user-name: hr
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Mac OS X Error: 2: No such file or directory


Enter user-name:


Can you tell me the problem and where is it ??

-Shyam
Add comment
xaysomkham 4 November 2009 09:19:40 permanent link ]
 Hi.,

I have installed oracle software 10G

I created database through dbca but tnsnames.ora and listener.ora files not get created as its location e.g /u01/app/oracle/pro­duct/10.2.0/db_a/net­work/admin
I created both files and configured it.
Now, when I start listener by using:
oracle:~ oracle$ lsnrctl start
TNS-01106: Listener using listener name LISTENER has already been started
when try to connect it :
oracle:~ oracle$ sqlplus hr/hr@rsg
SQL*Plus: Release 10.2.0.4.0 - Production on Wed May 27 15:16:56 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12514: TNS:Listener does not currently know of service requested in connect description

Can you tell me the perblem i want to connect to database Please
Add comment
Guest 8 December 2009 12:06:24 permanent link ]
 Some times this error appears when the grants and synonyms were not available for the DB objects.

regards
Karthikeyan M S
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Oracle database development > Missing listener.ora and tnsnames.ora file 8 December 2009 12:06:24

see also:
Trouble focussing
Regarding Package and Deployment Wizard
VB6 DLL Beta-test Failure
pass tests:
Avatar's from Elfen lied.
see also:
Hello
anketa
Enjoy MTS videos on your players

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .