: Error ora-12560 tns protocol adapt
Hello worldI created a database and active 'sys' and 'system' "scott/tiger" users...
All of my users worked in "Enterprise Manager" and "Sqlplus" but it's several days that these users work in EM, but they do not work in "Sqlplus".
The error is: ' * ora-12560 tns protocol adapting error. "
I checked the 'services' and 'Start' my 'Listener '...
What should I do?
That's why like this?
Thank you all
Have you tried
Set ORACLE_SID = EASYDW
sqlplus sys/syspass as sysdba
And what is the result?
Tags: Database
Similar Questions
-
ORA-12560 TNS Protocol adapting Error
Hello everyone,
When I connect forms oracle 11g R2 of the oracle 10g xe database this error (ORA-12560 TNS Protocol Adapter Error) occur why?
As you use the database to 10G XE. go to
\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN Open the file tnsnames.ora and copy the configuration of XE and paste under the last # of your published file.
then save, and try to connect.
Hope this helps
Hamid
If someone useful or appropriate please mark accordingly.
-
ORA-12560: TNS:protocol adapter error (10.2.0.1)
Hello
database:-10.2.0.1 (8.1.7.4 through DBUA upgrade)
OS:-Windows 2000 Server
In the Sql (10.2.0.1) editor when I give the command "conn / as sysdba ' I get the error below:
SQL > conn / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
I can connect with the user SYS by using TOAD but cannot using the sql Editor
and when I open sql (8.1.7.0) editor, must be connected to the SYS user.
any solution?
RegardingHello
If you got your answer please correct question mark and close thread...
Here you can read the forums for that label...
http://forums.Oracle.com/forums/Ann.jspa?annID=718
Thanks and greetings
VDPublished by: vikrant dixit on July 13, 2009 04:35
-
ORA-12560 TNS protocol adapter 11g (11.1.0.6) error
Hi all
I have Oracle 11g installed on my machine and when I tried to connect to sql more I got the below error:
Error ORA - 12560 TNS protocol adapt
By setting the ORACLE_SID = orcl by navigating to the bin of the Installation of Oracle disappaears above error directory and I am able to connect from sql plus.
My intention is to create a db backup for who I am trying to use the exp command... This time the same error appears.
Also the solution to the ORACLE_SID is heavy... everytimt I want to use sql plus, I need to go and set the ORACLE_SID.
Can someone please help me find a good solution for this?
Any help would be appreciated friends...
Thanks in advance!
Kind regards.
AliciaAlicia,
Thanks for the info on the o/s. You have the only Pb on the box? You can set oracle_sid permanently on the operating system. This,
Start-> Control Panel-> system-> advanced-> Environment Variables tab and add the following new entry under system variables:ORACLE_SID
Restart, and then make sure that the variable oracle_Sid is set and the value is there.
HTH
Aman...Published by: Aman... on June 20, 2009 14:54
added a bit more. -
We strive to use our VM on the new retina MBP (mid-2015) with MacOS X 10.11 (El Capitan) but we had a problem starting from Oracle. If we first converted our ESX VM but once on the Mac laptop Oracle (v12.1.0.1.0 on WIN2012R2) does not open the database, error;
ORA-12560: TNS:protocol adapter error
Does not change us any setting on the virtual machine itself so services work fine. Network has set the IP with host only. Tried with Fusion 7.1 & Fusion 8.0.2 new Mac with nothing doesn't. Also with the different versions of the VM tools. Tried to remove the NIC in Fusion and recreate, don't sucses.
Funny enough the same virtual machine starts fine on PC (workstation 10.3.0 & Win7), MBP beginning 2011 (Fusion 7 & Mac 10.10) or ESX itself for Oracle opens the database!
That's why we think in the direction of the new MBP specific? speed or network issue? Ring the bells?
Help appreciated!
Bottom line, this is a problem of Oracle who dislikes the MBP on a virtual machine.
for reference;
Virtual MACHINE works very well on all platforms, but not on the latest MacBook Pro (retina, 15 inch, mid-2015). So, when you try to use sqlplus you might get the error that there is no such thing as SID. Earphone works very well, but the DB process does not record with earphone or work correctly also. But the process is running and a SID tnsping returns an OK. This isn't a problem of configuration Oracle as the VM and DB works well from the moment where you run the virtual machine on a PC or an old MBP. Either way, Virtualbox has the same problem so not a problem of Fusion.
I will record a deal with Oracle but I doubt that it is corrected.
-
People,
Hello. Initially, my Windows XP host name is 'localhost' and IP 127.0.0.1.
I installed Oracle Database 11 g with Windows XP successfully and all customers in the database with the database instance running.
For some reason, I uninstalled all of the database server and remove the whole installation directory /oracle.
I have configured the address IP of Windows XP in 192.168.196.101 to ping other machines.
For my needs, I installed Oracle Database 11 g with Windows XP again. During step 7 of 8: Oracle Database Configuration Assistant, I got this error:
ORA - 12560:TNS: Protocol adapter error.
I click on the button "Password management", there is no line in this window (no user name, no account of the lock).
I have check the listener as below:
C:\ > lsnrctl
LSNRCTL > start
His output: earphone HEADSET name has already been started.
LSNRCTL > status
Its release:... Service DB1 has 1 instance. The instance BD1 ready state. The command completed successfully.I check \Oracle\cfgtoollogs\dbca\DB1\trace file, the entry is:
Listen [0] = LISTENER address = (ADDRESS = (PROTOCOL = TCP (port = 1522))(HOST=localhost))
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 that HOST = localhost and port = 1522 is the cause of the ORA-12560 error because Windows XP was configured in HOST = 192.168.196.101.
But I do not understand how to solve this problem.
Can any folk tell me how to solve this problem? must cancel the installation of 8 on step 7 and install it again?
Thank you.> The problem is that I am installing Oracle Database 11 g with Windows XP
Why? above is NOT a supported combination.
What makes you think that it should work without error?
-
ORA-12560: TNS:protocol adapter error rman
Hi all
I am running xp and the version of oracle 10.2... I created a dummy database with name comp using dbca... used FRA and took a backup if rman... I have the backup now in FRA...
I droped the database to do a restore of test... but I can't even connect to rman or sqlplus? I was able to connect to rman, before taking a backup... but now I turn... couldn't understand why... any help would be appericiated.
C:\oracle\sql>set ORACLE_SID=comp C:\oracle\sql> C:\oracle\sql>echo %ORACLE_SID% comp C:\oracle\sql>rman target / Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 09:54:16 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-00554: initialization of internal recovery manager package failed RMAN-04005: error from target database: ORA-12560: TNS:protocol adapter error C:\oracle\sql> C:\oracle\sql> C:\oracle\sql>lsnrctl status LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUL-2011 09:54:20 Copyright (c) 1991, 2005, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxxxx)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production Start Date 06-JUL-2011 09:53:53 Uptime 0 days 0 hr. 0 min. 26 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxxxxx)(PORT=1521))) Services Summary... Service "COMP" has 1 instance(s). Instance "COMP", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully C:\oracle\sql>
user8363520 wrote:
Hi allI am running xp and the version of oracle 10.2... I created a dummy database with name comp using dbca... used FRA and took a backup if rman... I have the backup now in FRA...
I droped the database to do a restore of test... but I can't even connect to rman or sqlplus? I was able to connect to rman, before taking a backup... but now I turn... couldn't understand why... any help would be appericiated.
If you have backup and that you have removed the database, then you can create this new.
(1) create directories for the user, dumpdest audit and control, online newspaper, background, data files.
(2) Create OracleServiceComp if it is does not exist using ORADIM utility (oradim-new - sid COMP - intpwd- pfile )
(3) after the startup of the oracle servicesset ORACLE_SID=COMP rman target / /*if you do not have spfile also then you have to restore it from full/auto backup or startup database using pfile(create it manually)*/ startup nomount ; restore controlfile from 'full or autobackup location'; alter database mount; catalog start with 'backup location'; restore database; recover database; alter database open resetlogs;
-
ORA-12560: TNS:protocol adapter error (tried all the possible solutions)
Hello
H1. My details below:-
Platform: windows 2003 Server
The BD name: ORCL, B1prod, emrep
My variable env as below:
ORACLE_SID = orcl
ORACLE_HOME = C:\OracleHomes\db10g
SQLPATH C:\OracleHomes\db10g\dbs =
NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252
TNS & Listner file located: C:\OracleHomes\db10g\NETWORK\ADMIN
The TNS file details
The listner file details:# tnsnames.ora Network Configuration File: C:\OracleHomes\db10g\network\admin\tnsnames.ora # Generated by Oracle configuration tools. EMREP = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = emrep.itsolution1.local) ) ) ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl.world) ) ) B1PROD = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = b1prod.world) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) )
On CMD tried-# listener.ora Network Configuration File: C:\OracleHomes\db10g\network\admin\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = C:\OracleHomes\db10g) (PROGRAM = extproc) ) ) LOGGING_LISTENER = OFF LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) ) (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521)) ) ) ) TRACE_LEVEL_LISTENER = OFF
H1. Problem: -.set Oracle_sid=orcl
Im getting the error when connecting to sql plus below:
I checked my listener service that is currently running.ORA-12560: TNS:protocol adapter error
But when I'm typing: lsnrctl cmd invites through the error as below:
I checked oracle_home/bin-lsnrctl exist. I can run lsnrctl.exe from there, but not cmd.C:\Documents and Settings\Administrator>lsnrctl 'lsnrctl' is not recognized as an internal or external command, operable program or batch file.
FYI: I installed the Oracle Grid Control database
Can anyone advice why I can't connect to sql plus?
Please let me know if you need more clarification.Control Panel of your win Server > adm tools > services >OracleOraDb10g_home1TNSListener
Is set to manual/automatic >
He started or not >If this is not the case, start it.
-
ORA-12560: TNS:protocol adapter error
I use Windows 7 x 64, Microsoft Visual Studio Express 2013 c# and Oracle 11 g Database Express Edition. I installed ODAC1120320_x64.zip. I can login to the database in SQL command line, but not in c#. I have fuite error: ORA-12560: error adapter TNS:protocol.
In the code I write:
using Oracle.DataAccess.Client;
...
public static string connectionString = @"User Id = NATA; Password = < my_password >; »
using (OracleConnection connection = new OracleConnection (connectionString))
{
Try
{
connection. Open(); There is a mistake here
} ...
I don't know how to identify the database of tha.
Maybe Data Source? See http://docs.oracle.com/cd/E11882_01/win.112/e23174/featConnecting.htm#ODPNT163
-
Hi guys, I recently installed Oracle11g on my computer laptop windows 7. I get ORA-12560 error. I have installed and uninstalled times couple Oracle, I guess he can be disheveled windows services or some other parameters.
Universal Oracle install created following listener.ora and tnsnames.ora.
The tnsnames.ora seems incomplete for me.
Any help to solve this problem is appreciated.
************listener.ora****************************************
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\orains\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:C:\orains\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = abc - xyz - PC.gateway.2wire .net) (PORT = 1521))
)
)
ADR_BASE_LISTENER = C:\orains
tnsnames.ora* *.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
**************************************************************************
C:\Users\abc-XYZ > LSNRCTL STATUS
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on May 25, 2013 02:21
: 34
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Prod
ction
Start date may 23, 2013 23:43:57
Operating time 1 day 2 h 37 min 39 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File C:\orains\product\11.2.0\dbhome_1\network\admin\listen
ER.ora
C:\orains\diag\tnslsnr\abc-XYZ-PC\listener\alert\ log listener
log. XML
Summary of endpoints listening...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=abc-xyz-PC) (PORT = 1521)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
The command completed successfullyuser1048437 wrote:
Looks like you don't have a database.
Sqlplus error means that you do not have a default set ORACLE_SID. The means of error sqldeveloper connection identifier you use Xe? ORCL? is not running.Go to control panel services and are looking for what is called OracleServicexxxx. If it is not there you don't have a database.
If it's there, xxxx is that you must specify in your connection sqldeveloper.Jeff,
I don't have anything with OracleServiceXXXX in my windows services.
Why is it missing? Is this something I've done or (not) during installation?I guess that you have selected the option to create a database.
I could use the database Configuration Wizard to create a database.
This is the best option at this point.
I have the suite starting with Oracle
OracleOraDb11g_home1TNSListener
OracleOraDb11g_home2TNSListener
OracleOraDb11g_home3TNSListener
OracleOraDb11g_home3ClrAgent
OracleRemExecService
OracleMTSRecoveryService
Oracle_app_abc ~ product_112 ~ 1.0_dbhome_1ConfigurationManagerI guess that OracleOraDb11g_home3TNSListener came with the most recent installation. How can I get rid of all previous headphones? I believe that I don't need them.
Are still there the previous installations? You must run the net configuration assistant in each installation and remove the listener. If you can't that set them off. You can also check the SC utility that can be used to remove services.
-
12560 TNS protocol adapt linux error
I m running two independent oracle 11g on red hat 5 in vmware workstation 7 who is sitting on the window xp where I m running 10g.
I faced a lot of networking when you use tnsping. During my research, I found that SUlinux and the firewall was on which I turned off.
My problem is solved.
My question is whether it is doable in an industrial environment to disable the firewall and security of Linux.
My second problem is:
I did everything using orapwd on oracle 11 g on red hat. .
but I m getting the same result
Select * from v$ pwfile_users;
no selected line
My hottest look.
Published by: user5166350 on February 19, 2012 20:40user5166350 wrote:
I m running two independent oracle 11g on red hat 5 in vmware workstation 7 who is sitting on the window xp where I m running 10g.
I faced a lot of networking when you use tnsping. During my research, I found that SUlinux and the firewall was on which I turned off.
My problem is solved.
My question is whether it is doable in an industrial environment to disable the firewall and security of Linux.When you say "linux security" are you referring to SELinux? You can turn it off, or set it to a less restrictive mode. Regarding the firewall, there is no need to turn it off, simply set it up properly.
My second problem is:
I did everything using orapwd on oracle 11 g on red hat. .
but I m getting the same resultSelect * from v$ pwfile_users;
no selected line
My hottest look.
We have no way of knowing exactly what "all using orapwd' means on your system. Ask us to explain something that we cannot see.
Published by: user5166350 on February 19, 2012 20:40
-
TNS:Protocol adapter error
I installed Oracle 11 g and then installed the developer suite 10 g
now when am access sqlplus via cmd it is showing the following error:
The procedure entry point longjmp could not be located in the dynamic link library orauts.dll
ERROR:
ORA-12560: TNS:protocol adapter errorI think the mentioned MOS score is misleading in this case, he talks to install Clusterware and ASM. I suspect a generic environmental problem, OP now has 2 ORACLE_HOMEs and Developer Suite sqlplus runs in 11g House (or vice versa).
The error "entry point... could not be located in..." is typical of such incompatibility.Werner
-
AMT-12557: TNS:protocol adapter not loadable
Hi am not able to start my listner, am getting above error
How to solve thisLSNRCTL> status Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host)(PORT=1521))) TNS-12557: TNS:protocol adapter not loadable TNS-12560: TNS:protocol adapter error TNS-00527: Protocol Adapter not loadable LSNRCTL> start Starting tnslsnr: please wait... TNS-12557: TNS:protocol adapter not loadable TNS-12560: TNS:protocol adapter error TNS-00527: Protocol Adapter not loadable my path is PATH=C:\OracleClient32;C:\app\10017134\product\11.2.0\dbhome_1\BIN;C:\DevSuiteHome\jdk\jre\bin\classic;C:\DevSuiteHome\jdk\jre\bin;C:\DevSuiteHome\jdk\jre\bin\client;C:\DevSuiteHome\jlib;C:\DevSuiteHome\bin;C:\DevSuiteHome\jre\1.4.2\bin SuiteHome\jre\1.4.2\bin;C:\DevSuiteHome;C:\app\10017134\product\11.2.0\dbhome_1;C:\Windows\System32;C:\Windows;C:\DevSuiteHome\BIN;C:\app\10017134\product\11.2.0\dbhome_1\NETWORK\ADMIN;C:\Oracle\Middleware\jdk160_24;C:\james-2.3.2;C:\ja C:\james-2.3.2\temp mt set is C:\>set ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\10017134\AppData\Roaming CommonProgramFiles=C:\Program Files (x86)\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=SRD-WS23042 ComSpec=C:\Windows\system32\cmd.exe FPPUILang=en-US FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\10017134 JAVA_HOME=C:\Oracle\Middleware\jdk160_24\jre\bin LOCALAPPDATA=C:\Users\10017134\AppData\Local LOGONSERVER=\\SRDVCDW003 NUMBER_OF_PROCESSORS=4 OnlineServices=Online Services OOBEUILang=en-US ORACLE_HOME=C:\DevSuiteHome OS=Windows_NT Path=C:\OracleClient32;C:\app\10017134\product\11.2.0\dbhome_1\BIN;C:\DevSuiteHome\jdk\jre\bin\classic;C:\DevSuiteHome\jdk\jre\bin;C:\DevSuiteHome\jdk\jre\bin\client;C:\DevSuiteHome\jlib;C:\DevSuiteHome\bin;C:\DevSuiteHome\jre\1.4.2\bin SuiteHome\jre\1.4.2\bin;C:\DevSuiteHome;C:\app\10017134\product\11.2.0\dbhome_1;C:\Windows\System32;C:\Windows;C:\DevSuiteHome\BIN;C:\app\10017134\product\11.2.0\dbhome_1\NETWORK\ADMIN;C:\Oracle\Middleware\jdk160_24;C:\james-2.3.2;C:\ja C:\james-2.3.2\temp PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PHOENIX_HOME=C:\james-2.3.2 PHOENIX_JAVACMD=C:\Oracle\Middleware\jdk160_24\jre\bin\bin\java PHOENIX_JVM_OPTS= -Dnetworkaddress.cache.ttl=300 PHOENIX_SM="-Djava.security.manager" PHOENIX_TMPDIR=C:\james-2.3.2\temp Platform=BPC PROCESSOR_ARCHITECTURE=x86 PROCESSOR_ARCHITEW6432=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=3a09 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files (x86) ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PTSMInstallPath_X86=c:\Program Files (x86)\Hewlett-Packard\HP ProtectTools Security Manager\ PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\10017134\AppData\Local\Temp TMP=C:\Users\10017134\AppData\Local\Temp TNS_ADMIN=C:\app\10017134\product\11.2.0\dbhome_1\NETWORK\ADMIN UATDATA=C:\Windows\SysWOW64\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77 USERDNSDOMAIN=domain USERDOMAIN=ASTZA USERNAME=useranae USERPROFILE=C:\Users\10017134 windir=C:\Windows windows_tracing_flags=3 windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log C:\> C:\>
Published by: adf009 on 05/31/2013 10:05
Published by: adf009 on 05/31/2013 10:05
Published by: adf009 on 05/31/2013 10:07adf009 wrote:
in 64 bit Windows 7And which edition? Don't forget, the oracle is not supported on any edition of Windows "home".
C:\>set ORACLE_HOME=C:\app\10017134\product\11.2.0\dbhome_1 C:\>set PATH=C:\app\10017134\product\11.2.0\dbhome_1\BIN LSNRCTL> STATUS Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production Start Date 31-MAY-2013 08:55:55 Uptime 1 days 3 hr. 12 min. 23 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File C:\app\10017134\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora Listener Log File c:\app\10017134\diag\tnslsnr\srd-ws23042\listener\alert\log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host)(PORT=1521))) Services Summary... Service "TESTOLTPDB" has 1 instance(s). Instance "TESTOLTPDB", status UNKNOWN, has 1 handler(s) for this service... Service "orcl" has 1 instance(s). Instance "orcl", status READY, has 1 handler(s) for this service... Service "orclXDB" has 1 instance(s). Instance "orcl", status READY, has 1 handler(s) for this service... The command completed successfully LSNRCTL> exit
It seems that you have solved the problem that you have opened the wire for. You are now able to start the listener.
>
C:\>sqlplus/NoLog
SQL * more: Production of release 11.2.0.1.0 Sat Jun 1 12:09:21 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL > connect sysdba virtue
ERROR:
ORA-12560: TNS:protocol adapter errorAnd now you have a new, different problem.
99.99% of the time I see this problem with a connection of sqlplus on windows, this is because the variable ORACLE_SID is not set correctly, or not at all.
c:> set ORACLE_SID=TESTOLTPDB C:> sqlplus / as sysdba
am not able to connect as sysdba
Edited by: adf009, 2013/06/01 13:11
Published by: EdStevens on June 2, 2013 09:05
-
Error ORA-12560 on Ora11g after reboot
Now having a major problem...
I've recently set up a database under the following:
-Oracle version: 11 GR 2 64 bit (standard)
-OS: Windows Server 2008, running on VMWare
-File system: ASM (thanks to grid infrastructure)
The infrastructure of grid and Oracle itself have been installed under the same account. (It was a special local account that has been set up and account administrator privileges required).
Everything is rising and running, was able to connect and everything. I made a few changes (setting mode archive log).
I then did a restart of the computer.
Now, whenever I try to connect as sysadmin (sqlplus "/ as sysdba") or any other user, I get the following error:
ORA-12560: TNS protocol adapter error
I have the problem that I try to access it locally or remotely. Manager of the company seems also not working do not.
Any idea what the problem might be? I can do a TNSPing for the database, and the listener seems to be started.
There were 2 small problems that I'm nut sure are related:
-Although I installed everything under the same local administrator account (I called dbadmin), when I go in lsnrctl I can't use "reload" (gives me a "tns01190": user is not authorized to perform the requested listener command. ") but I can use if I login as "Administrator".
-When I looked at the registry, the 'ORACLE_mydb_AUTOSTART' is set to false. There are other parts which must be autostarting, but aren't?user588235 wrote:
Now having a major problem...I've recently set up a database under the following:
-Oracle version: 11 GR 2 64 bit (standard)
-OS: Windows Server 2008, running on VMWare
-File system: ASM (thanks to grid infrastructure)
The infrastructure of grid and Oracle itself have been installed under the same account. (It was a special local account that has been set up and account administrator privileges required).Everything is rising and running, was able to connect and everything. I made a few changes (setting mode archive log).
I then did a restart of the computer.
Now, whenever I try to connect as sysadmin (sqlplus "/ as sysdba") or any other user, I get the following error:
ORA-12560: TNS protocol adapter error
I have the problem that I try to access it locally or remotely. Manager of the company seems also not working do not.Any idea what the problem might be? I can do a TNSPing for the database, and the listener seems to be started.
There were 2 small problems that I'm nut sure are related:
-Although I installed everything under the same local administrator account (I called dbadmin), when I go in lsnrctl I can't use "reload" (gives me a "tns01190": user is not authorized to perform the requested listener command. ") but I can use if I login as "Administrator".
-When I looked at the registry, the 'ORACLE_mydb_AUTOSTART' is set to false. There are other parts which must be autostarting, but aren't?Under Windows, if your db service is not started, you will get the error reported.
You can also get this error with the database service started, the database upward and operation, but your have not set ORACLE_SID in the right (or any!) value. -
AMT-12560: error adapter TNS:protocol and 00530-TNS: Protocol adapter error
I just installed oracle 11g on my windows xp professional box. What user and password I will use. Should what username and password I use to connect to sql plus?
When I use 'Scott' 'Tiger' it gives me ORA-12560: TNS:protocol adapter error occurred errorwhen I try to start the service I get
LSNRCTL > start
From tnslsnr: Please wait...
Cannot open the service < OracleOraDb11g_home1TNSListener >, error 1060.
Failed to start the service, error 203.
AMT-12560: TNS:protocol adapter error
AMT-00530: Protocol adapter error
I can access the database on the same machine. Also should I have an ORACLE_HOME for sql more work or it is not necessary?Do State lsnrctl and after its release? try to do this sqlplus "virtue sysdba" and make sure that you have entered right tns in tnsnames.ora as in the example I posted here earlier. "."
Concerning
OrionNet
Maybe you are looking for
-
How to connect a microphone to capacitor for Mac Book Pro?
Hi all After recently to buy a NW-700 Neewer and set up, I plugged it on my which seems to me to be a model 2012 or 2013 the Mac Book Pro, only to see that he has been received as headphones and tab out of my sound preferences. I don't think that the
-
Cannot install Windows 7 on Imac 11.2 with bootcamp 6.0.1
Hello. I have a 21.5 "iMac (11.2) Mid 2010 with El Capitan fees." I want instala Win 7 on Boot Camp, using the 6.0.1 version. I ve tried to option but I can't go to second screen as says soft me "haven't found us the installation disc. "INSERTA a Set
-
Before you download this program FASTAGAIN PC Booster is for me, I need to know if the program is a Microsoft product, and if it is safe to download
-
I have a Palm TX (Wireless-B) and an iPod Touch (up to Wireless-N). I thought I should be able to run the WAP610N in mixed mode with Palm using B and iPod using G. Unfortunately the Palm does not even detect the WAP under the 'mixed' and I had set th
-
Look at my new Foglight architecture, comments and reviews are welcome
It's just an idea of my new Foglight presentation. I like gurus in our community to hammer on this subject, do not hesitate to comment on or remind me of some sin that this potential problem, architecture. The basic ideas for the layout are as 1. div