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 PM
user5166350 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
Similar Messages
-
[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. -
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: 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 -
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. -
Tns-12560: TNS protocol adapter error on linux
I've installed an oracle 10g database on linux 4.6 in a VMWare image. After opening an x term window within the image, I'm getting a tns-12560 error when both running tnsping and opening a sqlplus session as a database user. The listener and database seem to start fine. I've included entries for sqlnet.ora, tnsnames.ora and ORACLE_SID and ORACLE_HOME values for my user.
mui> tnsping orcl
Used parameter files:
/pinmaster/newtools/oracle_10.2/linux/network/admin/sqlnet.or
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = cgbu-p731v2.us.oracle.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
TNS-12560: TNS:protocol adapter error
From sqlnet.ora: NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
From tnsnames.ora:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cgbu-p731v2.us.<<my domain entry>>.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
This is from init.ora
# Database Identification
db_domain=""
db_name=orcl
Environment variables for the database user:
9mui> env | grep ORACLE_SID
ORACLE_SID=orcl
13mui> env | grep ORACLE_HOME
ORACLE_HOME=/pinmaster/newtools/oracle_10.2/linuxOne of the more common issues causing 12560 is that the host in the listener.ora does not match current host name. Commonly caused by dhcp.
Your tnsnames.ora looks for cgbu-p731v2.us.oracle.com
Your listener.ora want to listen for cgbu-p731v2.us.<<my domain entry>>.com
Your hostname is ??? (enter 'hostname' at command line) -
TNS-12560: TNS:protocol adapter error on Oracle Enterprise Linux
hi,
I am getting -
TNS-12560: TNS:protocol adapter error when I try to connect the Db installed on Oracle Enterprise Linux from other machines.
I made all the .bash_profile changes and created one shared listener also to check whether there is any problem with the dedicated default listener or its port.
Please suggest the solution .
Regards
sumit chaudharyYou need to open the firewall on OEL.
Edit the contents of /etc/sysconfig/iptables file. I added the line in bold:
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state state NEW -m tcp -p tcp dport 22 -j ACCEPT
*-A RH-Firewall-1-INPUT -m state state NEW,ESTABLISHED,RELATED -m tcp -p tcp dport 1521 -j ACCEPT*
-A RH-Firewall-1-INPUT -m state state NEW -m udp -p udp dport 137 -j ACCEPT
-A RH-Firewall-1-INPUT -m state state NEW -m udp -p udp dport 138 -j ACCEPT
-A RH-Firewall-1-INPUT -m state state NEW -m tcp -p tcp dport 139 -j ACCEPT
-A RH-Firewall-1-INPUT -m state state NEW -m tcp -p tcp dport 445 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
As you can see, my listener port is 1521.
Do not put that line after the line with REJECT keyword ( it won't work then) !
Save and close the file. Restart iptables:
/etc/init.d/iptables restart
Now you can connect from the outside.
It works on my OEL version 5 update 4.
Maybe you are looking for
-
Error_Exception dump while opening the report in RRMX
Hi All, When User trying to open the report Error_Exception dump is coming for few Info Providers. Please find attached dump for your reference.
-
Error while precompiling the JSP using weblogic 7.0
Hi I am trying to precompile jsp file which is there in a war.Main jsp file code includes one more jsp which is there in other folder under defaultweb directory. While deploying the war i am getting the following error.Can any bosy help me in this re
-
FWZE transaction , call transaction is not working as 4.6C (TR-TM)
Hi , After upgrade from 4.6C to ECC 6, the call transaction statement is behaving different. We are using a custom program in which we are calling the standard transaction FWZE . In 4.6C ,After carrying out posting, when we click back, the next stat
-
Content Alignment in webdynpro iView based on user language
Hi, We have a webdynpro application which has a search screen (Arabic as well as English), based on the user language setting in Portal UME, the respective language text with options are displayed. This webdynpro application runs on same WAS where Po
-
I got this emails from MSI regarding availabillity of Dual-Net Card (the combination of 802.11g wireless networking and Bluetooth technology) and K8N Neo2 Platinum motherboard. Hi, Thanks for your attention for our innovative Dual-Net Card. Dual-Net