Ora-12560
Hi friends,
I've installed Oracle 11g (win32_11gR1_database_111070) on windows 2008 server, also created a test database during the installation ( I selected standard edition). The installation went through successfully and the test database was created successfully.
Now, I'm trying to create another database using dbca, when I click ok finally to create the database, I get this error ORA-12560: TNS:protocol adapter error. I checked the lsnrctl status, listener is running..
C:\>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 24-NOV-2009 08:06
:24
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Produ
ction
Start Date 23-NOV-2009 11:32:07
Uptime 0 days 20 hr. 34 min. 19 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\11.1.0\db_1\network\admin\listener.o
ra
Listener Log File c:\oracle\diag\tnslsnr\Lincoln\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=aris.se)(PORT=1521))
Services Summary...
Service "test" has 1 instance(s).
Instance "test", status READY, has 1 handler(s) for this service...
Service "testXDB" has 1 instance(s).
Instance "test", status READY, has 1 handler(s) for this service...
Service "test_XPT" has 1 instance(s).
Instance "test", status READY, has 1 handler(s) for this service...
The command completed successfullyPlease give me your thoughts.. thanks
Sorry, it was because the sqlnet.ora had SQLNET.AUTHENTICATION_SERVICES= (NTS) and when I commented it out, I ran the dbca again, getting this error now..
ORA-01031: insufficient privileges
Any suggestions please?? Listener is running and I'm able to login to my test database fine. Thanks
Similar Messages
-
Error ORA-12560 prompts when trying to log in to the Enterprise Manager
Hi all,
I am a newbie to Oracle.
Just installed the Oracle 9i Database Enterprise Edition (9.0.1) into Windows Server 2003 Standard Edition. Problem is encountered when trying to log in to the Enterprise Manager Standalone mode using either system/oracle or scott/tiger as credentials. Error "ORA-12560: TNS:protocol adapter error" prompts.
I tried to check with some configuration and see whether the services are started. Services of "OracleOraHome90TNSListener" and "OracleServiceORCL" have been started and the database exists in the dedicated directory. Environment variables of "ORACLE_HOME" and "ORACLE_SID" have been added manually as the SID is set to orcl, which I just follow what the instruction manual has stated. Moreover, I can't get access using command prompt typing "svrmgrl"; error returned stating " 'svrmgrl' is not recognized as an internal or external command, operable program or batch file."
Another information is that there is no domain set in my server. Just a server with a name being assigned in a workgroup.
Hence, would you mind please advice me what to do in order to get access into the Enterprise Manager? It's quite an urgent task.
A million thx in advance!
Best Regards,
KarenHi Jigneshrp,
Thanks for your reply.
It is checked that the listener is running and TNS name service exists. Following your advice, I did create a new listener and another name service and use them, but the same error turns out when trying to log in to the Enterprise Manager again.
Additional information to take note for is that while reconfiguring the existing listener or creating a new listener, a mesage prompts stating "The information provided for this listener is currently in use by other software on this computer. You can proceed with the configuration as it is, but it will not be possible to start this listener until the conflict is resolved. Would you like to continue with the continue with the configuration anyway? Yes/No".
As for the reconfiguration or the new creation of TNS names service, when I am trying to test for the connection, the results in the details pane states that "Connecting... ORA-12560: TNS:protocol adapter error. The test did not succeed...."
Would you mind pls advice me on these?
Furthermore, there exist 2 questions I am wondering is that it is stated in the instruction manual that prior to the installation, a static IP should be specified for it instead of the DHCP one; hence, I wanna ask after the complete insallation, is it that the server should be running in the network, i.e. allow it to get connected with the outside network?
2nd question is that can Oracle 9i Database Server Standard Edition (9.0.1) be installed under a Windows Server 2003 Standard Edition and just a Window XP Professional?
Thanks for your reply.
Best Regards,
Karen -
ORA-12560 on Windows 2000 sp4, Pentium 4 CPU running vmware and Pent
Hello all,
I am getting ORA-12560 error running svrmgrl,sqlplus or dbca after installing 8.1.7 release 3 and patched to 8.1.7.4. My oracle_sid is set, oracle_home is pointing to the right file system. listener and database services are up and running and tnsping comes back ok. I have exhausted all metalink doc referring to ora-12560 and windows 2000. Has anyone experienced this problem before? Any help is appreciated.C:\Documents and Settings\oracle>set ORACLE_SID=test
C:\Documents and Settings\oracle>lsnrctl status
LSNRCTL for 32-bit Windows: Version 8.1.7.4.0 - Production on 29-AUG-2006 13:17:
13
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ATLBCO3DV)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 8.1.7.4.0 - Produc
tion
Start Date 29-AUG-2006 11:03:28
Uptime 0 days 2 hr. 13 min. 45 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File E:\oracle\apps\oracle\product\817\network\admin\listen
er.ora
Listener Log File E:\oracle\apps\oracle\product\817\network\log\listener
.log
Services Summary...
PLSExtProc has 1 service handler(s)
orcl has 1 service handler(s)
test has 1 service handler(s)
The command completed successfully
TNSNAMES entry:
TEST.CORP.CEFS.INT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = XXX.XXX.XX.XX)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = test)
(SRVR = DEDICATED)
) -
Unable to create database due to ORA-12560, TNS protocol adapter error
Hello,
I'm trying to create an 8.1.7.0 database on a W2k server, but it is failing because as soon as svrmgrl is launched, I get an ORA-12560, TNS: protocol adapter error:
D:\oracle\db_creation_scripts>D:\oracle\ora81\bin\svrmgrl @D:\oracle\db_creation_scripts\mterm62run.sql
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
ORA-12560: TNS:protocol adapter errorEcho ON
SVRMGR> connect INTERNAL/manager
ORA-12560: TNS:protocol adapter error
SVRMGR> startup nomount pfile="D:\oracle\admin\mterm62\pfile\initmterm62.ora"
LCC-00161: Message 161 not found; product=RDBMS; facility=MGR
My ORACLE_HOME, ORACLE_SID, and TNS_ADMIN environmental variables are correctly set, and I'm able to tnsping the listener.
I've enabled tracing, and my client trace file is:
--- TRACE CONFIGURATION INFORMATION FOLLOWS ---
New trace stream is d:\trace\client_trace.log_2084_9.trc
New trace level is 6
--- TRACE CONFIGURATION INFORMATION ENDS ---
--- PARAMETER SOURCE INFORMATION FOLLOWS ---
Attempted load of system pfile source d:\oracle\ora81\network\admin\sqlnet.ora
Parameter source loaded successfully
Attempted load of local pfile source D:\oracle\db_creation_scripts\sqlnet.ora
Parameter source was not loaded
-> PARAMETER TABLE LOAD RESULTS FOLLOW <-
Successful parameter table load
-> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
TRACE_DIRECTORY_SERVER = d:\trace
TRACE_DIRECTORY_CLIENT = d:\trace
NAMES.DIRECTORY_PATH = (TNSNAMES, HOSTNAME)
SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
TRACE_FILE_CLIENT = client_trace.log
TRACE_FILE_SERVER = server_trace.log
SQLNET.AUTHENTICATION_SERVICES = (NTS)
TRACE_UNIQUE_CLIENT = on
TRACE_LEVEL_CLIENT = ADMIN
TRACE_LEVEL_SERVER = ADMIN
--- PARAMETER SOURCE INFORMATION ENDS ---
--- LOG CONFIGURATION INFORMATION FOLLOWS ---
Log stream will be "D:\oracle\db_creation_scripts\sqlnet.log"
Log stream validation not requested
--- LOG CONFIGURATION INFORMATION ENDS ---
nigini: entry
nigini: Count in NI global area now: 1
nigini: Count in NI global area now: 1
nrigbi: entry
nrigbni: entry
nrigbni: Unable to get data from navigation file tnsnav.ora
nrigbni: exit
nrigbi: exit
nigini: exit
niqname: Hst is already an NVstring.
niqname: Inserting CID.
niotns: entry
niotns: niotns: setting up interrupt handler...
niotns: Not trying to enable dead connection detection.
niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleMTERM62)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=MTERM62)(CID=(PROGRAM=D:\oracle\ora81\bin\SVRMGRL.EXE)(HOST=SERV0354)(USER=tarisa))))
nsmal: 140 bytes at 0x12493f0
nscall: connecting...
nladini: entry
nladini: exit
nladget: entry
nladget: exit
nlpcaini: entry
nlpcaini: prg =
nlpcaini: arg[0] =
nlpcaini: arg[1] =
nlpcaini: exit
nsmal: 420 bytes at 0x12542f0
nsmal: 1712 bytes at 0x12572f0
nsopen: opening transport...
ntpcon: entry
ntpcon: toc = 1
sntpcall: entry
snlpcss: entry
ntpcon: exit
nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=2, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nsopen: unable to open transport
nsmfr: 1712 bytes at 0x12572f0
nsmfr: 420 bytes at 0x12542f0
nladget: entry
nladget: exit
nsmfr: 140 bytes at 0x12493f0
nladtrm: entry
nladtrm: exit
nioqper: error from nscall
nioqper: nr err code: 0
nioqper: ns main err code: 12560
nioqper: ns (2) err code: 0
nioqper: nt main err code: 530
nioqper: nt (2) err code: 2
nioqper: nt OS err code: 0
niomapnserror: entry
niqme: entry
niqme: reporting NS-12560 error as ORA-12560
niqme: exit
niomapnserror: returning error 12560
niomapnserror: exit
niotns: Couldn't connect, returning 12560
niotns: exit
nigtrm: Count in the NI global area is now 0
nnfgdei: entry
nrigbd: entry
nrigbd: exit
nigtrm: Count in the NL global area is now 0
My tnsnames, listener and sqlnet.ora files are very simple:
## BEGIN TNSNAMES.ORA
# TNSNAMES.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
MTERM62 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = mterm62)
(INSTANCE_NAME = mterm62)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = mterm62)
(PRESENTATION = http://admin)
# LISTENER.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = serv0354)(PORT = 1521))
SID_LIST_LISTENER =
(SID_DESC =
(ORACLE_HOME = D:\oracle\ora81)
(SID_NAME = mterm62)
TRACE_LEVEL_LISTENER = ADMIN
# SQLNET.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\sqlnet.ora
# Generated by Oracle configuration tools.
TRACE_DIRECTORY_CLIENT = d:\trace
TRACE_UNIQUE_CLIENT = on
TRACE_DIRECTORY_SERVER = d:\trace
SQLNET.AUTHENTICATION_SERVICES= (NTS)
TRACE_FILE_CLIENT = client_trace.log
TRACE_FILE_SERVER = server_trace.log
TRACE_LEVEL_CLIENT = ADMIN
TRACE_LEVEL_SERVER = ADMIN
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
Does anyone have any ideas what else I can check. I'm a Unix person, not a Windows person, which is making it even more complicated. If I was on Unix, I'd just blow everything away and start again from scratch, but since I'm not sure how to remove all traces from the registry, etc., I don't want to try that on this machine. There was already one other database created, but it's not goign to be used.
Any help would be greatly appreciated.
regards,
Tarisa.hi,
thanks for the info. the problem, as it turns out, was that I was connected to the db server via a terminal service (Microsoft Management Console), which for some reason caused probelms with TNS. After I connected directly to the machine using VNC, I was able to create the database with no problems. strange but true.
regards,
Tarisa. -
How to resolve the error ORA-12560 TNSprotocol adapter
I am using Oracle 9i release 2 database on my window xp machine. My database created using DBCA during installation is working fine . Now i want to create the database manually, When i set SET ORACLE_SID=newdb and try to connect to like this
c:\sqlplus /nolog
enter username:sys/sys as sysdba
gives an error ORA-12560 TNSprotocol adapter
how to resolve this errorsee this:
ERROR:ORA-12560: TNS:protocol adapter error
see post of user601010 -
ORA-12560 while creating a database
Hi,
I tried to create a Oracle Database using Oracle installer.
I got the error ORA-12560
This is part of the logfile:
INFO: Configuration assistant "Oracle Net Configuration Assistant" succeeded
INFO: Command = oracle.assistants.server.DbcaCfgPlugIn C:\Windows\system32\cmd /c call E:\app\Administrator\product\11.1.0\db_1/bin/dbca.bat -progress_only -createDatabase -templateName General_Purpose.dbc -sid labor -gdbName labor.world -emConfiguration LOCAL -datafileJarLocation E:\app\Administrator\product\11.1.0\db_1\assistants\dbca\templates -datafileDestination E:\app\Administrator\oradata -responseFile NO_VALUE -characterset WE8MSWIN1252 -obfuscatedPasswords false -sampleSchema true -recoveryAreaDestination NO_VALUE -totalMemory 818 -automaticMemoryManagement true -maskPasswords false -sysPassword ${S_SYSPASS} -systemPassword ${S_SYSTEMPASS} -dbsnmpPassword ${S_DBSNMPPASS} -sysmanPassword ${S_SYSMANPASS} ${S_SYSASMPASS} ${S_HOSTUSERPASS}
Command = oracle.assistants.server.DbcaCfgPlugIn has failed
INFO: Configuration assistant "Oracle Database Configuration Assistant" failed
*** Starting OUICA ***
Oracle Home set to E:\app\Administrator\product\11.1.0\db_1
Configuration directory is set to E:\app\Administrator\product\11.1.0\db_1\cfgtoollogs. All xml files under the directory will be processed
INFO: The "E:\app\Administrator\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
INFO:
The Runconfig command constructed is E:\app\Administrator\product\11.1.0\db_1\oui\bin\runConfig.bat ORACLE_HOME=E:\app\Administrator\product\11.1.0\db_1 MODE=perform ACTION=configure RERUN=false $*
INFO: Since there is an Internal Plugin Invocation or a Java Plugin Invocation tool in the Oracle Home E:\app\Administrator\product\11.1.0\db_1 we use the runConfig Command instead of the plugin's command
INFO: Created a new file E:\app\Administrator\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands
INFO: Since the option is to overwrite the existing E:\app\Administrator\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands file, backing it up
INFO: The backed up file name is E:\app\Administrator\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands.bak
SEVERE: OUI-25031:Some of the configuration assistants failed/cancelled. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
2. Fix the errors causing these failures.
3. Select the failed assistants and click the 'Retry' button to retry them.
INFO: User Selected: Yes/OK
Can anybody help me
Operating system Windows Server 2008
A TNSNAMES.ORA was not created even if Oracle Net Config was successful (see above)
Regards
siegwiinHi,
Make sure that you point to the right path in ORACLE_HOME directory system variable.
If you already have one ORACLE COMPONENET RUNNING (SAY 10g SOA etc). Then we need to remove the path in the variable ORACLE_HOME and point to new oracle home path.
I had the similar issue it worked me. I hope it will work for you too as well.
-- Khaleel -
11g on VMWare Not Starting Service, ORA-12560 etc.
It's obvious that my Listener is up and running but that the Oracle Service never got started. I'm using a VMware instance of Win2003 Server with Oracle 11g on it.
I'm having very similar issues to the person that wrote this:
http://www.dbasupport.com/forums/showthread.php?t=50051
ORA-12560 at service startup *** ( protocol adapter error )
I'm working on a VMware instance, and I'm not trying to connect from another machine, so I don't think I'll need a 'tnsnames.ora'.
I did review my listener.ora and sqlnet.ora
and I did adjust my hosts file (on this Win2003 Server, vmware instance), adding an entry to resolve local host and also the FQ machine name to 127.0.0.1
This I was unsure about since when I ping the FQ machine name (property of My Computer) I get a unique ip address.
There's also the VMware issues of what Ethernet connection setting to use: Bridged, NAT or Host Only.
I've tried to look at logs and config files: connection, startup, trace log, etc.
Set tracing on and saw some errors in the trace, but not sure about how to go about debugging those.
It's apparent that I'll need to start the Database with oradim or a version specific command, oradimxx but I wasn't sure what to use for my -pfile parameter, or how to create orainit.ora or configure that file.
One last thing: Previously my program group for 11g had 'Enterprise Manager' which brought up the webpage and showed that the database was up, uptime and other stats. Now that menu link has disappeared.
Any suggestions on all of these issues ? TIA.Yeah , of course Oracle offers his own hypervisor... that's one very powerful reason.
Please provide us with proper references to support your statements, we all will appreciate that.
Regards
Ignacio
[http://oracledisect.blogspot.com]
Edited by: Ignacio Ruiz on Sep 4, 2008 8:20 PM
I've found the answer on Metalink Note 249212.1, which basically says that Oracle doesn't certifies any product on any VMWare virtualization products, however Oracle will support the product isolating the relationship among operating system and the Oracle product, to known issues or not known issues BUT not related to the existence of an hypervisor layer (VMWare in this case, and distinct of Oracle VM).
In other words, if you have an issue where a certified OS+Oracle product is running over a VMWare product, you'll be lucky if the error is replicated without the VMWare product, otherwise it will be an issue induced from the hypervisor layer, therefore the hypervisor provider must solve.
Anybody interested will follow similar proceedings with another VM products like Virtuozzo (Note 412431.1), Xen (Note 417770.1), this clearly shows a commercial strategy...not technical barriers. -
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>. -
I installed 9i Developer Suite. I did not install the net configuration manger. The installation said it was not required. I am using forms builder and can compile the form. I connect to the database. However, when running the form I receive a ORA-12560 error. Also, the logon appears and I am prompted to connect to the database. Any help would be greatly appreciated.
The URL looks quite strange to me:
http://lap_top:8888/forms90/f90servlet?form=E:\cis355@userid=scott\tiger@buffer_records=no@debug_message
Looks like the "@" is used to separate the parameters which is new to me. Normally it's either "&" or "+". You can set the separator somewhere, cannot thou remember where? Registry? Also the userid isn't complete. The database name is missing, and even if it was there. How could the server know what's what? I mean, connect is done by user/pass@db, and if "@" is used as a separator...
Try this URL:
http://lap_top:8888/forms90/f90servlet?form=E:\cis355.fmx&userid=scott/tiger@orcl
Regards,
Martin Malmstrom -
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. -
SIR,
i hadbeen installed oracle aplication server.but i m not connecting to database.when i use the sql*plus.i use the user name-scott &password-tiger.i got an error ORA-12560=TNS PROTOCOL ERROR.
I M NOT ABLE TO RECTIFY ITS PROBLEM,how can i create host string in oracle application server 10g.please send reply its very urgent.
thanx ranjeetAlthough this question is completely off topic of the Personalization you can learn how to configure the SQL*Net connect from the manual by reading the topic "Configure the Client to Use a Net Service Name" found at the following link:
http://download-west.oracle.com/docs/cd/A91202_01/901_doc/network.901/a90154/gettings.htm#483215 -
How to solve ORA-12560:TNS:protocol adapter error?
I'm trying to use sqlplus on Windows 2008 R2 which is installed on VirtualBox to access an Oracle 11gR2 database on Red Hat Linux.
I'm sure that the database on Red Hat Linux is up and tnsnames.ora is a copy from another machine which is used by another application to connect to the same Oracle database.
When I run sqlplus, I got the ORA-12560: TNS:protocol adapter error.
sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Both sqlnet.ora and tnsnames.ora are located in c:\app\administrator\product\11.2.0\client64\network\admin folder.
The registry ORACL_HOME has c:\app\administrator\product\11.2.0\client64.
echo %ORACLE_HOME% incommand window returns %ORACLE_HOME%
echo %ORACL_SID% in command window returns %ORACLE_SID%
If I set ORACLE_HOME to another folder, I will get the following error:
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
So, I believe the ORACLE_HOME in registry has the correct value.
I have also tried set ORACLE_SID to the service name listed in tnsnames.ora but sqlplus still returns the ORA-12560:TNS:protocol adapter error.
For unknown reason, the value of ORACLE_HOME and ORACLE_SID I set by using set command will not persist after I close the command window that I set the values.881656 wrote:
I'm trying to use sqlplus on Windows 2008 R2 which is installed on VirtualBox to access an Oracle 11gR2 database on Red Hat Linux.
I'm sure that the database on Red Hat Linux is up and tnsnames.ora is a copy from another machine which is used by another application to connect to the same Oracle database.
When I run sqlplus, I got the ORA-12560: TNS:protocol adapter error.
sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES = (NTS)
It make NO sense do to as above when attempting to connect to Oracle DB on *NIX
which knows NOTHING about NTS Authentication.
SQLNET.AUTHENTICATION_SERVICES = (NONE)
or just remove the line or whole file.
Also need to be sure that ipchains is disabled on *NIX system -
ORA-12560 when logging as SYSDBA in 11gR2 db installed in Windows 7
I have installed Oracle 11gR2 in Windows 7. I setup all listener and tnsname file and can login to the database like following:
sqlplus cisadm/cisadm@demo
However, it throws ORA-12560 error when loggin as sysdba as below:
sqlplus / as sysdba
I have read some previous post and already set ORACLE_SID=DEMO. But it still doesn't work.
I wonder if my 11gR2 was not installed properly as I also cannot use Administartion Assistant for Windows which throws "MMC could not create snap-in" error.This because of previously installed database.
I feel that you have un installed but you have not completely removed Oracle Instances.
After the deinstall from Oracle Installer, Oracle leaves some services still running and some folders which wont be deleted .
You have to manually delete these folders.
Or follow these steps and try.
1) First step is to stop all the services relevant to Oracle database 11g. In windows 7 navigate from Start->Control Panel->Administrative Tools->Services
2) Click on Oracle Service OracleServiceORACLE_SID,OracleDBConsoleOracle_SID,OracleOraDB11g_homeTNSListener and Click on Link stop. Also stop these services if they are enabled - OracleMTSRecoveryService, OracleJobSchedulerOracle_SID
3) Now its time to remove references from Registry. In Windows 7 search box type regedit. This opens the Registry Editor
4) Click on HKEY_LOCAL_MACHINE. Click on Software. Choose Oracle Folder. Delete it completely. Also Remove HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services and remove oracle relevant entries from there (All will have either Oracle or Ora prefix)
5) Remove the PATH variable from environment variables if set
6) Delete the database files manually from the local machine
In this process of deleting files I got an error which said windows process WmiPrvSE.exe process makes use of certain dlls such as oracell11.dll,oraldapclnt11.dll etc. I renamed the bin folder to bin_old. I restarted the system and it fixed the issue
Regards,
Tirumala Dixit. -
Regd ORA-12560 Protocol Adapter Error
Hi Firends,
I am new to Oracle.I just installed oracle 8i Personal Edition on Windows 2000.
Now I want to use SQL Plus but it is promting me for username, password and Host String.
I typed Scott,Tiger for USername and for Password but I don't know what to type for the Host String. It says "ERROR ORA:12560 TNS:Protocol Adapter" and then it kick me off. Could anyone tell me how to get into SQL*Plus?
Thanks
PeruI don't know the solution.
This is the forum for a specific Oracle 10g product called "Instant Client".
If you post your question to the Installation forum at
http://www.oracle.com/forums/forum.jsp?forum=64
you may find someone who knows the answer.
-- CJ -
ORA-12560: Protocol adapter error
Hi All,
I've installed Oracle Developer 10g and make the Net Configuration Assistant which is successful, but when I run the form it gives me this error:
ORA-12560: Protocol adapter error
I know this error and solved it before but I forgot how!
So how to solve it Plz?hi
try to modify registry.
something like this.
create a String value and name it local and then for Value data add "ORCL" and please check u r own SID.
sarah -
ORA-12560: TNS:protocol adapter error
Hi!
Our environment:
Application server:
Windows Server 2003, Oracle 9i Client
Database server:
Windows Server 2003, Oracle 9i Database
On our application server we have a batch file that should run a job in the background. The problem is with the connection
from the app. server to the db server. This error appears when trying to connect via client (regardless which user) to the db server.
When pinging the db server: tnsping <service> there is no problem. Also no problems with the ports or network. There is no listener
configured on the app. server.
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora81\network\admin\tnsnames.ora
P_OMES_W.XXX.XXXXXXXXX.NET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.XXX.XXXXXX.NET)(PORT = 1521))
(CONNECT_DATA =
(SID = OMES)
# SQLNET.ORA Network Configuration File: C:\oracle\ora81\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DEFAULT_DOMAIN = xxx.xxxxxxxxxx.net
#SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES)
sqlnet.expire_time= 10
trace_level_client=16
trace_file_client=cli
trace_directory_client=c:\temp # Or a known directory
trace_unique_client=true # Add '_pid' to trace f/n
trace_timestamp_client=ON # OnlyStrangely enough other batch jobs work.
Any help greatly appreciated.
Edited by: user545194 on Sep 12, 2011 1:59 AMHi;
Please check below note first:
ORA-12560: Troubleshooting [ID 117976.1]
Also see our previous topic which is mention same error:
ORA-12560
Re: 11.5.10.2/9iR2 to R12/11gR2
Regard
Helios
Maybe you are looking for
-
Having problems installing iTunes on Windows XP
Having problems installing iTunes on Windows XP - Error msg "There is a problem with Windows Installer Pkg. A program required for this install to complete could not be run. " However, it's an iTunes error msg.
-
Images "Disappear" When Moving a Project But Really They'r e Just Invisible
Last night I imported 442 images into a new project. I rated them, and edited about 40-50. This morning I moved the project within the same library. When I did so, all the images disappeared, sort of. The project appeared empty. I let it sit a couple
-
If I export my publication as an SWF and then embed this file into a Dreamweaver page it works as it should http://www.carolsteele.co.uk/testing/test_01.html The above links to a lower resolution version for testing purposes only - but I need a prelo
-
We are opening pdf file in flex air application. but for some user we are facing this issue.
-
Opening InDesign 2.0 document in InDesign CS4 - is it possible?
Someone sent me an InDesign 2.0 document and I cannot open it using InDesign CS4, which is the version I have. The error message I get reads: "Cannot open [filename]. The document was edited by a pre-release version of InDesign." Is there any way to