Problem connecting to database - ORA-12154
Hi allI can't tnsping and sqlplus using my client computer SYSTEM
Now, I created another user, called DEVSS. I can connect to this user using SQL_developer, but not through SQL Plus.
Below I have connected using SYSTEM and then tried to connect using DEVSS, but this resulted in error
Please advise... Anypointers will be useful!
C:\Users\saring1 > SQLPLUS SYSTEM/password@MYDATA
SQL * more: Production release 11.2.0.3.0 on Sun Jul 1 20:48:36 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > connect DEVSS/password
ERROR:
ORA-12154: TNS: could not resolve the connect identifier specified
WARNING: You are more connected to ORACLE.
SQL > connect DEVSS
Enter the password:
ERROR:
ORA-12154: TNS: could not resolve the connect identifier specified
SQL >
If I try directly this way, I get an error like below-
M:\ > sqlplus DEVSS/password@hostname
SQL * more: Production release 11.2.0.3.0 on Sun Jul 1 21:44:10 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS: could not resolve the connect identifier specified
Enter the user name:
Enter the user name:
Here are the files (tnsnames and listner.ora) from the server database.
file tnsnames.ora on the client is similar.
Tnsnames.ora
**********************************************
MYDATA =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1251))(HOST = hostname))
(CONNECT_DATA = (SERVICE_NAME = MYDATA)))
***********************************************
listner.ora
******************************************
#
# Definition of database listener Net8
#
MYDATA =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1251))(HOST = hostname))
)
)
SID_LIST_MYDATA =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = d01/product/11.2.0.3/mydata)
(SID_NAME = MYDATA)
)
)
STARTUP_WAIT_TIME_MYDATA = 0
CONNECT_TIMEOUT_MYDATA = 10
TRACE_LEVEL_MYDATA = OFF
LOG_DIRECTORY_MYDATA = /d01/product/11.2.0.3/mydata/network/admin
LOG_FILE_DEVRHYP = MYDATA
TRACE_DIRECTORY_MYDATA = /d01/product/11.2.0.3/mydata/network/admin
TRACE_FILE_DEVRHYP = MYDATA
ADMIN_RESTRICTIONS_MYDATA = WE
SUBSCRIBE_FOR_NODE_DOWN_EVENT_MYDATA = OFF
# adding parameters for the bug # 9286476
LOG_STATUS_MYDATA = WE
INBOUND_CONNECT_TIMEOUT_MYDATA = 60
# ADR applies only to the 11gDB
DIAG_ADR_ENABLED_MYDATA = WE
ADR_BASE_MYDATA = /d01/product/11.2.0.3/mydata/admin/
************************************************
Whirlpool says:
HelloPlease find the below output. Don't know why it gives a different errors, I tried two times...
M:\>sqlplus scott/tiger@'hostname:1251/MYDATA'
SQL * more: Production of the version 11.2.0.3.0 on Mon Jul 2 00:21:50 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-01017: name of user and password invalid. connection refused
If/when you use the username/password valid name that will connect you to th DB!
>
Enter the user name: scott
Enter the password:
ERROR:
ORA-12560: TNS:protocol adapter error
before you try to connect to 'local' DB & is not using SQL * Net
Tags: Database
Similar Questions
-
Problem with Siebel tool ORA-12154
Hello
This is my problem:
I installed the Siebel tool in Windows XP successfully, but when trying to connect to mark me the following error:
An internall error appeared in the Siebel application authentication subsystem. Please contact your system administrator for assistance. (SBL-DAT-00565)
If I test the ODBC connection that finished with this error:
[DataDirect] [ODBC Oracle driver] [Oracle] ORA-12154: Tns: could not resolve the connect identifier specified
I can connect to the database using SQL more smoothly.
My Datababase is 'Oracle Database 10g Release 10.2.0.1.0'.
My Oracle Client is 10.2.0.1.0
My tnsnames.ora contain the lines
TEST. WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVER01)(PORT = 1521))
(CONNECT_DATA = (SID = TEST))
)
Any idea, what the problem?
Please, help me.You TNS_NAMES (tnsnames.ora) and path (for binary oracle) defined?
Could there be a second tnsnames.ora from a previous client installation / failed and ODBC is not pointing to the wrong file?
-
Unable to connect to the local database - ORA-12154
Hello
I'm having a problem with an Instance Oracle 10.2.0.3 on AIX 5.3.
Under Root and Oracle, I can connect to the instance by using only "sqlplus user/password', but it does not work under another ID.
It causes me problems as one of our suppliers has provided a large number of upgrade scripts to be run as a specific user, but fail to establish a database connection.
Anyone have any ideas on what could be the problem? I put my SID and Oracle Home properly, running oraenv, but it does not work.
Thank you
JamesCheck what unix groups the user is a member.
echo $ORACLE_SID
echo $TWO_TASKUse: -.
sqlplus username/password@database
Make sure that the database is listed in tnsnames.ora
-
problems connecting to databases
Hi gurus,
I have a well documented problem but cannot be resolved by myself. I need a little help.
I have two databases in my laptop, the two 11.2.0.1 running in windows 7 (I know that it was not taken in charge yet, but this isn't the problem).
Now I want to double ORIGINAL copy of database with rman, but I'm having:
RMAN-04006: auxiliary database error: ORA-12505: TNS:listener is not currently of SID given in connect
The two databases are running and works well, I can connect in different windows:
so, I check the tnsnames:set ORACLE_SID=ORIGINAL sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Jue Ago 2 11:02:47 2012 Copyright (c) 1982, 2010, Oracle. All rights reserved. Conectado a: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select name from v$database; NAME --------- ORIGINAL in other window: set ORACLE_SID=COPY sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Jue Ago 2 11:02:47 2012 Copyright (c) 1982, 2010, Oracle. All rights reserved. Conectado a: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select name from v$database; NAME --------- COPY
Normal all the shows in order to check the listener services:# tnsnames.ora Network Configuration File: C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. COPY= (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = copy) ) ) ORIGINAL= (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORIGINAL) ) ) ORACLR_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (CONNECT_DATA = (SID = CLRExtProc) (PRESENTATION = RO) ) ) LISTENER_COPY = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) LISTENER_ORIGINAL = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
Listener.oraC:\Users\my_user>lsnrctl services; LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-AGO-2012 11:30 :28 Copyright (c) 1991, 2010, Oracle. All rights reserved. Conectßndose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) Resumen de Servicios... El servicio "CLRExtProc" tiene 1 instancia(s). La instancia "CLRExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este servicio... Manejador(es): "DEDICATED" establecido:0 rechazado:0 LOCAL SERVER El servicio "DDBBXDB" tiene 1 instancia(s). La instancia "original", con estado READY, tiene 1 manejador(es) para este servicio... Manejador(es): "D000" establecidos:0 rechazados:0 actuales:0 mßximo:1022 estado:ready DISPATCHER <machine: MY_USER, pid: 4356> (ADDRESS=(PROTOCOL=tcp)(HOST=MY_USER)(PORT=54428)) El servicio "original" tiene 1 instancia(s). La instancia "original", con estado READY, tiene 1 manejador(es) para este servicio... Manejador(es): "DEDICATED" establecido:0 rechazado:0 estado:ready LOCAL SERVER El comando ha terminado correctamente
and sqlnet.ora# listener.ora Network Configuration File: C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\network\admin\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\bin\oraclr11.dll") ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ) ) ADR_BASE_LISTENER = C:\Users\my_user\miBBDD
I don't know why and how solve it, so any idea will be apreciated.# sqlnet.ora Network Configuration File: C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\network\admin\sqlnet.ora # Generated by Oracle configuration tools. # This file is actually generated by netca. But if customers choose to # install "Software Only", this file wont exist and without the native # authentication, they will not be able to connect to the database on NT. SQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
Thank youGood to hear that :)
Please if you get your answer, mark this thread as a response. -
ORA-12154 connecting problem remotely.
I am running Oracle 11 g on Windows Server 2008R2. I have a client (Zabbix) application running elsewhere who try to connect to it.
The client computer has:
* oracle - instantclient11.2 - basic - 11.2.0.3.0 - 1.i386.rpm
* oracle - instantclient11.2 - devel - 11.2.0.3.0 - 1.i386.rpm
And as such, it has no files tnsnames.ora or sqlnet.ora. He tries to establish a connection with the direct addressing. With a print in the php statement, I see that he calls
H4. ociplogon (User, Password, $Connect);
with connect is the value / / dbhostmachine:1521 / zabbix. So, everything seems good.
#####################
C:\Users\mdobrini > lsnrctl services
LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 2 November 2012 13:00:55
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = dbhostmachine.dddd.cccc.com) (POR
Summary of services...
Service 'zabbix' has 1 instance (s).
Instance 'zabbix' READY State, has 1 operation for this service...
Managers:
"DEDICATED" implemented: 578 refused: 0 status: ready
LOCAL SERVER
Service 'zabbixXDB' has 1 instance (s).
Instance 'zabbix' READY State, has 1 operation for this service...
Managers:
"D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan
DISPATCHER < machine: dbhostmachine, pid: 6384 >
(ADDRESS = (PROTOCOL = tcp (PORT = 61396))(HOST=dbhostmachine.dddd.cccc.com))
Service 'zabbix_XPT' has 1 instance (s).
Instance 'zabbix' READY State, has 1 operation for this service...
Managers:
"DEDICATED" implemented: 578 refused: 0 status: ready
LOCAL SERVER
The command completed successfully
#######################
Trying to connect locally works fine:
#########################
SQL * more: version 11.1.0.7.0 - Production on Fri Nov 2 13:06:31 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter the user name: SYSTEM
Enter the password:
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
SQL > connect uuu/ppp@localhost/zabbix
Connected.
SQL >
#########################
However, remote, I get the popular error:
ociplogon(): ORA-12154: TNS: could not resolve the connect identifier specified
The strange thing is that it worked before intermittently. I would get an error every 10 seconds approximately in my application:
30923:20121101:142237.595 [Z3001] connect to the database ' / / dbhostmachine:1521 / zabbix' failed: [-1] ORA-12516: TNS:listener could not find Manager available with corresponding protocol stack
dog guard 30923:20121101:142237.596: database is down
but there was certainly data sent on the network and persisted in the comic book. After you restart the application and the server, I'm no longer able to get a connection at all and am stuck on ORA-12154. Any help would be appreciated.970022 wrote:
Oops I meant ORA-12516. I would like to get intermittent errors such as:ociplogon(): ORA-12516: TNS:listener could not find Manager available with corresponding protocol stack
After a few adjustments I have is no longer a problem, but it remains to be seen if Oracle increased limits will be reached again.
EDIT: Here's an example locally:
SQL > connect xxx/xxx@localhost/zabbix;
Connected.
SQL > connect xxx/xxx@localhost/zabbix;
Connected.
SQL > connect xxx/xxx@localhost/zabbix;
ERROR:
ORA-12516: TNS:listener could not find Manager available with the corresponding protocol
batteryEdited by: 970022 November 12, 2012 08:07
above may result from the DB ' running out of available slots / session process.
This may result when the application starts a new session for each single SQL issued.
From V10, Oracle has attempted to increase the capacity of the listener.
He does this by making the listener of the DB query to find out how many sessions, the DB's & can handle.
Then as a listener to make new connection requests, listener increments a counter indicating how many sessions are in the bosom of the DB.
When MAX sessions is reached, listener error to customer requesting a connection.
Once per minute when DB registers itself with the listener, the listener gets a count of the current session.
which results in a new request connections succeeding until the MAX session limit is found, again.If the application uses connection pooling, these errors are avoided.
-
.Mdb MS Access using ODBC connection failed to resolve ORA-12154 connection identifier
Dear all,
I am using the MS Access file .mdb as the source of my request for OWB. I need to connect to the ms access .mdb file first using odbc. This is the step that I do:
1. define the ODBC connectifity
Control Panel-> admin tools-> data-> system-> add DSN sources
Select Microsoft Access Driver (*.mdb)-> Finish
Data source name: msaccess-> database: Select-> location of the file .mdb (C:\MSAccess\att2000.. (MDB)
2 configure the listener
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(SID_DESC =
(SID_NAME = msaccess
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = hsodbc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
)
(SID_DESC =
(SID_NAME = msaccess
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = hsodbc)
)
)
ADR_BASE_LISTENER = C:\app\Administrator
3 Configure Oracle HS
File name Initmsaccess.ora
#
# HS init parameters
#
HS_FDS_CONNECT_INFO = msaccess
HS_FDS_TRACE_LEVEL = 1
#
# Required for the non-Oracle system environment variables
#
#set < varenv > = < value >
4 edit tnsnames.ora
Msaccess =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SID = msaccess)
(SERVICE_NAME = msaccess)
)
(HS = OK)
)
5. create the database link
create the link msaccess database using "msaccess";
6 execute a query to test the connection
SQL > select * from departments@msaccess;
ERROR on line 1:
ORA-12154: TNS: could not resolve the connect identifier specified
I check the AMT using msaccess tnsping, it returns
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos)
(t) (PORT = 1521)) (CONNECT_DATA = (SID = msaccess) (SERVICE_NAME = msaccess)) (HS = OK)( )
OK (120 MS)
Any body knows how to solve this problem?
Best regards
Akhmad H Gumas
Akhmad,
just to confirm that I understood:
You have an Oracle database and the bridge installed on your machine. The database and the bridge are all part of this Oracle_Home: C:\app\Administrator\product\11.2.0\dbhome_1
Fix?
When you look at your listener.ora file it lack a right bracket:
(SID_NAME = msaccess
=> should be (SID_NAME = msaccess)
Once done, please STOP and START the listener.
Then open a command line window and type:
Set ORACLE_HOME=C:\app\Administrator\product\11.2.0\dbhome_1
Status of C:\app\Administrator\product\11.2.0\dbhome_1\bin\lsnrctl
C:\app\Administrator\product\11.2.0\dbhome_1\bin\dg4odbc
C:\app\Administrator\product\11.2.0\dbhome_1\bin\tnsping msaccess
And copy and paste the output of each command.
-Klaus
-
Unable to connect, ORA-12154, the installation routine to find ODBC Microsoft errors
Hi all
I have a 64-bit Windows 7 Enterprise SP1 system and I wanted to be able to connect to an oracle database server. However, I am facing a problem with the ODBC configuration.
I currently installed both below in... product\11.2.0\client_1 folder:
1 oracle Database 11 g Release 2 (11.2.0.1.0) Client for Microsoft Windows (x 64) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
2 64 - bit components (ODAC) data access Oracle - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
I launched the ODBC data sources administrator and added a user DSN but gave rise to two errors:
1. the Setup for the Microsoft ODBC driver ODBC routines oracle is not found. Please you reintall the pilot.
2. the specified DSN contains a mismatch of architecture between the driver and the application.
In addition to that, if I go to the system DSN tab and tried to test the connection it gives me an error:
1. cannot connect SQLState = 08004 [Oracle] [ODBC] [Ora] ORA-12154: TNS: can not solved the specified identifier.
Anyone can guide me please thanks to this? Thanks in advance!
Published by: VTech on February 26, 2013 14:13VTech wrote:
Hi allI have a 64-bit Windows 7 Enterprise SP1 system and I wanted to be able to connect to an oracle database server. However, I am facing a problem with the ODBC configuration.
I currently installed both below in... product\11.2.0\client_1 folder:
1 oracle Database 11 g Release 2 (11.2.0.1.0) Client for Microsoft Windows (x 64) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
2 64 - bit components (ODAC) Oracle data access - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.htmlIt is enough that one of them (the other should be enough).
I launched the ODBC data sources administrator and added a user DSN but gave rise to two errors:
1. the Setup for the Microsoft ODBC driver ODBC routines oracle is not found. Please you reintall the pilot."Microsoft ODBC for Oracle" is a different provider than 'Oracle ODBC'. Make sure that you do not use Microsoft one.
2. the specified DSN contains a mismatch of architecture between the driver and the application.
This can happen if you mix 32-bit and 64-bit. There are two ODBC Control Panel in Windows 7:
-64-bit, one is that of the Panel
-the 32 bit one is c:\windows\syswow64\odbcad32.exeBecause you use an Oracle 64-bit driver, you must use the 64-bit ODBC Administrator and 64-bit applications. If you try to use this ODBC connection with a 32-bit application, you will need to use the 32-bit ODBC (and the driver Oracle 32-bit).
In addition to that, if I go to the system DSN tab and tried to test the connection it gives me an error:
1. cannot connect SQLState = 08004 [Oracle] [ODBC] [Ora] ORA-12154: TNS: can not solved the specified identifier.Well it actually means that it loads correctly, Oracle is something. You must add an entry for the server you want to connect in tnsnames.ora, located in the folder \network\admin inside your Oracle client installation. Because it looks like someone else set up the server that you want to connect, your DBA should be able to provide the information that is written to the file.
-
The problem of ORA-12154 - listener listener two same service
I have two entries in tnsnames.ora with SERVICE_ID even
I can connect to REPSTG using sqlplus. cmd\ > sqlplus username/pass@REPSTG
but when I try to connect to the ORCL using sqlplus. cmd\ > sqlplus username/pass@ORCL,.
Oracle show message:
ORA-12154: TNS: could not resolve the connect identifier specified
I'm using Oracle 11 g R2 - Windows Server 2008 R2
Here are my tnsnames.ora
Thank youREPSTG = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = myhostname)(PORT = 1521) ) ) (CONNECT_DATA = (SERVICE_NAME = repstg) ) ) ORCL = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = myhostname)(PORT = 1521) ) ) (CONNECT_DATA = (SERVICE_NAME = repstg) ) )
Indra says:
In my PB, I have two database:D:\ORACLE\db\product\11.2.0\dbhome_1 D:\ORACLE\db\product\11.2.0\dbhome_2
What do you evidence isn't two databases, it is two ORACLE_HOMEs. In other words, two installations of the RDBMS software. Do NOT confuse the software with a database.
This and the rest of what you post in this thread shows a real misunderstanding of how oracle in general - and tns in particular - works.
I suggest you start here > http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/, and then follow up with some time spent in the manual of Concepts to tahiti.oracle.comWhen I check using lsnrctl status, is the location of listener.ora:
D:\ORACLE\db\product\11.2.0\dbhome_1\network\admin\listener.oraand my listener entries are in the file D:\ORACLE\db\product\11.2.0\dbhome_1\network\admin\listener.ora...
and I was checking the D:\ORACLE\db\product\11.2.0\dbhome_1\network\admin\listener.ora file and give the same entries...
I'm always confused with this problem
-
Able to connect to SQL Developer but not a toad - ORA-12154: TNS
My workplace uses TOAD as standard SQL tool to run against Oracle, although I prefer test and use SQL developer.
When you try to connect to a database in TOAD I get the following error
ORA-12154: TNS: could not resolve service name
I'm using the TNSNAMES file. ORA and I am able to connect through SQL Developer, no problem.
Also in the same file, I'm able to connect to the other TNS names, but all just not this one it seems.
I find it very strange, because it seems that for this name TNS one, I specifically can not connect through TOAD
I can connect to any other AMT via TOAD, and I can connect through SQL developer
I also tried a TNSPING and his returning in OK for the server and the connection seem just.
I am trying to connect to an Oracle 10 g with TOAD version 8.0.0.47 Server
Any ideas appreciated!I'm doing this from memory, but...
Oracle 10g database with TOAD version 8.0.0.47
I believe that your version of toad is too low for this version of Oracle. You should be able to confirm with QUEST software.
Best regards
mseberg
I found the page "which versions of Oracle of Toad for Oracle support?
https://support.quest.com/search/SolutionDetail.aspx?ID=SOL21018
What version of Oracle 10 is the question?
https://support.quest.com/search/SolutionDetail.aspx?ID=SOL63225&category=solutions&SKB=1
Published by: mseberg on July 22, 2011 15:47
My rule with Toad's (once you get past the version number), if you cannot connect using SQL, Toad will never work.
Published by: mseberg on July 22, 2011 15:55
-
OBIEE 11 g, ORA-12154: TNS: could not resolve the connect identifier
HI forumer,
I installed obiee 11g and I am trying to connect to oracle 11 g db installed on the same machine. I am able to create the DSN using the tnsnames.ora, but the same details used with obiee work not and fails with:
ORA-12154: TNS: could not resolve the connect identifier
Appreciate any help in this.
Thank youThis is a change in behavior when we have 10g and 11g. In BI EE 10 g, there was no Oracle Client delivered with BI EE. Thus, BI EE will use your Oracle DB client host to connect to the database. Usually not a problem in this case. But in BI EE 11 g, the software itself contains a client of 11.2 DB. Thus, when you try to connect to the database using the repository or the BI server, it will try to find the tnsnames entry in the customer Oracle of BI EE 11 g instead of your database. There are 2 options to work around this problem
1. copy your tnsnames.ora {Oracle_BI1} \network\admin directory & {oracle_common} \network\admin directory (only the first is necessary because it is the ORACLE_HOME)
2. or instead of the source tnsnames.ora entry, use the full expanded tnsnames as shown below
(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.66.173)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl)))
Both of the above will work.
Ref: Re: unable to connect to the database of the OBIEE 11g improved SPR
Courtesy of - Vincent.Thank you
Oldia... -
All,
Help, please. I get the error above despite all I know to do:
tnsnames.ora entry for the remote database (it is what is on the local database):
ORACLE6. STAGING =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle6.staging.hobank.net) (PORT = 1521))
)
(CONNECT_DATA = (SERVICE_NAME = banksys))
)
The following works without problems of local database to a remote database:
On the local database:
sqlplus kay/[email protected]
...
...
Connected to:
Oracle Database 10 g Enterprise Edition Release 10.2.0.2.0 - 64 bit Production
With partitioning, OLAP and Data Mining options
SQL > select * from emp;
EMPNO, ENAME, JOB HIREDATE SAL COMM MGR
---------- ---------- --------- ---------- --------- ---------- ----------
DEPTNO
----------
2 Kay Baffy DBA 1 6 November 10 50000.25
2
* These data are correct and comes from the remote database *.
Next, I created the database link that is connected to the local database:
create the database public link oracle6.staging
connect to identified by kay kay
using 'oracle6.staging ';
Database link created.
!!! But the following does not work:
SQL > select * from [email protected];
Select * from [email protected]
*
ERROR on line 1:
ORA-12154: TNS: could not resolve the connect identifier specified
I am sure of the following:
1 DB link has been created on the local database.
2 oracle6.staging entry is tnsnames.ora
3. I am able to connect to a remote database with: sqlplus kay/[email protected]
* Any help will be be appreciated.* *.
Thanks in advance.
BaffySee the link:-hope, it will be useful for you.
Troubleshooting of database links
http://www.akadia.com/services/ora_dblinks.htmlKind regards
-
ORA-12154: TNS: could not resolve the connect identifier specifier (XE)
Hello
«I installed on my laptop with win 7 Oracle Database 10g Release 2 (10.2.0.1) Express Edition for Microsoft Windows, but when I tried to connect with Toad for Oracle Freeware 10.6 I get the following error ' ORA-12154: TNS: could not resolve the connect identifier specifier (XE)» I read on the forum that the problem comes from the wrong configuration of the AMT.
This is rhe tnsping respons
"C:\Users\Sergiu > tnsping XE.
AMT Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 13-NOV-2
010 15:20:10
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Use settings files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Sergiu-PC) (p)
(ORT = 1521)) (CONNECT_DATA = (SERVER = dedicated) (SERVICE_NAME = XE)))
OK (0 msec)
"
EARPHONE
"
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(= Extproc PROGRAM)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(= Extproc PROGRAM)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP) (HOST = Sergiu-PC)(PORT = 1521))
)
)
DEFAULT_SERVICE_LISTENER = (XE)
"
SQLNET
"
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.
SQLNET. AUTHENTICATION_SERVICES = (NTS)
"
TNSNAME
"
XE =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = Sergiu-PC)
(PORT = 1521)
)
(CONNECT_DATA =
(SERVER = dedicated)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = EXTPROC_FOR_XE)
)
(CONNECT_DATA =
(PRESENTATION = RO)
(SID = PLSExtProc)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = EXTPROC_FOR_XE)
)
(CONNECT_DATA =
(PRESENTATION = RO)
(SID = CLRExtProc)
)
)
"
Can someone tell me what is the problem?
Best regardsIt can be caused by the location of the TOAD software. The have you installed under "Program Files (x 86)? If Yes, then try to reinstall in a different directory, media in the path name can cause problems.
-
Greetings
There are a lot of topics about this problem on the internet, but none of them deal with this issue properly, so I couldn't find a solution to the problem.
I installed: Oracle Database 10 g Express Edition
After that the installation was done, I opened the SQL command line
and I used the command "connect" to connect
I enter username
Then I entered the password
After a few seconds, I got the following error message:
ORA-12154: TNS: could not resolve the connect identifier specified
Screenshot of the error:
http://I35.Tinypic.com/14o26g7.PNG
I installed this version of Oracle on Windows XP 32 bit and Windows 7 32 bit and I get the same error message when it tries to connect.
Why Oracle does not immediately after installation?
Are there other measures that need to be accomplished in order to make this work? If so I'd appreciate any help step by step, I was stuck trying to find a solution for days.
Published by: user10192105 on August 22, 2010 19:34>
I was able to connect using the above command, but I would like to know why can't connect using a user name and password? I still cannot connect using a user name and password even after the environment variable.
>The problem is that the normal user accounts are either locked, you use is maybe not the right password or they may not have the necessary privileges to establish a session (there are a number of reasons).
Since you are in the console database, you don't need the environment variable set. SQL * Plus Gets the location of your database in the registry.
Make the alter statement that I posted earlier for a user which you know that there is and we'll take it from there.
John.
-
A question about the CREATE DATABASE LINK PUBLIC and ORA-12154 error
Hi all
I have a problem on the public database link creation and I would be grateful if you could kindly give me a helping hand. I have the following connection settings in my
tnsnames.ora file:
Having the above mentioned parameters, I can connect to this remote database directly in a SQL * more shell:... DGPAPROD.WORLD = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY=tcp.world) (PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521) ) ) (CONNECT_DATA = (SID = DGPAPROD)) ) ...
It works pretty well and the connection is established without any problem.$ sqlplus username/[email protected]
Now, what I want to do is to create a public database of this remote database link to avoid the user/connection of switch for the visualization of the
the content of this database. I proceeded in line with the syntax indicated in the Oracle online documentation:
http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205
This is why I run the following to create a public database link
Apparently there is no error and the link is created successfully. However, it cannot resolve the remote host and every time I run this queryCREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';
(myenterprise is the name of a table in the remote database)
What causes this problem?SELECT * FROM myenterprise@SR001_dblink ERROR at line 1: ORA-12154: TNS:could not resolve the connect identifier specified
Thanks in advance,
Kind regards
DariyooshYou must have defined DGPAPROD. WORLD in tnsnames.oar on the server where DB is runnig.
-
sqlplus ORA-12154: TNS: could not resolve the connect identifier specified
Hello
I am not able to connect to the database using sqlplus, using following command:
sqlplus activites@OCA010
I get the error message "ORA-12154: TNS: could not resolve the connect identifier specified.
I tried to connect by providing the full as connection string: "" sqlplus activities / [email protected]:1521 / compix "and he succeeded."
I also tried to connect using sql developer by providing network TNS alias 'OCA010' it is also successful.
Someone could please help out here and let me know how can I connect using sqlplus using aliases TNS network.
content of the tnsnames.ora file is as follows
tnsnames.ora # Network Configuration file: D:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
COMPIX =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = compix)
)
)
BC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BC)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
OCA01 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OCA01)
)
)
OCA010 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.10.3)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = compix)
)
)
Thanks in advance.
2931143 wrote:
Hi EdStevens,
I used option TNS with Alias network as 'OCA010' in Sql Developer.
I checked in tnsping and tnsnames.ora directory is correct.
Please find below the exit of tnsping:
C:\Users\LUCKY>tnsping OCA010
AMT Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on October 29, 2015 21:07:38
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Use settings files:
D:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
AMT-03505: failed to resolve the name
Have you worked from the link I provided? (I don't think you have time to do).
It is possible that your tnsnames.ora is corrupted by some weird characters printable somewhere. In some versions of the oracle, he might be sensitive to spaces vs. tabs. If in doubt, netca to add entries, rather than doing it by hand.
Maybe you are looking for
-
Strong ability to wide band Mobile X121e
Hello I was wondering if anyone can help, I am looking to buy a Lenovo x121e with the Intel i3 processor. However I have a query regarding 'Integrated Mobile Broadband' when I customize the machine there are two options. 1. "integrated Mobile Broadba
-
Button "Exit", used in several images of the sequence
I hope that there is a more elegant way to do... See the VI attached for a much simplified program that is typical of what I am trying to accomplish. Basically I have a button that I want available in several images in the sequence. In this case, I
-
Printing with Windows Live Photo Gallery and Windows Photo Viewer
When you try to print in the above programs (Windows 7 replacements for the old photo and Fax Viewer), there are several issues that I can't understand: 1. I can't find paper of A4 size, only in small sizes. 2. There is only a single print option: '
-
DSLR A77 &; HVL-F43AM problem
Since upgrading my Sony DSLR A77 firmware 1.07, I seem to be having problems with it accepts not that my Flash HVL-F43AM is loaded. My flash is fully charged the battery, but my camera indicates that it is in charge, only on occasions it will walk, b
-
I changed somhow setting folder zipped removable zipped files to adobe reader and internet explore and I think it's by using the open with option and I need to reset the zipped folder that looks like a folder with a zipper that can be extracted, so I