473,753 Members | 6,868 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ORA-12224: TNS:no listener

2 New Member
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

Listener.ora:

LISTENER=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=IPC)
(KEY=uplinkdb)
)
(ADDRESS=
(PROTOCOL = TCP)
(HOST = 10.2.0.49)
(PORT = 1200)
)
)
LISTENER1=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=IPC)
(KEY=AIRTEL)
)
(ADDRESS=
(PROTOCOL = TCP)
(HOST = 10.2.0.49)
(PORT = 1201)
)
)
LISTENER2=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=IPC)
(KEY=onspire)
)
(ADDRESS=
(PROTOCOL = TCP)
(HOST = 10.2.0.49)
(PORT = 1551)
)
)

STARTUP_WAIT_TI ME_LISTENER = 0
CONNECT_TIMEOUT _LISTENER = 10

SID_LIST_LISTEN ER=
(SID_LIST=
(SID_DESC=
(SID_NAME=uplin kdb)
(ORACLE_HOME=/usr/up/oracle)
)
)
SID_LIST_LISTEN ER1=
(SID_LIST=
(SID_DESC=
(SID_NAME=AIRTE L)
(ORACLE_HOME=/usr/up/oracle)
)
)
SID_LIST_LISTEN ER2=
(SID_LIST=
(SID_DESC=
(SID_NAME=onspi re)
(ORACLE_HOME=/usr/up/oracle)
)
)
TRACE_LEVEL_LIS TENER = OFF



Tnsname.ora :

uplinkdb=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.2.0.49 )
(PORT=1200))
(CONNECT_DATA=( SID=uplinkdb)))
AIRTEL=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.2.0.49 )
(PORT=1201))
(CONNECT_DATA=( SID=AIRTEL)))
onspire=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.2.0.49 )
(PORT=1551))
(CONNECT_DATA=( SID=onspire)))

airteldb=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.2.0.49 )
(PORT=1201))
(CONNECT_DATA=( SID=airteldb)))
orcl=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.2.0.49 )
(PORT=1521))
(CONNECT_DATA=( SID=orcl)))
AJAY =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 100.1.200.10)(P ORT = 1521))
)
(CONNECT_DATA = (SERVICE_NAME = DP51.WORLD))
)
Aug 7 '07 #1
5 17043
debasisdas
8,127 Recognized Expert Expert
check for the services of oracle database and the oracle listener.

ensure that both the services are in auto mode and runing.
Aug 7 '07 #2
Nitvar
2 New Member
check for the services of oracle database and the oracle listener.

ensure that both the services are in auto mode and runing.

please tell how to check for the services of oracle database and the oracle listener in oracle 8.0.5 in solarix operating system
Aug 8 '07 #3
debasisdas
8,127 Recognized Expert Expert
you can find some details here and here.
Aug 9 '07 #4
debasisdas
8,127 Recognized Expert Expert
Run the command

lsnrctl status

to check the status of the listener ( if it is started or not)

and the command

lsnrctl start

to start it
Aug 9 '07 #5
dearsaran
9 New Member
Modify and test the database.... so that your oracle database is successful in connection.. if test is sucessful then there would be some problem in the tnsname..

in command promt just ping the tnsname
Aug 10 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
26785
by: Galina | last post by:
Hello I have created a trigger not to let records with certain fields null to be inserted into the table: BEGIN IF :new.RUL_CODE is null or :new.FES_UINS_CODE is null or :new.FES_UIO_CALOCC is null then RAISE_APPLICATION_ERROR(-20000,'Record is not saved. Check course record and try to save again.'); end if;
7
12876
by: Cherrish Vaidiyan | last post by:
hello, I am been getting mad with so many doubts and errors.. I have posted some doubts,test cases regarding listener,replication and standby database.But i havent got any response..(I am sorry as some of the queries i have posted twice).Is it that my doubt are funny and simple for u gurus. I am just interested in Oracle on Linux . i request u all to guide me.
1
5157
by: Adam Ruth | last post by:
I'm using OCI on Mac OS X and I've run into a strange problem with my TNSNAMES.ORA file. My TNSNAMES.ORA file has one entry INV4II and it works fine. However, it will only work if that is the name of the entry. If I use any other name for that entry I get the dreaded ORA-12154. For example: TNSNAMES.ORA -> INV4II Application -> INV4II :: works fine TNSNAMES.ORA -> INV4DEV Application -> INV4DEV :: ORA-12154 TNSNAMES.ORA -> INV4DEV...
2
8449
by: J.Bijleveld | last post by:
Hello colleagues, At this moment we have a real big problem using a .NET application with an Oracle database (v8.1.6). I hope someone has encountered this problem before and is able to help me with it. The problem is that we *Sometimes* get the ORA-24338 error when executing a query. This problem occurs random, sometimes twice a day, sometimes not at all. In the eventlog we get an exception like this one (stacktrace):
0
3903
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)
2
43643
by: Dwie | last post by:
Dear All, I'm a new in Oracle DB. I'm using Windows 2000 as server and Windows XP as client. I installed Oracle Enterprise on server and Oracle 8.1 on clients. I have some client with 2 different IP address, 172.16.xx.xx and 192.168.xxx.xx whices I want to connect to the server DB. How can I set the Listener.ora & Tnsnames.ora so all clients could connect to server. Right now I can connect just only one IP and the other IP is offline, but...
3
8260
by: karpalmera | last post by:
We have checked the status of listener and it's okay. ORAORD7, TNSG473 & G4G407 are okay. Still, we are encountering this problem when trying to connect to DB2. =================================================== Oracle7 Server Release 7.2.3.0.0 - Production Release With the distributed option PL/SQL Release 2.2.3.0.0 - Production SQL> desc tablev@oramvs ERROR:
0
4738
by: Zahi Savion | last post by:
Hi All, I tried evething: but no help, I'm connecting from my home trough 1.5 MB ADSL Line to Oracle Server and getting ORA-12170 Oracle 10g Actions that didn't help:
0
3499
by: wolfee | last post by:
I'm running 10gR2 RAC in Prod, Test and DEV and after doing a clone to the DEV environment I'm getting a wierd ORA-12514 error for only one node. I can tnsping the node and it comes back fine. Oracle Home is shared, so I'm using the same listener.ora file and tnsnames.ora file from both nodes. I can connect using sqlplus @<node1> fine and @<service name> fine but when I try to connect @<node2> I get the ORA-12514. This is odd because I have...
1
2436
by: jramprasad | last post by:
hi i'm new one to oracle dba i installed oracle 9,.2 on my Windows XP, i created a database empdetails,Could some one help me how configuration Listener.ora and Tnsnames.ora in a single system. IF anybody knows Please help me. I want to practice that.
0
9072
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
9653
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9451
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
9421
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
9333
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
6869
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
6151
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3395
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
2
2872
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.