[TNS-12560: Protocol Adapter Error] after every 48 Hours
Dear All,
Our company encountered a very strange Oracle database issue, here is the details:
Environment
1. Dell 2950 Server with Windows Server 2003, Oracle 9i 9.2.0.1 and WebLogic Platform Server 8.1 SP3 installed;
2. Two databases on the Oracle, one is called FAX and it is a schema located in the original DB database; another one is called EIP, it is a new database created by IT staff;
3. Two applications installed on this server, the first one is a Visual C++ developed Avaya Call Routing system (BCCS), this system will query data from the EIP database; Another one is a WebLogic and JAVA based system (EIP), users access this system by using IE at client computer and this system also uses the EIP database;
4. We have a standalone fax-out server with faxboard installed and used to send fax, this server uses the FAX database;
Issue
1. Before Jun.6, everything is OK;
2. At Jun.6 night, we installed two new applications on two new server, these applications will read and write data to the EIP database via network;
3. Jun.9 12:30, we found the BCCS cannot connect to the database, error message is [TNS-12560: Protocol Adapter Error], we checked and found all Oracle's services are running properly including the TNSListener;
4. We reboot the server and then everything is OK;
5. Jun.12 10:41, Jun.14 12:46 and Jun.16 20:51, same issue occurred again, we simply reboot the server and everything is OK
It is very interesting that we found the issue always occur after 48~55 hours we reboot the server, but cannot find more useful information; there is also no failed information in the Oracle alert log.
Please share some ideas with me, thanks a lot.
Thanks for reply. Answer to your questions:
1. This issue occurs on application which were installed on the computer with Oracle installed, and there is no firewall on this computer, so I believe that it is not related network.
2. Please let me know how to check the error stack and turn on tracing.
3. ORA file info:
# TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
EIP.MISUMIPM.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.6.24)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = EIP)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ctiapp)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
DB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ctiapp)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DB)
Hope helps.
Similar Messages
-
TNS-12560 protocol adapter error
Hi,
Your help will be most apprecitated. Thanks in advance.
I am tryin to connect from client (win XP) to Oracle 10g running on Linux red hat.
I am able to successfully ping to the server bu when I do a tnsping I get the below error:
C:\WINDOWS\system32>tnsping orcl
TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 30-AUG-2
008 17:29:10
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\DevSuiteHome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = new-host.my-domain)(PORT = 1521))) (CONNECT_DATA = (SID = ORCL)))
TNS-12560: TNS:protocol adapter error
My listener seems to be running ok on the server
[oracle10g@new-host ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 30-AUG-2008 17:51:44
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ORCL)))
STATUS of the LISTENER
Alias listener
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 30-AUG-2008 15:48:30
Uptime 0 days 2 hr. 3 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oraeng/app/oracle/product/10.2.0/network/admin/listener.ora
Listener Log File /oraeng/app/oracle/product/10.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ORCL)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=new-host.my-domain)(PORT=1521)))
Services Summary...
Service "ORCL" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Instance "ORCL", status READY, has 1 handler(s) for this service...
Service "ORCL_XPT" has 1 instance(s).
Instance "ORCL", status READY, has 1 handler(s) for this service...
The command completed successfully
Also I am able to connect to the oracle from the server:
[oracle10g@new-host ~]$ sqlplus scott/tiger@orcl
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Aug 30 17:52:52 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining optionsHi Gerard,
I would like to gain more knowledge in this regard (oracle networking)I have some good notes on trubleshooting network issue that you may enjoy:
http://www.dba-oracle.com/t_troubleshooting_sql_net_connectivity_errors.htm
Hope this helps . . . .
Donald K. Burleson
Oracle Press author -
Tns-12560 protocol adapter error linux
I m running two independent oracle 11g on red hat 5 in vmware workstation 7 which is sitting on window xp where i m running 10g.
I was facing a lot of networking when using tnsping. during my search i found that SUlinux and firewall was on which i turned off.
My problem solved.
My question is Whether it is feasible in industrial environment to turn off the Firewall and security of Linux.
My second problem is:
I did everything using orapwd on oracle 11g on red hat. .
but i m getting the same result
select * from v$pwfile_users;
no rows selected
My warmest Regard.
Edited by: user5166350 on Feb 19, 2012 8:40 PMuser5166350 wrote:
I m running two independent oracle 11g on red hat 5 in vmware workstation 7 which is sitting on window xp where i m running 10g.
I was facing a lot of networking when using tnsping. during my search i found that SUlinux and firewall was on which i turned off.
My problem solved.
My question is Whether it is feasible in industrial environment to turn off the Firewall and security of Linux.When you say "security of linux" are you referring to SELinux? You can turn it off, or set it to a less restrictive mode. As for the firewall, there is no need to turn it off, just configure it correctly.
My second problem is:
I did everything using orapwd on oracle 11g on red hat. .
but i m getting the same result
select * from v$pwfile_users;
no rows selected
My warmest Regard.
We have no way of knowing exactly what "everything using orapwd" means on your system. You are asking us to explain something we cannot see.
Edited by: user5166350 on Feb 19, 2012 8:40 PM -
TNS-12560: TNS:protocol adapter error and TNS-00530: Protocol adapter error
i just installed oracle 11g on my windows xp professional box. Which user and password shall i use. What username and password should i be using to login to sql plus?
when i use "Scott" "Tiger" it gives me ORA-12560: TNS:protocol adapter error occurred errorwhen i try to start service i get
LSNRCTL> start
Starting tnslsnr: please wait...
Failed to open service <OracleOraDb11g_home1TNSListener>, error 1060.
Failed to start service, error 203.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
I am accessing the database from the same machine. Also do I need to have a ORACLE_HOME for getting sql plus working or it is not necessary?Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Production
System parameter file is D:\Apps\db\oracle11g\network\admin\listener.ora
Log messages written to d:\app\computeruser\diag\tnslsnr\computer2\listener\alert\
log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=computer2)(PORT=1521)
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
ipc)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=computer2)(PORT=1521)
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
ction
Start Date 13-DEC-2008 21:47:48
Uptime 0 days 0 hr. 0 min. 5 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\Apps\db\oracle11g\network\admin\listener.ora
Listener Log File d:\app\computeruser\diag\tnslsnr\computer2\listener\aler
t\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=computer22)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
The listener supports no services
The command completed successfully
D:\>
Edited by: user9938780 on Dec 13, 2008 9:52 PM
Edited by: user9938780 on Dec 13, 2008 9:52 PM
Edited by: user9938780 on Dec 13, 2008 9:53 PM
Edited by: user9938780 on Dec 13, 2008 9:53 PM -
TNS-12560: TNS:protocol adapter error TNS-00530: Protocol adapter error
Unable to start listener service.
Running Oracle Database 11gr2 on Windows 7.
I just installed Oracle with the "install software only" option.
Already set up the instance, the database, the dictionary views, etc.
Created tsnames.ora, sqlnet.ora and listener.ora as shown below.
Before installing Oracle I followed the instruction on Oracle
documentation to install a Loopback Adapter.
It is set up as the primary adapter as indicated on the
instructions. The name is "gabylan" (previously the computer
name was "P4". I set up the "hosts" file as indicated, the oracle_hostname
variable, etc. as you will see below. I don't know if it's important to "uncomment"
the line on the "hosts" file for the "localhost" entry, I left it
as it was originally.
Services currently in "Started" Status:
OracleServiceorcl
Oracle orcl VSS Writer Service
OracleMTSRecoveryService
OracleOraDb11g_home1ClrAgent
OracleServiceorcl
Below is a summary of the error message and some information
about my system setup to help you diagnose my problem.
===============================================================================
c:\Users\Public\myscripts>lsnrctl start
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 13:48
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
c:\Users\Public\myscripts> lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 16:17:16
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gabylan)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
================================================================================
My "hosts" File: (c:\windows\system32\drivers\etc\hosts)
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
192.168.5.5 gabylan gabylan
=================================================================================
c:\Users\Public\myscripts>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : gabylan
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f5:bbb0:cf8b:c735%15(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.5.5(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 335675468
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8102E/RTL8103E Family PCI-E Fast Ethernet NIC (NDIS 6.20)
Physical Address. . . . . . . . . : 00-25-22-51-68-AB
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7538:173c:c202:4985%10(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, September 18, 2012 11:37:37 AM
Lease Expires . . . . . . . . . . : Wednesday, September 19, 2012 1:45:01 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 234890530
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
=================================================================================
# sqlnet.ora Network Configuration File:
# c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
# OTHER OPTION FOR AUTHENTICATION IS: SQLNET.AUTHENTICATION_SERVICES= (NTS)
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME, EZCONNECT)
ADR_BASE = c:\app\oracle\
====================================================================================
# tnsnames.ora Network Configuration File:
# c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora
orcl =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = gabylan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
====================================================================================
# listener.ora Network Configuration File:
# c:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = gabylan)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = c:\app\oracle\product\11.2.0\dbhome_1)
(SID_NAME = orcl)
ADR_BASE_LISTENER = c:\app\oracle
=================================================================================
c:\Users\Public\myscripts>ping gabylan
Pinging gabylan [192.168.5.5] with 32 bytes of data:
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.5.5:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
=================================================================================
Some related environment variables on my system:
COMPUTERNAME=GABYLAN
FP_NO_HOST_CHECK=NO
HOMEPATH=\Users\oracle
LOGONSERVER=\\GABYLAN
ORACLE_HOME=c:\app\oracle\product\11.2.0\dbhome_1
ORACLE_HOSTNAME=gabylan
ORACLE_SID=orcl
ORACLE_UNQNAME=orcl
SQLPATH=c:\users\public\myscripts
USERDOMAIN=GABYLAN
USERNAME=oracle
USERPROFILE=C:\Users\oracle
==================================================================================
Summary from V$INSTANCE VIEW:
INSTANCE
NAME HOSTNAME STARTUP_T STATUS DATABASE_STATUS ACTIVE_ST
orcl GABYLAN STARTED ACTIVE NORMAL
=================================================================================
Thanks,
GabrielI am getting the same error while starting or stopping the listener
LSNRCTL> start CSCLIST
Starting tnslsnr: please wait...
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
LSNRCTL> stop CSCLIST
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CSCINDAE708070)(PORT=152
2)))
NL-00303: syntax error in NV string
TNS-01153: Failed to process string: (DESCRIPTION=(CONNECT_DATA=(CID=(PROGRAM=)
(HOST=)(USER=Manager(REMOVE)))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=CSCLIST)(VERS
ION=186646784)))
Pls help
Listener.ora:
# listener.ora Network Configuration File: D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
CSCLIST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = CSCINDAE708070)(PORT = 1522))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
SID_LIST_CSCLIST =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\bin\oraclr11.dll")
ADR_BASE_CSCLIST = D:\Sagaya\11gDBhome -
TNS-12560: TNSrotocol adapter error
Iu2019m installing SAP ERP 6.0 on a Windows server 2008 with Oracle 10.2.0.4.0.
First of all I installed the Oracle software by means of Oracle Universal Installer.Then I used the Sapinst tool. At the step u201CConfigure Oracle server Networku201D I get an error. In the lsnrctl.log file I can read:
TNS-12560: TNSrotocol adapter error
TNS-00530: Protocol adapter error
These are my .ora files in the path <oracle-home>\NETWORK\ADMIN::
1 )LISTENER.ORA
ADMIN_RESTRICTIONS_LISTENER = on
LISTENER =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = DEV.WORLD)
(ADDRESS=
(PROTOCOL = IPC)
(KEY = DEV)
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = SAP-BTdemo)
(PORT = 1527)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = DEV)
(ORACLE_HOME = F:\oracle\DEV\102)
2) SQLnet.ora:
AUTOMATIC_IPC = ON
TRACE_LEVEL_CLIENT = OFF
NAMES.DEFAULT_DOMAIN = WORLD
05.01.06 unsorported parameter now
#NAME.DEFAULT_ZONE = WORLD
05.01.06 set the default to 10
SQLNET.EXPIRE_TIME = 10
SQLNET.AUTHENTICATION_SERVICES = (NTS)
05.01.06 set to default
#TCP.NODELAY=YES
05.01.06 set to 32768
DEFAULT_SDU_SIZE=32768
3) tnsname.ora:
DEV.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = SAP-BTdemo)
(PORT = 1527)
(CONNECT_DATA =
(SID = DEV)
(GLOBAL_NAME = DEV.WORLD)
I have set the following Environment Variables:
u2022 ORACLE_HOME = F:\oracle\DEV\102
u2022 ORACLE _SID= DEV
u2022 TNS_ADMIN= F:\oracle\DEV\102\NETWORK\ADMIN
I have installed Oracle by Universal Installer and, in the Server Manager, I got only the following Oracle Service:
OracleDEV102iSQL*Plus
If I use the command lsnrctl start from Windows prompt I get the same error.
Can anyone help me?Ok, I made all the things that you say: installed Oracle sw, installed the Opatch end started SAPinst.
But SAPinst stops when configuring oracle server network. I really don't understand what to do. If i write the command of LSNRCTL and tnsping the DEV (my DBsid) i have the following error:
LSNRCTL> services
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=DEV.WORLD))
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 (ADDRESS=(PROTOCOL=IPC)(KEY=DEV))
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 (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=10.32.33.4)(PORT
=1527))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error
LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=DEV.WORLD))
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 (ADDRESS=(PROTOCOL=IPC)(KEY=DEV))
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 (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=10.32.33.4)(PORT
=1527))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error
C:\SAPinst>tnsping DEV
TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 27-OCT-2
010 14:11:45
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
F:\oracle\DEV\102\NETWORK\ADMIN\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP
.WORLD) (PROTOCOL = TCP) (HOST = 10.32.33.4) (PORT = 1527))) (CONNECT_DATA = (SI
D = DEV) (GLOBAL_NAME = DEV.WORLD)))
TNS-12541: TNS:no listener
Why isn't SAPINST able to use the listener??
Edited by: Paolo Rubino on Oct 27, 2010 3:16 PM -
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 -
I just install the patch 9.2.0.7 for client Oracle machine on windows 2000 server.
Since then I'm constantly getting "ORA-12560: TNS:protocol adapter error" and I cannot connect via SQL plus.
Any help is appreciated, mjI'm trying to connect to databases that are running on a separate machines - aix5.2, and I can connect from every other machine in the office but not from this one.
There's no database on this machine - only Oracle client tools installed with 9.2.0.1 and then updated to 9.2.0.7. Before the update the sqlplus was working just fine. After the patch run, I'm not able to connect viw sqlplus.
There were no errors when running the patch.
Thanks a lot,mj -
ORA-12560: TNS Protocol adapter error after full database restore.
Good afternoon,
Following the steps given in page 9-32 of the 2 Day DBA document, after doing a full database restore, the home page shows:
NOTE: all of the output shown in this post is obtained directly from the host not a client. AND all using ENTERPRISE MANAGER.
1. The database instance is down
2. The listener is up
3. Agent Connection to Instance has status of Failed, followed by ORA12505: TNS: listener does not currently know of SID in connect descriptor (DBD ERROR: OCIServerAttach)
When I try to connect as sysdba using SQL Plus, I get the output shown below:
0 18:14 [Oracle] [13G] [2,031M] E:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN>
tnsping dbca
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 30-AUG-2
010 18:14:36
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
E:\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = orahost.john.local)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dbca.
john.local)))
OK (50 msec)
0 18:14 [Oracle] [13G] [2,050M] E:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN>
sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 30 18:17:53 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect
Enter user-name: sys as sysdba
Enter password:
ERROR:
ORA-12560: TNS:protocol adapter error
SQL>All I did was perform a full database restore in the same database, the simplest case. Any ideas as to why I can no longer connect ?
Thank you very much for your help,
John.
Edited by: 440bx - 11gR2 on Aug 30, 2010 6:58 PM - added Using Enterprise Manager.I don't know what else I could have done given the behavior of the service.You can avoid problems like this in the future by avoiding Windows & using any approved *NIX Operating System.
No such "service" or daemon exist on any *NIX OS. -
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 -
Hi everyone,
I setup oracle11.2 for the first time without DB creation. I work on windows7. To create my DB while activating the entreprise manager, it ask me to create a listener using necta. When I execute it, the listener is created, but I cannot launch it. When I execute the LSNRCTL start I have:
TNS-12560 erreur d'adaptateur de protocoleTNS-00530 erreur d'adaptateur de protocole
The created files are:
Listener.ora:
# listener.ora Network Configuration File: D:\app\Me\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\Me\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\Me\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Me-PC)(PORT = 1521))
ADR_BASE_LISTENER = D:\app\Metnsnames.ora
# tnsnames.ora Network Configuration File: D:\app\Me\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)The sqlnet.ora is:
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)When I execute the tnsping with the adress given in listener.ora I have:
TNS-03505 echec de la resolution du nomIt seems to be a common problem, but unfortunatly I can't found a solution that works.
I m waiting for any help. thnx.I have found only the oraInstall.out and the oraInstall.err but not .log
oraInstall.out is the following:
Le journal de cette session d'installation se trouve dans :
C:\Program Files\Oracle\Inventory\logs\installActions2012-07-18_04-14-57PM.log
Dll to load is C:\Users\Me\AppData\Local\Temp\OraInstall2012-07-18_04-14-57PM\Win64RunProcesses.dll
Loading psapi.dll from C:\Users\Me\AppData\Local\Temp\OraInstall2012-07-18_04-14-57PM\psapi.dll
INFO: d:\app\me\product\11.2.0\dbhome_1\odp.net\bin\2.x\oracle.dataaccess.dll is registered successfully in GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\odp.net\bin\2.x\resources\fr\oracle.dataaccess.resources.dll is registered successfully in GAC.
INFO: Configuration Section "oracle.dataaccess.client" removed!
INFO: Oracle.DataAccess.Dll Provider Factory entry removed!
INFO: The following section has been added.
+<section name="oracle.dataaccess.client" type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />+
INFO: The following element added under DbProviderFactories.
+<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />+
INFO: policy.2.102.oracle.dataaccess is un-registered successfully from GAC.
INFO: policy.2.111.oracle.dataaccess is un-registered successfully from GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\odp.net\publisherpolicy\2.x\policy.2.102.oracle.dataaccess.dll is registered successfully in GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\odp.net\publisherpolicy\2.x\policy.2.111.oracle.dataaccess.dll is registered successfully in GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\asp.net\bin\2.x\oracle.web.dll is registered successfully in GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\asp.net\publisherpolicy\2.x\policy.2.111.oracle.web.dll is registered successfully in GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\asp.net\bin\2.x\resources\fr\oracle.web.resources.dll is registered successfully in GAC.
+<add name="OracleMembershipProvider" type="Oracle.Web.Security.OracleMembershipProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression="" />+
+<add name="OracleProfileProvider" type="Oracle.Web.Profile.OracleProfileProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" />+
+<add name="OracleRoleProvider" type="Oracle.Web.Security.OracleRoleProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" />+
+<add name="OracleSiteMapProvider" type="Oracle.Web.SiteMap.OracleSiteMapProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" securityTrimmingEnabled="true" />+
+<add name="OraclePersonalizationProvider" type="Oracle.Web.Personalization.OraclePersonalizationProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" />+
+<add name="OracleWebEventProvider" type="Oracle.Web.Management.OracleWebEventProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" buffer="true" bufferMode="OracleNotification" />+
INFO: d:\app\me\product\11.2.0\dbhome_1\ode.net\bin\2.x\oracle.database.extensions.dll is registered successfully in GAC.
And the oraInstall.err is:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
+ at java.awt.Dimension.<init>(Dimension.java:91)+
+ at oracle.bali.ewt.text.MultiLineLabel.layoutCanvas(Unknown Source)+
+ at oracle.bali.ewt.scrolling.ScrollableComponent.getPreferredSize(Unknown Source)+
+ at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:911)+
+ at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:816)+
+ at java.awt.GridBagLayout.ArrangeGrid(GridBagLayout.java:1412)+
+ at java.awt.GridBagLayout.arrangeGrid(GridBagLayout.java:1372)+
+ at java.awt.GridBagLayout.layoutContainer(GridBagLayout.java:712)+
+ at java.awt.Container.layout(Container.java:1401)+
+ at java.awt.Container.doLayout(Container.java:1390)+
+ at java.awt.Container.validateTree(Container.java:1473)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validate(Container.java:1448)+
+ at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)+
+ at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)+
+ at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)+
+ at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)+
+ at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)+
+ at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)+
+ at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)+
+ at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)+
+ at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)+
thanks -
TNS 12560 -Protocol Adaptor Error
Platform : windows 2000
Oracle: 10g
when i stop all services of oracle, and going to connect as sysdba, it returns me TNS Protocol adaptor error,
i thought when we connect as sysdba , oracle authenticate its password from password file and then connect with idle instance.
kindlt guide me where i m wronge
thanksThis behaviour is Windows specific , service OracleService<SID> must be up and running.
-
TNS-12560: TNS:protocol adapter error - Of a different sort
Hi ,
Have a unique problem.
System :- Win 2K
I have installed 9iDB & 9iDS. They were working perfectly fine. I was able to connect to DB from forms. But due to some restrictions i had to resort to 6i forms.
Now i installed 6i forms on the same machine. But when i try to connect to DB i get the TNS:Protocol Adapter error. I am sure the instance and the listener is up and running. Because still i am able to connect from 9i forms. The DB name is MYDB.
The error i am getting is :-
========================
Fatal NI connect error 12203, connecting to:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle80)(ARGV0=oracle80ORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=C:\Oracle6i\BIN\PLUS80W.EXE)(HOST=xxx.xxx.xxx.xxx)(USER=Myself))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 8.0.6.0.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.0.6.0.0 - Production
Time: 01-DEC-05 18:33:56
Tracing not turned on.
Tns error struct:
nr err code: 12203
TNS-12203: TNS:unable to connect to destination
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
nt secondary err code: 0
nt OS err code: 0
===============================
Can someone please guide me as to how i can connect to my 9iDB from 6iforms.
Thanks & Regards,
AnandhOracle is a bit touchy with tnsnames.ora spelling. I copied your entry, just changing names :
MYDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
$ sqlplus scott/tiger@mydb
SQL*Plus: Release 9.2.0.4.0 - Production on Fri Dec 2 11:20:24 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve service nameThen I change MYDB entry, just adding some spaces :
MYDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
$ sqlplus scott/tiger@mydb
SQL*Plus: Release 9.2.0.4.0 - Production on Fri Dec 2 11:23:17 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
SQL> That's why I told you of Easy configuration, but if you cannnot use it.....
Did you try copying 9iDS SQLNET.ORA and TNSNAMES.ORA to 6i Home ? -
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-protocol adaptor error
hi,
i installed oracle 8.1.6 wnidows NT-4.0 SP-4.0 in a pentium m/c ,64 mb ram ,standalone server.. i opted for typical installation.it was successful,but when i type svrmgrl or lsnrctl its giving 12560 error.i refered oracle error documentation ,but i couldnt recitfy.i congiured tcp/ipplease give me the solution to solve this.
i 've given the sqlnet.log message below:
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=D:\Oracle\Ora 81\bin\SVRMGRL.EXE)(HOST=SOFT)(USER=Administrator))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 8.1.6.0.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.1.6.0.0 - Production
Time: 01-SEP-2000 12:51:44
Tracing not turned on.
Tns error struct:
nr err code: 0
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
nt secondary err code: 2
nt OS err code: 0
thankx in advance
regards
rajinikanthAre your oracle services logging on as localhost? cause if they
are that may be your problem. change the log on user to your
local administrator with their password (i.e.
administrator/******). Oracle DB and the other services have a
problem starting up with the localhost. they appear to startup
but don't actually startup.
Maybe you are looking for
-
The booklet says the sensor is always "awake" but that if you want to put it to sleep you just press the little button on the back with a pen or something. But how do you know when it's asleep or not? I don't want my battery to run down when not usin
-
Recording my cell phone conversations.
How can I record a cell phone conversation on my Nokia windows phone? Is there an app for this? Or something I'm missing on the phone?
-
How do i find what generation my iPad is
how do i find what generation my iPad is
-
Pl/SQL procedure + framework extension
Hello, We have requirement to write common pl/sql procedure calling method to execute the pl/sql procedure called from ADF BC entityImpl and Application module Impl classes. While reading document it is mentioned to add it in adf bc framework extensi
-
Hi, We want to upload HR Minimaster data for info type 001, 002, and 006. Wer understand for Address data screen /fields changes as per country defined in infotype 001. I am in process of designing Collection / load template for the same hence would