Getting ORA-1260 TNS:
Help, I need your help,
I dwnld cpy of Oracle8i to Windows/NT
loaded w/ Universal Installer
tried to log on w/ LogonID: Scott Psswd:Tiger
But got ORA-12560 TNS:protocol adapter error
To see more information, send responses
thks
Hi, I am having the same problem. When I left the host string blank, I got the same message as you. When I entered the global domain name that i set up during installation in the host string field, i received the 'ora-12154:TNS:could not resolve service name' message. I'm sure there is a real simply explanation. Did you ever find out the answer?
please help.
thanks.
Similar Messages
-
Getting ORA-12560: TNS:protocol adapter error when starting Oracle8i SVRMGR
Hi everyone,
I'm new to the forums, and I guess you could say "somewhat new" to the Oracle DB. I've played around with it casually in the past, but never got real serious with it :)
Anyhow, I wanted to see if someone could help with this. I found an old thread on a similar issue, but nothing seemed to help at all towards resolution, so I thought I would start a new thread, and maybe get some fresh ideas.
The issue is, I start SVRMGR on Oracle8i, and get the ORA-1260: TNS:protocol adapter error.
Here is my setup:
OS: Win2k Advanced Server
CPU: 2 - 930MHz Intel Xeon's
RAM: 1GB DIMM
DB Version: Oracle8i
No firewalls or any other TCP interference. Ok, so now that's out the way :), here is the issue:
When I start the SVRMGR, I get that error immediately. I have checked my tnsnames.ora file, and found some discrepancies, and have corrected them (at least to my knowledge), restarted all the Windows services running the various databases, and closed/re-opened the SVRMGR, and still get the same thing.
For reference, here is a copy of the tnsnames.ora file:
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora81\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 207.225.221.92) (PORT = 1521) )
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = class.oracle)
(PRESENTATION = http://admin)
#CLASS =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = class.oracle)
#LOGEDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = LOGEDNET.oracle)
BFLEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = BFLEDNET.oracle)
#CSPEDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = CSPEDNET.oracle)
#FLGEDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = FLGEDNET.oracle)
#FINEDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = FINEDNET.oracle)
CCHSRES =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = CCHSRES)
#CCHS =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = CCHS)
CHYEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = CHYEDNET)
#AUREDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = AUREDNET)
#TUSEDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = TUSEDNET)
## DBs on ORACLESHC - 207.225.221.80
DENEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DENEDNET)
DFEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DFEDNET)
FTCEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = FTCEDNET)
OGDEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = OGDEDNET)
PROEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PROEDNET)
SILVER7 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = SILVER7)
# CCHS_PROD =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.87)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = CCHS)
ONLINEDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ONLINEDB)
GLOBALDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = GLOBALDB)
The ones I commented out were either non-existant databases, or the databases were shutdown, because they are not presently being used.
If someone could help with this, it would be greatly appreciated. :)HI,
1). Can you connect normally from SQL Plus?
-----------------------Here is entry in your Tnsnames.ora file.------------------------------
#You must check that your Dbase Listener is Listening request on port 1521.
ORCL9i =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Local-Server)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl9i)
2). For pinging a service.
If you've Microsoft Windows.
If your database service name is orcl9i
Run->Cmd
Tnsping orcl9i
--It will give you as following information either "OK" or Fail.
----------------------------------Output after running Tnsping--------------------------------------------
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 26-JUL-20
07 13:30:16
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
E:\oracle\ora92\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = Local-Server)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Orcl9i)))
OK (20 msec)
I would like to mention that Svrmgr30 was in Oracle 8. And Oracle 8i uses Svrmgrl.
--Below is Oracle9i syntax you may use it on svrmgrl.
SQL> connect
Enter user-name: Scott/Tiger@orcl9i
SQL> connected:
SQL> -
Hi,
I have just loaded Oracle 10g Rel 2 in Win 2003 Enterprise Edition.
But when I try to connect to sqlplus, I am getting ORA -12154 : TNS: Listener could not resolve the connect identified specified.
I have registered the database, the listener and tnsnames have been set correctly.
I have also set the Oracle Home environment variable.
Still getting the error.
Any help will be highly appreciated.
Thanks,I agree
ORA-12145: (does not exist in the standard manuals)
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
ORA-12541: TNS:no listener
It is pretty easy to fat-finger these 4 message numbers. As a result, when a person has the actual and complete error message and an error number for a different message, it is usually not a bad idea to use the actual message. (Based on transposing only 3 digits compared to typing over 50 characters correctly.)
In this case the OP has really bollixed things: Subject implies a true 12154, text in the thread is an actual 12514 but mentions 12154.
As a result, there are several potentially correct answers, depending on the interpretation of the question.
- sb92075 gave the correct answer based on the number
- I gave the correct answer based on the message in the thread
- Anurag and Ed gave the correct answer based on 'the question is not formed correctly'
Edited by: Hans Forbrich on Jan 24, 2010 7:13 AM
(BTW - ORA-12415 and ORA-12451 are the other permutations ... described http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e12400.htm#sthref3357) -
Getting "ORA-12534: TNS:operation not supported" connecting as sysdba
Hi,
We are getting "ORA-12534: TNS:operation not supported" error, while connecting as sysdba.
bash-2.03$ sqlplus '/as sysdba'
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Feb 23 10:16:16 2012
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12534: TNS:operation not supported
Enter user-name:
I can able to connect to database using tns entry without any issue.
SQLNET.ORA Contents:
====================
bash-2.03$ cat /var/opt/oracle/sqlnet.ora
ENCRYPTION_WALLET_LOCATION=(SOURCE=(METHOD=FILE)(METHOD_DATA=(DIRECTORY=/dboracle/orabase/product/10.2.0/dbs/wallet/)))
SQLNET.WALLET_OVERRIDE = TRUE
SSL_CLIENT_AUTHENTICATION = FALSE
SSL_VERSION = 0
I am not aware of wallet. Please help me out to resolve this issue.
Thank you.
Regards,
Dasarath>
SQLNET.ORA Contents:
====================
bash-2.03$ cat /var/opt/oracle/sqlnet.ora
ENCRYPTION_WALLET_LOCATION=(SOURCE=(METHOD=FILE)(METHOD_DATA=(DIRECTORY=/dboracle/orabase/product/10.2.0/dbs/wallet/)))
SQLNET.WALLET_OVERRIDE = TRUE
SSL_CLIENT_AUTHENTICATION = FALSE
SSL_VERSION = 0
>
You may want to replace ENCRYPTION_WALLET_LOCATION keyword with just WALLET_LOCATION in your sqlnet.ora file.
EWL is used only for TDE but if you want to use external password store, you will have to use WALLET_LOCATION rather than ENCRYPTION_WALLET_LOCATION. However if you are going to use both TDE and external password respository, then make sure your sqlnet.ora file has both entries ENCRYPTION_WALLET_LOCATION as well as WALLET_LOCATION
Regards
Venkat -
Getting ORA-12560: TNS:protocol adapter on server
Hi,
We have a server on Windows, Oracle version 10.2.0.4.
It was working fine, but all of a sudden we have started getting "ORA-12560: TNS:protocol adapter" when trying to connect as SYS.
What could be the possible reason. Nothing new has been done on the server.
Thanks.A-K wrote:
Hi,
We have a server on Windows, Oracle version 10.2.0.4.
It was working fine, but all of a sudden we have started getting "ORA-12560: TNS:protocol adapter" when trying to connect as SYS.
What could be the possible reason. Nothing new has been done on the server.Is the database service started when you get this error? I presume you are setting ORACLE_SID prior to this operation. -
Suddenly getting "ORA-12154: TNS: could not resolve service name"
Hi all
A fairly basic post from a newbie here!
Basically, I connect to several Oracle 9i instances from my PC using Toad and SQLPlus. Yesterday, this was working fine, but today, I am getting "ORA-12154: TNS: could not resolve service name" every time I try to hit any oracle instance from either Toad or SQLPlus. I have checked my TNSNAMES.ora file and it looks fine.
Are there any system variables I should look at? My PATH was changed yesterday, but I have checked and my Oracle 9i bin path is still correctly in my PATH.
I'm a bit baffled so any help/pointers would be most welcome!
Many thanks
JonSince you have changed your PATH, did you change any other Env Variable?
How many ORACLE_HOME have you got. i.e have you installed any new Oracle Software on the same machine?
Ensure that that Environment Variables ORACLE_HOME and TNS_ADMIN is pointing to the correct directory where your TNSNAMES.ORA is located. -
Help - Newbie - getting "ORA-12571: TNS: packet writer failure" ERROR
Hi all,
Not sure where to post this, so trying for the general forum to start...
I have also searched and read all the forums for help on this already as well the Oracle documentation and anything I could find from several on-line searches, etc.
I have Oracle 8i Enterprise Edition and Oracle Forms 6i installed on Win2K. Everything worked fine when it was just Oracle 8i running, ie: connecting to the database in SQLPlus Worksheet, but when I try and connect to the database in the datablock wizard in forms I get the ORA-12571: TNS: packet writer failure error!
Don't tell me to re-install, I've done that like 6 times already. I've check the tnsnames.ora files and tried that fix already. I don't know what else to try short of fdisk and redoing everything from scratch again, but I don't have time for that as this machine is used daily for other tasks.
Any help or suggestions are appreciated!!!
Thx in advance!
Michelle.
PS: Note to Oracle support staff if you are listening (pardon the pun). Your one line of help for ORA-12571 in the existing support files is rather similar to the Hitchhikers Guide to the Galaxy's info for Earth... After seeing how many people have posted about this problem and how few resources or real answers there are out there, you might want to consider updating the info on this error, because is deserves something more than "mostly harmless"!This question probably best belongs on the General database forum.
-
ORA-12535: TNS:operation timed out on other pc
After installing the XE edition on a server, I can connect fine on the server itsself. But when I try to connect from a client machine, I get ORA-12535: TNS:operation timed out.
My tnsnames on the client holds this string for the XE db:
MyDB.10gXE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
any ideas???Rather than
MyDB.10gXE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
why not go with the bulk standard tnsnames entry as follows:-
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
I don't think the qualified MyDB.10gXE name is adding any value and may well confuse things.
Although setting it for my environment does work
C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
005 18:06:48
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen
-lap.us.oracle.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_
NAME = XE)))
OK (40 msec)
OK - when I use your entry pasted directly from the above, with my server name, I get the following problem:-
C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
005 18:07:43
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION =
TNS-12533: TNS:illegal ADDRESS parameters
I added back some spaces, as indicated by the . below, and it works fine
MyDB.10gXE =
(DESCRIPTION =
.(ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen-lap.us.oracle.com)(PORT = 1521))
.(CONNECT_DATA =
.(SERVER = DEDICATED)
.(SERVICE_NAME = XE)
.) -
ORA-12560: TNS:protocol adapter error in Oracle Forms...
Hi, I installed Oracle developer suite to use for Oracle forms but am getting "ORA-12560: TNS:protocol adapter error" when trying to run a form. The database is running locally on my PC.
I've run the command line to see if hostname matches up with the "HOST= " in the ".../network/admin/listener.ora " file match, they do. What can I try next? I did have Oracle 10gXE installed, which I have now removed. I'm including my tnsnames and listener file content:
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
Thanks in advance for any help!Of course you found another one. Each .and every Oracle database client home (such as developer, app server) has one.
Don't just change the port - the tnsnames.ora in the dev home does not point to a database service. It only points to an extproc [external procedure called by a database]. You need to put a database service entry into that file similar to the one in the database home. (Easiest solution - copy the tnsnames.ora from db home ... after you've made a backup)
And please don't tell me you are using Developer 6i - a simple Google search would verify that the networking is incompatible. -
ORA-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA
Hi
i installed a fresh oracle linux and installes 11.2.0 database server. the server works fine but i have a proplem to connect to the database from a windows 2008 r2
client. For the client connection i installed the oracle instantclient on the windows system. Now i want to configure the system dsn to connect to the oracle
server like this
data source description: vSphere 64
description: ----
TNS Service Name: VCDB
user id: system
then i go to TEST connection
Service Name: VCDB
user name: system
Password: mypassword
so i copied the tnsnames.ora from the server to the client
then i get
ora-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA
here´s my tnsnames.ora from the client
VCDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.31.98.173)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = vcdb.vmware)
i tested serveral config´s but nothing works. I can ping the server and also i cn telnet the server on port 1521. The listener on the server works fine
lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-SEP-2010 20:48:52
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vc-db1.mydomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 20-SEP-2010 20:47:45
Uptime 0 days 0 hr. 1 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/vc-db1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vc-db1mydomain)(PORT=1521)))
Services Summary...
Service "vcdb.vmware" has 1 instance(s).
Instance "vcdb", status READY, has 1 handler(s) for this service...
Service "vcdbXDB.vmware" has 1 instance(s).
Instance "vcdb", status READY, has 1 handler(s) for this service...
The command completed successfully
but it´s not possible to create a connection to the server. My enviroment variables are this
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_HOSTNAME=vc-db1.mydomain
ORACLE_SID=vcdb
ORACLE_TERM=xterm
so i think on the server site everything is correct. How could i establish a connection from the windows client
to the linux database server. Or is ODBC the wrong method for this?
Kind regards
ACID25Hi,
Check the listener log and see if the connection information is logged (in this case with error)
If logged, then we are reaching the correct listener.
Then check tnsping VCDB works fine along with sqlplus connection through listener using VCDB as connect string.
If above both works, then issue can be isolated to ODBC configuration or setup issue.
In case even if the tnsping / sqlplus is failing to connect with VCDB, then worth taking a client sqlent trace at level 16 and listener trace at level 16 to analyse the issue further.
Thanks,
Sathya -
ORA-12560: TNS:protocol adapter error on Fedora Core 5
Hi ,
After installing the 10201_database_linux_x86_64 on Fedora Core5. The database is started fine on the server. The status of is Listener is also up. But when try to connect from client PC. I am getting ORA-12560: TNS:protocol adapter error error please help. me.
Thanks,Here are my config files.
On SERVER
listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME =/u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = db10g)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc1)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx)(PORT = 1521))
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME)
tnsnames.ora
# Generated by Oracle configuration tools.
DB10G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DB10G.WORLD)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
now when I issue lsnrctl start db10g i am getting following error.
TNS-01151: Missing listener name, db10g, in LISTENER.ORA
Please help me. -
9.2.0.1.0 - OEM - XP home - ORA-12541 TNS: no listener
I have installed 9i (9.2.0.1.0) on Windows XP home edition and can connect to database with SQL Plus but get ORA-12541 TNS: no listener error when I try to connect with OEM. I saw someone else had this problem in Febuary and he sadly got no replies, hopefully someone will be able to help me (us) out.
I guess you now have answers.
1. Check if listener is running
lsnrctl status <listener name>
2. Check port number and SID used
3. Check TNSNAMES for correct Port and SID name
4. Check error details in $HOME/network/log -
ORA-12516: TNS:listener could not find ... on Windows Server 2003
We are getting "ORA-12516: TNS:listener could not find available handler" while testing asp.net web application.
We have following configuration:
- A 10g database server on Windows Server 2000
- A Web Server running IIS6 on Windows Server 2003
- ODP.Net for 10g client installed on Web Server
we are testing our web app with 75 concurrent users, as far as I can tell we are closing connections in our app and open connection only while retrieving and saving records.
I saw this error very first time when we upgraded our web server to use 10g client. Before that we were using Oracle 9 client and have tested this app with 100 concurrent users without any error.
Does anyone can help or point a resource that can help to resolve this error?
Thanks.Hi,
You'll likely want to take that up with the networking folks as the error seems to be coming from the Listener.
How many connections does each instance of your app make? If you make the same number of connections via sqlplus for example rather than ODP, do you see the same results? I know creating 60 or sqlplus sessions may not be fun, but it will help determine if this issue is truly somehow related to ODP. It doesnt seem likely it would be, and if ODP can be removed from the picture, it will be that much easier to troubleshoot.
One thing I'd suggest though, is to make sure your app is cleaning up after itself properly to as to use resources efficiently. If you have access to My Oracle Support, see the following note:
Note 730678.1 Oracle Data Provider for .Net Best Practices
Hope it helps,
Greg -
ORA-12519, TNS:no appropriate service handler found on OdiSqlUnload
Hi all,
I'm using OdiSqlUnload in a target code of a procedure, where the output of the source code is the parameter.I'm using the source connection as parameters to the target connections:
OdiSqlUnload "-FILE=#filename" "-DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%>" "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" -FILE_FORMAT=variable "-FIELD_SEP=," "-ROW_SEP=;" "-DATE_FORMAT=yyyyMMddHHmmss"
It loops ok for a few times but then I get ORA-12519, TNS:no appropriate service handler found error.
Do you have an idea, or do you think the best way to export the data to csv using regular IKMs?
NimrodSource:
SELECT mvno_id, mvno_name
FROM (SELECT DISTINCT mvno_id, mvno_name
FROM <?=snpRef.getObjectName("L", "COS_TO_MVNO", "ODI_USER", "", "D") ?>
WHERE EXISTS
(SELECT 1
FROM <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>
WHERE CDRS_TO_EXPORT.mvno_id = COS_TO_MVNO.mvno_id))
Target:
OdiSqlUnload "-FILE=#V_BASE_DIR/#MVNO_NAME/gprs/GPRS_#WHOLESALE_SEQ_NEXTVAL.csv" "-DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%>" "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" -FILE_FORMAT=variable "-FIELD_SEP=," "-ROW_SEP=;" "-DATE_FORMAT=yyyyMMddHHmmss" "-DATE_FORMAT=yyyyMMddHHmmss"
WITH Samso_NPA_NXX_VH
AS (SELECT HOME_SID, npa, nxx
FROM <?=snpRef.getObjectName("L", "SAMSON_NPA_NXX_VH", "REPORT", "", "D") ?>
WHERE expiration_date IS NULL)
SELECT Event_Parameter1,
#MVNO_ID,
wholesale_seq.NEXTVAL,
event_parameter14,
event_parameter17,
Answer_Time,
Event_Parameter18,
Event_Parameter15,
(SELECT HOME_SID
FROM Samso_NPA_NXX_VH
WHERE NPA || NXX = SUBSTR (Event_Parameter17, 0, 6)),
NULL,
Event_Parameter19,
NULL,
NULL,
Event_Parameter5,
Event_Parameter13,
NULL,
Event_Parameter4,
PRICE_ITEM_ID1,
Event_Parameter5 * Event_Parameter14,
Event_Parameter4,
Event_Parameter23,
Event_Parameter20,
Event_Parameter21,
BILLING_NUMBER,
transaction_time,
Event_Parameter24,
Event_Parameter22
FROM <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>, <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>
WHERE UPPER (Event_Parameter1) = 'DATA'
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.transaction_time =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.day
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.SERVER_ID =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.SERVER_ID
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.SYS_DR_NUMBER =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.sys_dr_number
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.parent =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.parent
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.child_index =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.child_index
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.BILL_CYCLE_ID =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.bill_cycle_id
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.LRE_ID =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.lre_id
AND <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.mvno_id = #MVNO_ID -
I just install the patch 9.2.0.7 for client Oracle machine on windows 2000 server.
Since then I'm constantly getting "ORA-12560: TNS:protocol adapter error" and I cannot connect via SQL plus.
Any help is appreciated, mjI'm trying to connect to databases that are running on a separate machines - aix5.2, and I can connect from every other machine in the office but not from this one.
There's no database on this machine - only Oracle client tools installed with 9.2.0.1 and then updated to 9.2.0.7. Before the update the sqlplus was working just fine. After the patch run, I'm not able to connect viw sqlplus.
There were no errors when running the patch.
Thanks a lot,mj
Maybe you are looking for
-
Unable to connect to a computer in the local network
I've set up an older notebook as a server, connected via WiFi, will be called "server" in this text. Then I have my normal work notebook, called "notebook" in this text. Both the server and the notebook are connected to the router. The server has add
-
Help!!:Where is my 25-character production key
My new T500 nees a 25-character production key to start word2007?where it is?
-
Federated Portal Network Implementation
Hi All, I was trying to implement FPN between CE and SAP Netweaver 7.0 using remote role assignment. I made ce as the producer portal and the other as consumer. I am able to see all the roles in consumer portal. But when i login with the new user on
-
HT201210 how do i do a hard restore as new phone
need to restore as new phone. computer says i must turn off location services through iCloud before i can restore. the problem is that i cannot access iCloud on my phone. have been unable since i updated to ios 7
-
Ultrabeat pattern export problem - Logic pro X
When I try to drag a pattern to the arrange window my changes to the pattern are lost and the original pattern is dragged instead (changes made are ignored). I am taking a pattern and making changes. No matter what I do, if I try resaving the whole k