TNS: Protocol Adpater Error on installation of AS 10.1.2 on MS Vista home
Hi,
I am trying to install for personal learning purposes, Oracle AS10g (10.1.2) on MS Vista home premium.
While installing Infrastructure, when it goes to Configuration Assistants, I get a consistent error on the Database Configuration Assistant which fails the installation. The error is as follows:
ORA-12560: TNS:protocol adapter error
Does anyone know how to resolve it please?
many thanks,
AMN
Hi all
After a long research and help of Oracle support, the problem has been identified and put into Bug 7123031.
In case I any one is upgrading AS to 10.1.2.3 patchset & are getting the similar issue as above mentioned Bug "DML RETURNING VALUE STOPS WORKING IN FORM 10.1.2.3"
Get the patch for your OS currently.
Regards
Sanjeev
Similar Messages
-
ORA-12560: TNS: protocol adapter error while installation
Hi,
I'm a newbie..
I installed Oracle 10g to my WinXP but there is a problem with error "ORA-12560:TNS:protocol adapter error":
I can't create the starter database..when i try to do that i get the error "ORA-12560:TNS:protocol adapter error"...
i trace back the error log and find:
oracle.sysman.emca..........
SEVERE: job_queue_process must be greater than 1.
Also, in my windows services, i don't find any service with name "Oracle10g<SID>"
please help me asap.
Thanks,
PankajHi
read this article
http://www.experts-exchange.com/Databases/Oracle/Q_21148649.html
At the end, seems there is a solution for you. -
ORA-12560: TNS: protocol adapter error while linking tables in Access
One of my app dev is encountering an interesting error message while linking Oracle tables from Access. I am not able to able to reproduce this in my desktop or anywhere else. Details enclosed. Can you guys point me to a solution? Thanks in advance!
ODBC: Oracle Client version 10.2.0.1
Desktop : Win XP ; Access 2003
=>Able to login to the Oracle database sucessfully using sqlplus.
=>Able to create an ODBC datasource to Oracle database.("Test Connection" works fine)
=>But encountering the TNS protocol adpater error while linking the table(Access->File->Get External Data-> Link tables).
=>Not able to link any table in any schema in any Oracle database. Hence this is not a data centric issue.
What did I do?
=> Uninstalled Oracle 8 client and installed Oracle 10 client. No luck. Encountering the same error.
=> Turned on the ODBC trace and reproduced the error. The log is enclosed:
MSACCESS 79c-ed4 ENTER SQLAllocEnv
HENV * 0013C620
MSACCESS 79c-ed4 EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS)
HENV * 0x0013C620 ( 0x09d31788)
MSACCESS 79c-ed4 ENTER SQLAllocConnect
HENV 09D31788
HDBC * 0013C730
MSACCESS 79c-ed4 EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC * 0x0013C730 ( 0x09d31830)
MSACCESS 79c-ed4 ENTER SQLSetConnectOption
HDBC 09D31830
SQLINTEGER 103 <SQL_LOGIN_TIMEOUT>
SQLPOINTER 0x00000014
MSACCESS 79c-ed4 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
HDBC 09D31830
SQLINTEGER 103 <SQL_LOGIN_TIMEOUT>
SQLPOINTER 0x00000014 (BADMEM)
MSACCESS 79c-ed4 ENTER SQLSetConnectAttrW
SQLHDBC 09D31830
SQLINTEGER 30002 <unknown>
SQLPOINTER [Unknown attribute 30002]
SQLINTEGER -3
MSACCESS 79c-ed4 EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 09D31830
SQLINTEGER 30002 <unknown>
SQLPOINTER [Unknown attribute 30002]
SQLINTEGER -3
MSACCESS 79c-ed4 ENTER SQLDriverConnectW
HDBC 09D31830
HWND 001D04E4
WCHAR * 0x74329A38 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x74329A38
SWORD 2
SWORD * 0x00000000
UWORD 1 <SQL_DRIVER_COMPLETE>
MSACCESS 79c-ed4 EXIT SQLDriverConnectW with return code -1 (SQL_ERROR)
HDBC 09D31830
HWND 001D04E4
WCHAR * 0x74329A38 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x74329A38
SWORD 2
SWORD * 0x00000000
UWORD 1 <SQL_DRIVER_COMPLETE>
DIAG [S1000] [Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error (12560)
DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE8B8
SWORD 4095
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (12560)
WCHAR * 0x047EE8B8 [ 126] "[Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error\ a\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0"
SWORD 4095
SWORD * 0x0013C624 (126)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE950
SWORD 4019
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (0)
WCHAR * 0x047EE950 [ 66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
SWORD 4019
SWORD * 0x0013C624 (66)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE9E6
SWORD 3944
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (0)
WCHAR * 0x047EE9E6 [ 66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
SWORD 3944
SWORD * 0x0013C624 (66)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EEA7C
SWORD 3869
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 100 (SQL_NO_DATA_FOUND)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EEA7C
SWORD 3869
SWORD * 0x0013C624
MSACCESS 79c-ed4 ENTER SQLFreeConnect
HDBC 09D31830
MSACCESS 79c-ed4 EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS)
HDBC 09D31830
Edited by: user5598619 on Feb 10, 2009 5:37 PMThanks a lot for your quick reply.
I've read all the posts mentioned (quite a few more) but I couldn't find any suggested solution to the "non-oracle10g"-problem other than using the global db name instead of the sid - which didn't help in our case:
However, in a last desperate attempt to solve the problem on my own before launching another cry-for-help-post I did try running the configuration assistant using the correct password for the SYS user 8-} and - strange but true - it did work :-)
Needless to say: I used the global db name of course, so I can't say what would have happened without it, but I trust your hint was a legitimate one.
Anyway - I gues that error Message concerning a "non-oracle10g database" was slightly misleading in this case.... grrrr.
Andreas -
Folks,
Hello. Initially, my Windows XP host name is "localhost" and IP address 127.0.0.1.
I installed Oracle Database 11g with Windows XP successfully and all Database clients work with Database instance correctly.
For some reasons, I uninstalled the entire Database Server and delete the entire installation directory /oracle.
I configured Windows XP IP address into 192.168.196.101 in order to ping other machines.
For my need, I installed Oracle Database 11g with Windows XP again. On step 7 of 8: Oracle Database Configuration Assistant, I got this error:
ORA-12560:TNS: protocol adapter error.
I click "Password Management" button, there are no rows in this Windows (no username, no lock accounts).
I check listener as below:
C:\>lsnrctl
LSNRCTL>start
Its output: listener name LISTENER has already been started.
LSNRCTL>status
Its output: ......Service DB1 has 1 instance. Instance DB1 status ready. The command completed successfully.
I check \Oracle\cfgtoollogs\dbca\DB1\trace file, the entry is :
listen[0]=LISTENER address=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(port=1522))
I also check \oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\SAMPLE\tnsnames.ora file and listener.ora file, the entries are the same as below
HOST=localhost port=1522
I think HOST=localhost and port=1522 is the cause of the error ORA-12560 because Windows XP has been configured into HOST=192.168.196.101.
But I don't understand how to solve this issue.
Can any folk tell me how to solve this issue ? need to cancel the installation on step 7 of 8 and install it again ?
Thanks.Folks,
Hello. Oracle Database 11g Installation Wizard is on step 7 of 8. I don't cancel the Wizard. I am not sure whether there is effect or not. listener.ora is not removed. I have been waiting for a while after stop listener. I run the 3 commands again and copy the result as below:
C:\>lsnrctl stop
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:32
:14
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error
C:\>
C:\>
C:\>
C:\>
C:\>
C:\>lsnrctl start
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:33
:04
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
System parameter file is C:\SecondTime_OracleDatabase_Install_Directory\product\
11.2.0\dbhome_1\network\admin\listener.ora
Log messages written to c:\secondtime_oracledatabase_install_directory\diag\tnsl
snr\user-19yyar8x0d\listener\alert\log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522
ipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 14-AUG-2013 19:33:07
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\SecondTime_OracleDatabase_Install_Directory\product
\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File c:\secondtime_oracledatabase_install_directory\diag\tn
slsnr\user-19yyar8x0d\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\>
C:\>
C:\>
C:\>
C:\>lsnrctl service
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:36
:37
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "DB1XDB" has 1 instance(s).
Instance "DB1", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: user-19YYAR8X0D, pid: 120>
(ADDRESS=(PROTOCOL=tcp)(HOST=user-19yyar8x0d)(PORT=1051))
Service "DB1" has 1 instance(s).
Instance "DB1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:19 refused:0 state:ready
LOCAL SERVER
The command completed successfully
C:\>
As we see, listener.ora file is not removed by Stop command. I am on the installation Wizard. How to solve this issue ?
Thanks. -
ORA-12560 TNS protocol Adapter error in 11g (11.1.0.6)
Hello All,
I have Oracle 11g installed on my machine and when i tried to log in to sql plus i got the error below:
ORA-12560 TNS protocol Adapter error
By setting the ORACLE_SID = orcl by browsing to the bin directory of Oracle Installation the above error disappaears and i am able to log in from sql plus.
My intention is to create a db backup for which i am trying to use the exp command...this time the same error appears.
Also the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
Can anybody please help me out find a good solution for this?
Any help would be appreciated friends.....
Thanks in Advance!!!!!
Regards.
AliciaAlso the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
Can anybody please help me out find a good solution for this?The solution depends on your (not specified) operating system...
Anyway, if you have more than one database it's normal that you have to set ORACLE_SID, if not how can Oracle know which database you want to access to ?
You can create batch files, one per database, or you can use connection strings, e.g. sqlplus username/password@<DB>. -
TNS-12560: TNS:protocol adapter error Windows XP
have Oracle 9i and 10g installation on Windows XP
trying to start listener
lsnrctlLSNRCTL> start
Starting tnslsnr: please wait . . .
Failed to start service, error 1058.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 1058: Unknown error
Any suggestions for how to fix this error?What's the status of the corresponding Windows service? OS error 1058 means normally service is deactivated. In the worst case it could be necessary to remove the service from the registry. Afterwards reboot the machine and recreate the service by 'lsnrctl start'.
Werner -
ORA-12560 TNS:Protocol Adapter Error and ORA-12557 Error
Hello ,
I have installed Oracle 11.2.0 64 bit database on my Windows 7 ( Home Premium) PC which is also 64 bit. I installed it because I am trying to setup Informatica. Later, I learnt that informatica is 32 bit and can not communicate to Oracle 11.2.0 64 bit database. So after digging through solutions, someone mentioned that I need to install Oracle 11g client 32bit.
I have installed 11g client software successfully now. Here is problem though :
When I launch SQL-Plus from 11g database , it works fine. However I launch SQL-Plus from 32bit client it gives me error as :
Ora-12560 :TNS: Protocol Adapter Error.
So I have been trying to resolve this error. I saw that this question has been posted many many times and have tried many thing as listed below :
1. copy tnsnames.ora from database ( dbhome_1) to client installation ( client_1 ) under ..\network\admin\ --- Didn't work.
2. Set $ORACLE_HOME and $ORACLE_SID environment variable.
Here is interesting fact - If I set $ORACLE_HOME to database path and not client path error changes to :
ORA-12557 TNS: Protocol adapter not loadable.
If I keep $ORACLE_HOME as client path then I get same error as earlier ORA-12560.
3. I have also tried changing $PATH variable. I did set to path containing only database installation, only client installation, both database and client installation with database installation appearing first
But all of these haven't worked.
Can anyone please suggest what I am missing and any further things I could try ?
Thank you in advance !982090 wrote:
Hello ,
I have installed Oracle 11.2.0 64 bit database on my Windows 7 ( Home Premium) No oracle product is certified to run on any 'home' edition of any version of Windows.
PC which is also 64 bit. I installed it because I am trying to setup Informatica. Later, I learnt that informatica is 32 bit and can not communicate to Oracle 11.2.0 64 bit database.If the connection is via TNS, the bit architecture shouldn't matter.
So after digging through solutions, someone mentioned that I need to install Oracle 11g client 32bit.
I have installed 11g client software successfully now. Here is problem though :
When I launch SQL-Plus from 11g database , it works fine. However I launch SQL-Plus from 32bit client it gives me error as :
Ora-12560 :TNS: Protocol Adapter Error.
So I have been trying to resolve this error. I saw that this question has been posted many many times and have tried many thing as listed below :
1. copy tnsnames.ora from database ( dbhome_1) to client installation ( client_1 ) under ..\network\admin\ --- Didn't work.
2. Set $ORACLE_HOME and $ORACLE_SID environment variable.
Here is interesting fact - If I set $ORACLE_HOME to database path and not client path error changes to :
ORA-12557 TNS: Protocol adapter not loadable.
If I keep $ORACLE_HOME as client path then I get same error as earlier ORA-12560.
3. I have also tried changing $PATH variable. I did set to path containing only database installation, only client installation, both database and client installation with database installation appearing first
But all of these haven't worked.
Can anyone please suggest what I am missing and any further things I could try ?
Thank you in advance !unfortunately, we need to know exactly how you tried to connect with sqlplus when it "worked" and when it "didn't work". The key to the reported error messages is highly dependent on the environment settings AND the specification of the connect string. A copy and paste of the entire command line session would be most helpful.
But again, running on any 'home' edition of windows is not supported. -
Hi Oracle Guru's,
Please save my life from this typical yet known problem.
I got an old backup on my tapes about 3 years older. I have windows server 2k where I have an access remotely through RDP(Citrix-CuraStore).
I installed oracle8i 32 bit on Windows 2k though it got stuck at the end where it installs optional tools(like Net8i assistant), so i closed the installation session, Because I could see Net8i assistant,dbca etc was installed on machine.
I checked my services, found it had started the Listerner8i service.
To create a database, I tried to happen it through DBCA...but unfortunately it gave error(ORA-12560 "TNS protocol adapter error"), I ignored it ...but it didnt move to next step...completely stuck up..So closed the session.
I tried with ORADIM to create service, It did happen, services for database was created, I setup the environment(SID,HOME,PATH) etc.
When I login with sqlplus , it gives again the same error(ORA-12560 "TNS protocol adapter error"), I tried many things like TCP/IP traffing disabling etc..Nothing worked.
Can some one please help me and give me some out of box solution..I shall be really really thankful to them.
Regards,Sorry, If I missed to update you back..I apologize.
Two services(Database Service : OracleServicetest and OracleOraHome81TNSListenerLISTENER_TEST both are up...checked from SERVICES.MSC
listener is up, I can ping the Hostname perfectly.
Is there any other service I need to look into.
Please find the below log as reference for TEST database.
C:\Documents and Settings\Administrator>hostname
srvdba02
C:\Documents and Settings\Administrator>ping srvdba02
Pinging srvdba02 [10.241.24.54] with 32 bytes of data:
Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
Ping statistics for 10.241.24.54:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\Administrator>
C:\Documents and Settings\Administrator>lsnrctl status LISTENER_TEST
LSNRCTL for 32-bit Windows: Version 8.1.7.0.0 - Production on 28-SEP-2013 23:43:01
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Kobler til (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.241.24.54)(PORT=1523)))
STATUS FOR LYTTERPROSESS
Tilnavn LISTENER_TEST
Versjon TNSLSNR for 32-bit Windows: Version 8.1.7.0.0 - Production
Startdato 28-SEP-2013 23:19:31
Oppetid 0 dager 0 t. 23 min. 29 sek
Sporingsnivσ off
Sikkerhet OFF
SNMP OFF
Lytterens parameterfil C:\oracle\ora81\network\admin\listener.ora
Lytterens loggfil C:\oracle\ora81\network\log\listener_test.log
Tjenesteoversikt...
test har 1 tjenestebehandler(e)
Kommandoen ble utf°rt
(It means test database has i service handler)..
C:\Documents and Settings\Administrator>tnsping test
TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 28-SEP-2013 23:43:17
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=10.241.24.54)(PORT=1523))
Ok (10 msek) -
Ora-12560 tns protocol adapter error (can connect with cmd line creds only)
SQLPLUS returns the following when trying to log in with user/pass:
ora-12560 tns protocol adapter error
Have tried setting ORACLE_SID=VMFG, etc, before launching SQLPLUS, still does not work, though if I do this:
SQLPLUS SYSADM/SYSADM@db1/VMFG
it works, which is probably something to do with tnsnames.ora or sqlnet.ora which I copied from our database server? I added the SYSADM/SYSADM account and gave it db rights to VMFG (the db name).
This is a new installation. What am I doing wrong? tnsping db1 returns pongs, testing the service with the oracle client returns success when I change the u/p to SYSADM/SYSADM. Thanks in advance!
[sqlnet.ora file]
# sqlnet.ora Network Configuration File: /oracle/db_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
[tnsnames.ora file]
# tnsnames.ora Network Configuration File: /oracle/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
VMFG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db1.dc.inc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = VMFG)
Edited by: 794609 on Sep 13, 2010 8:31 PMClient machine that I am working on with the SQLPLUS error is Windows XP running the 11g client. Server is Linux (Ubuntu 10) running 11g
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for Linux: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
uid=1001(oracle) gid=1001(oinstall) groups=1001(oinstall),1002(dba),1003(oper)
_=/bin/sh
BLOCKSIZE=K
EDITOR=vi
ENV=/home/oracle/.profile
HOME=/home/oracle
LANG=en_US.UTF-8
LD_LIBRARY_PATH=lib:/usr/lib:/usr/local/lib:/oracle/db_1/lib
LOGNAME=oracle
MAIL=/var/mail/oracle
MANPATH=/usr/man:/usr/share/man:/usr/X11R6/man:/usr/openwin/man:/usr/local/man:/usr/news/man
MOZILLA_HOME=/usr/X11R6/lib/netscape
MOZILLA_NO_ASYNC_DNS=True
ORACLE_HOME_LISTNER=/oracle/db_1
ORACLE_HOME=/oracle/db_1
ORACLE_HOSTNAME=db1
ORACLE_SID=VMFG
PAGER=more
PATH=/dc/bin:/usr/local/bin:/usr/ucb:/usr/ccs/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/openwin/bin:/usr/secure:/usr/secure/bin
:/usr/local/nwlink/bin:/usr/local/nwlink/scripts:/usr/local/secure:/usr/X11R6/lib/netscape:/usr/contrib/bin:/usr/lib:/usr/local/mysql/bin:/usr/local/sbin:
/usr/lib/jre:/usr/lib/jre/bin:/usr/lib/jre/ant/bin::/usr/lib/jre/jmeter/bin:/usr/local/pgsql/bin:/opt/kde:/opt/kde/bin:/usr/local/mrtg-2/bin:/oracle/db_1/
bin:.
PWD=/home/oracle
SHELL=/bin/ksh
TERM=screen
USER=oracle
VISUAL=vi
XDG_SESSION_COOKIE=ab09d2422fd4935e2707cac30000000d-1284435625.90759-907620663
10.0.2.155 ubuntu # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
::1 ubuntu localhost6.localdomain6 localhost6
127.0.1.1 ubuntu
10.0.2.65 db1.dc.inc db1 dc
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Linux db1 2.6.35-20-generic #29-Ubuntu SMP Fri Sep 3 14:55:28 UTC 2010 x86_64 GNU/Linux -
ORA-12560: TNS protocol adapter error for 11g
I'm attempting to install Oracle 11g in my Windows 2008 Doamin machine.
During the installation of database configuration assistant, I got the
pop up error "ORA-12560: TNS protocol adapter error." I tried it
twice and still failed. I have no idea what's going on. Any ideas?01034, 00000, "ORACLE not available"
// *Cause: Oracle was not started up. Possible causes include the following:
// - The SGA requires more space than was allocated for it.
// - The operating-system variable pointing to the instance is
// improperly defined.
// *Action: Refer to accompanying messages for possible causes and correct
// the problem mentioned in the other messages.
// If Oracle has been initialized, then on some operating systems,
// verify that Oracle was linked correctly. See the platform
// specific Oracle documentation. -
ORA-12560: TNS:protocol adapter error in 8i database.
Hi all,
Need your suggestion
This is a new Installation on Windows 2003 and I need to create a new database called xxxxxx.
I checked lsnrctl status is up and running
ORACLE_HOME: D:\oracle\ora817\
ORACLE VERSION: 8.1.7.0.0
C:\Documents and Settings\ora817>set oracle_sid=xxxxxx
C:\Documents and Settings\ora817>svrmgrl
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
ORA-12560: TNS:protocol adapter error
SVRMGR>
Thanks, Muhammed.Hi Sathish,
Here is the output as per your suggestion,
C:\Documents and Settings\ora817>net start oracleserviceORMAN
The requested service has already been started.
More help is available by typing NET HELPMSG 2182.
C:\Documents and Settings\ora817>set oracle_sid=ORMAN
C:\Documents and Settings\ora817>svrmgrl
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
ORA-12560: TNS:protocol adapter error
SVRMGR>
I have taken RDC to connect to the server and its a vmware machine.
Thanks, Muhammed. -
ORA-12560:TNS protocol adapter Error while upgrading oracle 8i to Oracle 9i
Hi,
I am updrading My oracle 8i setup to Oracle 9i in the Windows operaton System.During the upgradation in the Database upgrade Assistant,The installer asked for the system authetication for upgrading the existing database.After proving the Username and password i am getting an error as ORA-12560:TNS protocol adapter Error .Please help me about what do I need to modify.
Thanks in Advance,
AnjelaHi,
Here are the output
SQL> select * from v$version;
BANNER
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
PL/SQL Release 8.1.7.0.0 - Production
CORE 8.1.7.0.0 Production
TNS for 32-bit Windows: Version 8.1.7.0.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
SQL> select version from v$instance;
select version from v$instance
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select comp_id,version,status from dba_registry;
select comp_id,version,status from dba_registry
ERROR at line 1:
ORA-00942: table or view does not exist
Thanks,
Anjela -
ORA-12560: TNS:protocol adapter error Oracle 10G
hi,
I just installed Oracle 10G Express Edition. Installation was successful, when I tried to connect the database using
Scott/tiger or hr/hr it does not Connect and throwing an exception :
ORA-12560: TNS:protocol adapter error
How can I get rid of this error to connect to the database.
I am using Windows Vista 64 Bit OS....
Thanks
SUDHEER
Edited by: user9274918 on Mar 4, 2010 8:49 PMuser9274918 wrote:
I am using Windows Vista 64 Bit OS....IF you are using DHCP to get the IP address, and you have not installed the Microsoft Loopback Adapter, the chances are very high that you will get 12560.
It is also possible to get that message is you are not using the same adapter (or do not have networking) when the listener attempts to start or when trying to connect.
Post the results of
ipconfig /all
lsnrctl status
and the contents of the listener.ora and tnsnames.ora found in the %ORACLE_HOME%\network\admin directory
And tell us what steps you skipped/missed in the install doc at http://www.oracle.com/pls/xe102/homepage -
Ora 12560 - TNS Protocol Adaptor Error
Hi .
I have downloaded Oracle 11 g from Oracle .com
After installation i started Command line for oracle
Used c:\> sqlplus
After entering username and password which i set at the time on installation
I got error
ORA 12560 : TNS Protocol Adaptor error
Any idea....
ThanksHello,
You may set the ORACLE_SID first:
set ORACLE_SID=XE
sqlplus user/passwordElse, check for the Service OracleServiceXE in the Control Pannel. It should be started.
Hope this help.
Best Regards,
Jean-Valentin -
To answer the post from Manwendra Jun 20, 2013 7:17 AM
" TNS:protocol adapter error while starting Listener created by Oracle SES11.1.2.2 Setup "
https://community.oracle.com/message/11077982#11077982
Hello,
Probably that you already have the listener up and running from your installation of SES.
Also, you could check in your Windows Services (from the Control Panel), you'll see that
there is a service like OraclesesTNSListener up and running.
If it is the case, then it's probably why it is telling you the message below when trying to start it again:
TNS-01106: Listener using listener name LISTENER has already been started
Then, before trying to start the listener, you can check if it is already up by running the command : lsnrctl status
If you need to shut it down, then you can run the command : lsnrctl stop
for example, from the command line:
> set ORACLE_SID=ASUSES
> set ORACLE_BASE=D:\ses\
> set ORACLE_HOME=D:\ses\seshome
> cd %ORACLE_HOME%/bin
> lsnrctl status <== this will give you the status of your listener
> lsnrctl stop <== this will stop your listener
> lsnrctl start <== this will start your listener
Hope this can help you and others.
Regards,
-Stephani have done that. i copied the tnsnames.ora, sqlnet.ora, listener.ora files from the c:>oracle-home\network\admin folder into oracle_devhome\network\admin folder. i have also set the environment variable oracle_sid=skoolman. skoolman is my sid as you can see on the tnsnames.ora. but the error massage still comes up as soon as i run forms from the forms builder environment.
but as i said i am able to connect to the database with my user name and pass word from within the forms builder environment to access my tables and create data blocks etc but as soon as i run the form through internet explorer the forms servlet boots up and the error massage ora-12560 tns protocol adapter error pops up.
thanks guys for your heip. please i need more solutions
Maybe you are looking for
-
Hi Gurus, Can anyone help me in understanding all the below related in oracle 11G B2B 1. While creating a document type, we have a parameter called FA on ERROR, What is FA on error? 2.while creating a channel for remote trading partner we have an opt
-
Multiple kinect V2's where there field of views dont overlap.
I know that similar questions like this have been asked before so bear with me. I want to get 2 kinect V2 sensors running on one PC. These 2 Kinect v2 sensors will be mounted on the same machine but one sensor will monitor the infeed of the machine
-
I installed the latest version of ibooks on my ipad. I have about 50 different collections of scanned pdf's. I can only view up to the letter M. Any idea where the rest went? These are client files. Help!!!
-
Hi, I´m runnig weblogic8.1 and trying to invoke the snmpv1trap as described in the oracle documentation (after setting the environment setWLSEnv.sh). After invoking the command "java snmpv1trap " the following error occurs: Exception in thread "main"
-
Build my own interface to NAT9914 on aa ADSP2191 based system (analog devices)
Hi, I have to build software drivers and interfaces to for a board that based an ADSP2191 ( Analog devices) with a NAT9914 as Gpib interface . I have also a SRAM where the NAT9914 registers are mapped . I should build only asimple software who is abl