473,714 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Listener cannot read SERVICE_NAME in TNS-Descriptor

Hi,

I have a listener problem. The listener cannot read SERVICE_NAME in
TNS-Descriptor. The service-name I specified in Oracle Net Manager for
this database is testdb as well.

(DESCRIPTION=(A DDRESS_LIST=(AD DRESS=(PROTOCOL =TCP)(HOST=axel-0560nntbn1)
(PORT=1521)))(C ONNECT_DATA=(SE RVER=DEDICATED) (SERVICE_NAME=t estdb)))

It is a local database so I tried testdb.localhos t, but this didn't
work too!

Thanks

Axel
Jul 19 '05 #1
5 13430
Axel Dachtler wrote:
Hi,

I have a listener problem. The listener cannot read SERVICE_NAME in
TNS-Descriptor. The service-name I specified in Oracle Net Manager for
this database is testdb as well.

(DESCRIPTION=(A DDRESS_LIST=(AD DRESS=(PROTOCOL =TCP)(HOST=axel-0560nntbn1)
(PORT=1521)))(C ONNECT_DATA=(SE RVER=DEDICATED) (SERVICE_NAME=t estdb)))

It is a local database so I tried testdb.localhos t, but this didn't
work too!

Thanks

Axel


You did not provide enough information to troubleshoot the problem.
A listener is NOT required to access a local database.

"didn't work"?
EXACTLY what did not work?
EXACTLY what was the error message?
I have NO idea what you actually tried to do
or the error message with which Oracle responded.
Jul 19 '05 #2
> EXACTLY what did not work?
EXACTLY what was the error message?

I added a new database MYBD to the tree. But I cannot access MYDB. I
get this message:

ORA-12514: TNS:Listener couldn't dissolve SERVICE_NAME in connection
descriptor

(translated from German into English!)

That is in my tnsnames.ora:

MYDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = axel-0560nntbn1)(POR T =
1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydb)
)
)
Thanks
Axel
Jul 19 '05 #3
Axel Dachtler wrote:
EXACTLY what did not work?
EXACTLY what was the error message?


I added a new database MYBD to the tree. But I cannot access MYDB. I
get this message:

ORA-12514: TNS:Listener couldn't dissolve SERVICE_NAME in connection
descriptor

(translated from German into English!)

That is in my tnsnames.ora:

MYDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = axel-0560nntbn1)(POR T =
1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydb)
)
)
Thanks
Axel


1) What Operating System (OS)?
2) What OS version?
3) What is contents of listener.ora file
4) EXACTLY what are you doing to generate the ORA-12514 error?
5) If you are logged onto the actual database server system DIRECTLY,
then SQL*Net and Listener is NOT required to connect to the database.
6) "ping axel-0560nntbn1"
produces what output?
(without double quote marks)
7) lsnrctl status
produces what output?
8) while logged onto the database server
what is produced when the following is entered at the command line?
sqlplus
/ as sysdba
exit

Jul 19 '05 #4
> 1) What Operating System (OS)?
2) What OS version?
3) What is contents of listener.ora file
4) EXACTLY what are you doing to generate the ORA-12514 error?
5) If you are logged onto the actual database server system DIRECTLY,
then SQL*Net and Listener is NOT required to connect to the database.
6) "ping axel-0560nntbn1"
produces what output?
(without double quote marks)
7) lsnrctl status
produces what output?
8) while logged onto the database server
what is produced when the following is entered at the command line?
sqlplus
/ as sysdba

1) Windows XP
2) OS version 2002

3a) contents of tnsnames.ora:

# TNSNAMES.ORA Network Configuration File:
C:\oracle\ora92 \NETWORK\ADMIN\ tnsnames.ora
# Generated by Oracle configuration tools.

INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = axel-0560nntbn1)(POR T =
1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)
)

EXTPROC_CONNECT ION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

ORACLE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = axel-0560nntbn1)(POR T =
1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oracle.localhos t)
)
)

MYDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = axel-0560nntbn1)(POR T =
1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydb.localhost)
)
)

3b) contents of listener.ora:

# LISTENER.ORA Network Configuration File:
C:\oracle\ora92 \network\admin\ listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LI ST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = axel-0560nntbn1)(POR T =
1521))
)
)
)

SID_LIST_LISTEN ER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92 )
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = oracle.localhos t)
(ORACLE_HOME = C:\oracle\ora92 )
(SID_NAME = oracle)
)
)
4) ORA-12514 error: I doubleklick on the database icon of MYDB I just
added to the tree to open it! There is a pre-configured database
called "oracle" in the tree. When I click on this one it changes into
"oracle - Axel as sysdba" and opens.

5) I run Oracle 9i on my laptop, so I am logged onto the database
server system DIRECTLY. You say a Listener is NOT required to connect
to a database directly. But why do I get bothered by this ORA-12514
error ?

6) ping statistic for 172.0.0.1:
response from 172.0.0.1: Bytes = 32 time <1ms TTL 128
(4 times)
package: sent = 4 got = 4 lost = 0

7)lsnrctl status produces these Services:

-----------------------

Dienst "PLSExtProc " ...

Dienst "oracle.localho st" ...

Dienst "oracleXDB.loca lhost" ...

--------------------------

obviously there is no service running for MYDB !?
Thanks Axel
Jul 19 '05 #5
Axel Dachtler wrote:
1) What Operating System (OS)?
2) What OS version?
3) What is contents of listener.ora file
4) EXACTLY what are you doing to generate the ORA-12514 error?
5) If you are logged onto the actual database server system DIRECTLY,
then SQL*Net and Listener is NOT required to connect to the database.
6) "ping axel-0560nntbn1"
produces what output?
(without double quote marks)
7) lsnrctl status
produces what output?
8) while logged onto the database server
what is produced when the following is entered at the command line?
sqlplus
/ as sysdba


1) Windows XP
2) OS version 2002

3a) contents of tnsnames.ora:

# TNSNAMES.ORA Network Configuration File:
C:\oracle\ora92 \NETWORK\ADMIN\ tnsnames.ora
# Generated by Oracle configuration tools.

INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = axel-0560nntbn1)(POR T =
1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)
)

EXTPROC_CONNECT ION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

ORACLE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = axel-0560nntbn1)(POR T =
1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oracle.localhos t)
)
)

MYDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = axel-0560nntbn1)(POR T =
1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydb.localhost)
)
)

3b) contents of listener.ora:

# LISTENER.ORA Network Configuration File:
C:\oracle\ora92 \network\admin\ listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LI ST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = axel-0560nntbn1)(POR T =
1521))
)
)
)

SID_LIST_LISTEN ER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92 )
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = oracle.localhos t)
(ORACLE_HOME = C:\oracle\ora92 )
(SID_NAME = oracle)
)
)
4) ORA-12514 error: I doubleklick on the database icon of MYDB I just
added to the tree to open it! There is a pre-configured database
called "oracle" in the tree. When I click on this one it changes into
"oracle - Axel as sysdba" and opens.

5) I run Oracle 9i on my laptop, so I am logged onto the database
server system DIRECTLY. You say a Listener is NOT required to connect
to a database directly. But why do I get bothered by this ORA-12514
error ?

6) ping statistic for 172.0.0.1:
response from 172.0.0.1: Bytes = 32 time <1ms TTL 128
(4 times)
package: sent = 4 got = 4 lost = 0

7)lsnrctl status produces these Services:

-----------------------

Dienst "PLSExtProc " ...

Dienst "oracle.localho st" ...

Dienst "oracleXDB.loca lhost" ...

--------------------------

obviously there is no service running for MYDB !?
Thanks Axel

Upon further review & reading between the lines
it might be the case that you think you added a
new database/instance onto this system.

Somehow I serious doubt that by simply manipulating
some silly GUI that you actually created a 2nd DB.

If you log into the "oracle" DB which seems to be OK,
please do the following:
SELECT FILE_NAME FROM DBA_DATA_FILES;

The result is a collection of files which comprise
the majority of this instance.

If, in fact, a 2nd DB exists on this system,
you should be able to locate files with similar
or identical name which reside in a different path
where typically the pathname includes the SID.

My gut says that you do not have two databases on this system.

Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9179
by: Cherrish Vaidiyan | last post by:
Hello all, A warm Xmas greetings to all. I have a small problem with starting up the database. Here my strategy. I have installed Oracle 9i R 2 on Red Hat 9. i created two database on this system. And the two datasbe is working perfectly. Now i needed another RH9 system to work on Oracle 9i. So I was guided to copy the oracle home folder and that the oracle will be up for work. I even got such a response from Google Group. I copied...
1
3737
by: Cherrish Vaidiyan | last post by:
sir, I have a small error in Listener configuration.I have two system with a database in each. I am using Red Hat 9 and Oracle 9i. so i shall anme the database and system. system 1 - node2 system 2 - node3 database - apple database - intel i have installed Oracle on 'node3' by copying the files and then creating a new database in it. Now i want to configure listener. I
6
16668
by: Ellen K. | last post by:
Hi all, I'm a developer. While at my current job I've been working with mostly SQL Server, now I need to connect to our Oracle Financials running on HP-UX. The Oracle DBA set me up as a user and installed the Oracle client on my box and I have the tnsnames file, but I still can't establish a connection to the database from my development environment... I'm getting an error message "ORA-12224 TNS:no listener".
1
18193
by: Marc | last post by:
Hi! I'm working with a C# client that calls a php web service. I've created a wrapper to call the service using .NET wsdl tool (adding a web reference). The call to the server works fine, it is serialized correctly, and the server returns a response (I've captured the response and it's correct!) but when the .NET deserialize this response, it throws the exception "System.InvalidOperationException: There is an error in XML
0
3899
by: kalpanaanand | last post by:
I am new to Oracle 9i client. i tried to log in but i am getting this error. this is my listenerfile # LISTENER.ORA Network Configuration File: C:\ProgramFiles\oracle\NETWORK\ADMIN\listener.ora # Generated by Oracle configuration tools. SID_LIST_TEST = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = Oracle9) (ORACLE_HOME = C:\ProgramFiles)
1
19761
by: smita81 | last post by:
Hi, I have a problem while trying to login to toad. My operating system is WINDOWS XP. I have Oracle 9i at my system. I installed the Toad into the system.When I start the Toad "Toad Server Login Version 7.5.2.0" pop up opens. It asks to enter : Database or(user @database) User/Schema : Password : Connection as :,here three options given .They are NORMAL ,SYSDBA...
5
17036
by: Nitvar | last post by:
When i am trying to connect to oracle it is giving me these two errors ORA-12224: TNS:no listener ORA-01034: ORACLE not available I am new to oracle ,plz help I am using solaris 5.6 and oracle 8.0.5 version I am posting my listener.ora and Tnsname
2
9462
by: trakal | last post by:
Hello all readers, I have a question concerning an error that i really want to understand. I have an application client (C#) that connect to an Oracle server. Normally, it work good but just this morning, i have an error that the message is like below. ORA-12516: TNS:listener could not find available handler with matching protocol stack. I didn't do anything just do someelse and after maybe 1hours, i try to connect to Oracle database again...
1
3234
by: www.douglassdavis.com | last post by:
I have an Apache server, PHP 5.2.5 and Oracle 10g Express Edition for development purposes on my laptop running Windows XP. I am using OCI to connect to Oracle from PHP I am using MDB2 database abstraction library. Occasionally when I load a page I will get this error: ORA-12520: TNS:listener could not find available handler for requested
1
3173
by: michael ngong | last post by:
michael.john@gmx.at (Michael John) wrote in message news:<90cc4edd.0306230900.28075193@posting.google.com>... MIchael I you stated the OS and platform that could make it easier to address your issue Michael Tubuo Ngong
0
8801
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8707
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9174
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9015
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6634
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4464
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4725
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3158
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.