TNS: Protocol adaptor not loadable
Hi,
I am facing TNS: Protocol adaptor not loadable error when i am trying to login from SQLPLUS.
But from the command prompt when I open sqlplus I am able to login. Also I am able to TNSPING my service (PROD).
I am using Oracle 11g, This was installed along with EBS 12.1.1 My OS is Windows Server 2003 SP1.
All my environment variables are properly set.
I am unable to think of possible reasons.
Thank You,
Niranjan.
NiranjanN wrote:
I am facing TNS: Protocol adaptor not loadable error when i am trying to login from SQLPLUS.
But from the command prompt when I open sqlplus I am able to login. Please clarify. Do you have two Sqlplus? Which one works and which one doesn't? Note that 11.1 does not have sqlplusw.exe, only console (command prompt) version exists.
I am using Oracle 11g, This was installed along with EBS 12.1.1 My OS is Windows Server 2003 SP1.
All my environment variables are properly set.Are you sure? Seems like you are "mixing homes". Does this EBS have an Oracle Client inside perhaps?
ProcessMonitor is a good tool, with which you could find out from where files actually are loaded.
Edited by: orafad on Jul 24, 2009 9:38 AM
Similar Messages
-
ORA 12557 TNS Protocol Adaptor not lodable at OCI call
Hi Gurus,
I am not able to connect with oracle 11g data base, when ever i am updating row count its throwing this error ORA 12557 TNS Protocol adaptor not lodable at OCI Call, data base is up i am seeing the data through sql developer, even i checked the system variable path Eventhough this error is getting while testing DSN some times its showing successfull sometimes its throwing error
0xc1
[nQSError:46029] Failed to load the DLL
C:\OracleBI\server\Bin\nqsdbgatewayoci10g.dll. Check if 'Oracle OCI
10G' database client is installed.
Please help me to resolve this errors
Regards,
PrasadHi Kalyan,
Thanks for your reply, i am using obiee 10.1.3.4.2 and data base is 11g, we tested this on normal system it works well after moving to the server its displaying those errors, I am connecting through TNS, In SQL Developer i am seeing the data, but in obiee i am not seeing while testing odbc connection sometimes its successfull while in physical layer if i click on view data i am geting this error ORA 12557 TNS Protocol Adaptor not lodable at OCI call. BI server not able to make a connection with database.
Regards,
Prasad -
Oracle 9i Database gives the error "ORA-12560: TNS: Protocol Adaptor Error"
Hi
I am working on Oracle9i Database, but from few days there is a problem, I can not enter in the database using SQL*PLUS or any other tool. When I give the user name and password it give the error message, that is given below:
"ORA-12560: TNS: Protocol Adaptor Error"
Please help me regarding this error.
Gul Bahar OadA bit generic .... In SqlPlus are you connecting from the server or from a Client ?
Did you check if the listener is running ?
Did you try tnsping ?
What is your OS ? -
Ora-12560 while installing 10g standard edition tns protocol adaptor error
hi all ,
while i am installing oracle database standard edition on my windows xp , i got this error
ora-12560 tns protocol adaptor error , when i got to the step of
configuration assistants .
-oracle net configuration assistant succeeded , but
oracle database configuration assistant failed unfortunately !!
please help me rapidly , i left the installer on that step until you answer me ,
thanks in advancesemsem wrote:
hi all ,
while i am installing oracle database standard edition on my windows xp , i got this error
ora-12560 tns protocol adaptor error , when i got to the step of
configuration assistants .
-oracle net configuration assistant succeeded , but
oracle database configuration assistant failed unfortunately !!
please help me rapidly , i left the installer on that step until you answer me ,
thanks in advance1) V10 is obsoleted & unsupported
2) I bet that you did not follow Installation Guide & complete all prerequisites.
3) SQL*Net is not required to manage, start, or use local Oracle DB -
Hi all, I need your help.
I'm using forms 10g on an oralce 10g database, the program is successfully compiled but when running it, it gives me the 12560 error "TNS: Protocol Adaptor Error"
does anybody have any idea?Hi ,
The Oracle Doc says to take the following action in this situation:
'Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors. For further details, turn on tracing and reexecute the operation. Turn off tracing when the operation is complete'.
Simon -
Ora 12560 - TNS Protocol Adaptor Error
Hi .
I have downloaded Oracle 11 g from Oracle .com
After installation i started Command line for oracle
Used c:\> sqlplus
After entering username and password which i set at the time on installation
I got error
ORA 12560 : TNS Protocol Adaptor error
Any idea....
ThanksHello,
You may set the ORACLE_SID first:
set ORACLE_SID=XE
sqlplus user/passwordElse, check for the Service OracleServiceXE in the Control Pannel. It should be started.
Hope this help.
Best Regards,
Jean-Valentin -
Script: D:\Connection.vbs
Line: 10
Char: 1
Error: [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adaptor error
Code: 80004005
Source: Microsoft OLE DB Provider for ODBC Drivers
Connection.vbs file has following contents:
Dim strCon
strCon = "Driver={Microsoft ODBC for Oracle}; " & _
"CONNECTSTRING=(DESCRIPTION=" & _
"(ADDRESS=(PROTOCOL=TCP)" & _
"(HOST= TRISHUL)(PORT=1525))" & _
"(CONNECT_DATA=(SERVICE_NAME=BTFLVAS))); uid=odb;pwd=odb;"
Dim ocon1:set ocon1=CreateObject("ADODB.Connection")
ocon1.open strCon
************************************************** ****************The Service name BTFLVAS
It looks like you are connecting through CLient but you also have TNSNAMES.ora entry
How do you connect?
ODBC or Oracle Clinet? -
ORA-12560 TNS:Protocol Adapter Error and ORA-12557 Error
Hello ,
I have installed Oracle 11.2.0 64 bit database on my Windows 7 ( Home Premium) PC which is also 64 bit. I installed it because I am trying to setup Informatica. Later, I learnt that informatica is 32 bit and can not communicate to Oracle 11.2.0 64 bit database. So after digging through solutions, someone mentioned that I need to install Oracle 11g client 32bit.
I have installed 11g client software successfully now. Here is problem though :
When I launch SQL-Plus from 11g database , it works fine. However I launch SQL-Plus from 32bit client it gives me error as :
Ora-12560 :TNS: Protocol Adapter Error.
So I have been trying to resolve this error. I saw that this question has been posted many many times and have tried many thing as listed below :
1. copy tnsnames.ora from database ( dbhome_1) to client installation ( client_1 ) under ..\network\admin\ --- Didn't work.
2. Set $ORACLE_HOME and $ORACLE_SID environment variable.
Here is interesting fact - If I set $ORACLE_HOME to database path and not client path error changes to :
ORA-12557 TNS: Protocol adapter not loadable.
If I keep $ORACLE_HOME as client path then I get same error as earlier ORA-12560.
3. I have also tried changing $PATH variable. I did set to path containing only database installation, only client installation, both database and client installation with database installation appearing first
But all of these haven't worked.
Can anyone please suggest what I am missing and any further things I could try ?
Thank you in advance !982090 wrote:
Hello ,
I have installed Oracle 11.2.0 64 bit database on my Windows 7 ( Home Premium) No oracle product is certified to run on any 'home' edition of any version of Windows.
PC which is also 64 bit. I installed it because I am trying to setup Informatica. Later, I learnt that informatica is 32 bit and can not communicate to Oracle 11.2.0 64 bit database.If the connection is via TNS, the bit architecture shouldn't matter.
So after digging through solutions, someone mentioned that I need to install Oracle 11g client 32bit.
I have installed 11g client software successfully now. Here is problem though :
When I launch SQL-Plus from 11g database , it works fine. However I launch SQL-Plus from 32bit client it gives me error as :
Ora-12560 :TNS: Protocol Adapter Error.
So I have been trying to resolve this error. I saw that this question has been posted many many times and have tried many thing as listed below :
1. copy tnsnames.ora from database ( dbhome_1) to client installation ( client_1 ) under ..\network\admin\ --- Didn't work.
2. Set $ORACLE_HOME and $ORACLE_SID environment variable.
Here is interesting fact - If I set $ORACLE_HOME to database path and not client path error changes to :
ORA-12557 TNS: Protocol adapter not loadable.
If I keep $ORACLE_HOME as client path then I get same error as earlier ORA-12560.
3. I have also tried changing $PATH variable. I did set to path containing only database installation, only client installation, both database and client installation with database installation appearing first
But all of these haven't worked.
Can anyone please suggest what I am missing and any further things I could try ?
Thank you in advance !unfortunately, we need to know exactly how you tried to connect with sqlplus when it "worked" and when it "didn't work". The key to the reported error messages is highly dependent on the environment settings AND the specification of the connect string. A copy and paste of the entire command line session would be most helpful.
But again, running on any 'home' edition of windows is not supported. -
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 -12650 Protocol Adaptor error
Hello everyone,
I am facing TNS-12560 error while connecting to oracle server from client side.
I am using VMWare workstation for practice. On one I install Oracle server on linux 4.0 & on other I install Oracle Client on Windows –XP .My server IP address is 192.168.73.129 on which the Oracle server is install & 192.168.73.130 on which client software installed. I am able to ping both machine from each other.
But when I use tnsping command I am getting the TNS-12650 error
When I use tnsping 192.168.73.129 I get
TNS-12560: TNS:protocol adaptor error
My Oracle Server tnsmaes.ora is as follows:-
# tnsnames.ora Network Configuration File:
home/oraeng/app/oracle/product/10.2.0/network/admin/tnsname.ora
# Generated by Oracle configuration tools.
BPLPRAGS=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.73.129)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = bplprags)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
And my client side tnsnames.ora is as follows:-
# tnsnames.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
BPLPRAGS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.73.129)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = bplprags)
When I use tnsping 192.168.73.129 from my client I got TNS-12650 TNS:Protocal adaptor error.
Please help me out to solve this problem.In the same folder of your client machine, check to make sure your SQLNET.ORA specifies that it's using TNSNAMES.
-
TNS-12560: TNS:protocol adapter error listener not starting up.
Hi all
we came to an issue where we have to move our server from one data centre to another after unplugging the machine and re-plugging the server
1) Operating system (OEL 5.1) started.
2) Database 11gR2 started.
3) Listener Failed to Start.
[oracle@yam01 tmp]$ lsnrctl start lsn_yscc12
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-OCT-2012 07:57:58
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
[oracle@yam01 tmp]$
When checked in sqlnet.log we found.
[oracle@yam01 log]$ cat sqlnet.log
Directory does not exist for read/write [u01/app/oracle/product/11.2.0/log] [u01/app/oracle/product/11.2.0/log/diag/clients]
[oracle@yam01 log]$
/u01/app/oracle/product/11.2.0/log
/u01/app/oracle/product/11.2.0/log/diag/clients --> here under diag folder client folder was missing.
drwxrwxr-x 3 oracle oinstall 4096 Sep 30 12:59 /u01/app/oracle/product/11.2.0/log/diag/
*[oracle@yam01 log]$ cd /u01/app/oracle/product/11.2.0/log/diag/clients*
-bash: cd: /u01/app/oracle/product/11.2.0/log/diag/clients: No such file or directory
*[oracle@yam01 log]*
[oracle@yam01 diag]$ mkdir clients
[oracle@yam01 diag]$ ls -ltr
total 12
drwxr-x--- 3 oracle oinstall 4096 Sep 30 12:59 rdbms
-rw-r----- 1 oracle oinstall 15 Oct 2 07:43 adrci_dir.mif
drwxr-xr-x 2 oracle oinstall 4096 Oct 2 08:27 clients
[oracle@yam01 diag]$
and added *"SUBSCRIBE_FOR_NODE_DOWN_EVENT_lsn_yscc12=OFF"*
and then when started all the listener it started successfully.+_
[oracle@yam01 ~]$ lsnrctl status lsn_yscc12
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-OCT-2012 08:40:19
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=100.100.50.199)(PORT=1603)))
STATUS of the LISTENER
Alias lsn_yscc12
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 02-OCT-2012 08:28:09
Uptime 0 days 0 hr. 12 min. 9 sec
Trace Level admin
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/yam01/lsn_yscc12/alert/log.xml
Listener Trace File /u01/app/oracle/diag/tnslsnr/yam01/lsn_yscc12/trace/ora_10095_3086223040.trc
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=100.100.50.199)(PORT=1603)))
Services Summary...
Service "YSCC12.YAMAMACEMENT.COM" has 1 instance(s).
Instance "yscc12", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@yam01 ~]$
Thanks all for Reading this post
hope if you came across this issues this may work for you.
Best Regards
Kaleem.Welcome to OTN
Thank you For you sharing :) -
TNS:listener could not find available handler with matching protocol stack
Hi,
I am getting the following stack trace in b2b.log file:
2009.01.06 at 14:34:35:869: Thread-108: BusinessLogicLayer - (ERROR) caught error: Error -: AIP-13002: SQL error getting the DataSource
2009.01.06 at 14:34:35:870: Thread-108: IP - (ERROR) java.sql.SQLException: Listener refused the connection with the following error:
ORA-12516, TNS:listener could not find available handler with matching protocol stack
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))(LOAD_BALANCE=yes)(CONNECT_DATA=(SERVICE_NAME=test)))
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:292)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:327)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:429)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:217)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:113)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:76)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:58)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:493)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:368)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:306)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:285)
at oracle.tip.buslogic.common.DBConnectivity.getConnection(DBConnectivity.java:151)
at oracle.tip.buslogic.common.ExecutionContextImpl.getService(ExecutionContextImpl.java:379)
at oracle.tip.buslogic.common.ExecutionContextImpl.setRuntimeActiveandQuiescing(ExecutionContextImpl.java:799)
at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:130)
at oracle.tip.adapter.b2b.data.B2BExecutionContext.activate(B2BExecutionContext.java:98)
at oracle.tip.adapter.b2b.data.DBContext.initialize(DBContext.java:90)
at oracle.tip.adapter.b2b.data.DataContext.getNewDBContext(DataContext.java:365)
at oracle.tip.adapter.b2b.data.DataContext.getDBContext(DataContext.java:346)
at oracle.tip.adapter.b2b.transport.InterfaceListener.onMessage(InterfaceListener.java:232)
at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:858)
at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:302)
When I ran the enquire script. I am getting the following exception:
IPEnqueue start...
Action Name = null
oracle.jms.AQjmsException: ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
ORA-06512: at "SYS.DBMS_AQIN", line 454
ORA-06512: at line 1
at oracle.jms.AQjmsProducer.enqueue(AQjmsProducer.java:1180)
at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1407)
at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1512)
at oracle.tip.adapter.b2b.data.IPEnqueue.main(IPEnqueue.java:201)
[Linked-exception]
java.sql.SQLException: ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
ORA-06512: at "SYS.DBMS_AQIN", line 454
ORA-06512: at line 1
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:315)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:281)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:638)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:183)
at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:872)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1085)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2983)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3025)
at oracle.jms.AQjmsProducer.enqueue(AQjmsProducer.java:1110)
at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1407)
at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1512)
at oracle.tip.adapter.b2b.data.IPEnqueue.main(IPEnqueue.java:201)
Error -: AIP-13121: Connection-related error. Please verify that the database server is running.: java.sql.SQLException: Closed Connection
at oracle.tip.buslogic.common.SessionDownException.isSessionDown(SessionDownException.java:96)
at oracle.tip.common.IPException.initIPException(IPException.java:179)
at oracle.tip.common.IPException.<init>(IPException.java:114)
at oracle.tip.repos.core.persistency.DCException.<init>(DCException.java:68)
at oracle.tip.repos.core.driver.CatalogDriver.disconnect(CatalogDriver.java:1666)
at oracle.tip.repos.core.persistency.PersistencyService.disconnect(PersistencyService.java:578)
at oracle.tip.buslogic.common.ExecutionContextImpl.disconnectService(ExecutionContextImpl.java:602)
at oracle.tip.buslogic.common.ExecutionContextManager.cleanContextResources(ExecutionContextManager.java:629)
at oracle.tip.buslogic.common.ExecutionContextManager.leaveContext(ExecutionContextManager.java:581)
at oracle.tip.buslogic.common.ExecutionContextManager.leaveContext(ExecutionContextManager.java:720)
at oracle.tip.adapter.b2b.data.IPEnqueue.main(IPEnqueue.java:245)
Caused by: java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:226)
at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1041)
at oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:90)
at oracle.tip.repos.core.driver.CatalogDriver.disconnect(CatalogDriver.java:1662)
... 6 more
I tested the database and it was up. Any help is appreciated.You may be interested in http://www.tek-tips.com/viewthread.cfm?qid=1368266&page=10
-
Not able to connect from linux client. Get TNS-12560: TNS:protocol adapter
Hi,
Details of the configuration :
Server:
RHEL4: 10.2.0.3 Oracle Enterprise Database installed.
SID = orcl, port 1521.
Client:
RHEL4 : 10.2.0.x client installed.
Whenever, I try to connect from Client to server, I get following error:
For tnsping orcl I get following error :
TNS-12560: TNS:protocol adapter error
I get the same error even, If I do a sqlplus "scott/tiger@orcl" with TNS_ADMIN, ORACLE_HOME everything set correctly.
On the server, I am able to connect to the same db without any problem. I have following env set ORACLE_HOME, TNS_ADMIN and PATH. Here, I am trying to make sure that the sqlplus goes through the listner.
Any help is appreciated. Please let me know if you need more information.
Thanks much.
V.ChandrashekarEnsure your listener is properly configured and started. Check the listener's address and verify you can tnsping it with the tnsping command:
tnsping orcl
On the other side, make sure your tnsnames.ora file on the client side has properly configured the address where the listener is located.
~ Madrid -
ORA-12514: TNS:listener does not currently know of service requested
While connecting "sqlplus SYSADM/SYSADM@HCM" I am getting the below error:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Installation background:
Windows 7 l(64-bit) laptop.
Created linux virtualbox to installl peoplesoft VM templates.
so far installed: Oracle11gR2.vdi and HCMDB.vdi on the linux virtualbox.
Followed the steps exactly what it is in the link below: Got the above error in page 4 of the link at connecting to database via sqlplus.
http://bloggingaboutoracleapplications.org/running-oracle-vm-templates-oracle-enterprise-linux-guide-part-1-7/
Below provided initHCM.ora, tnsnames.ora, listerner.ora and some responses I tried. I could not figure out what causing the issue even after researching in web.
Your help would be highly appreciated.
tnsnames.ora:
=============
# tnsnames.ora Network Configuration File:
HCM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hcmdb91)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HCM)
Listener.ora:
=============
# listener.ora Network Configuration File:
/u01/app/oracle/product/11.2.0.x/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hcmdb91)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
initHCM.ora:
============
DB_FILES =256
OPEN_CURSORS = 1000
db_block_size = 8192
remote_login_passwordfile = NONE
undo_tablespace=PSUNDOTS
NLS_LENGTH_SEMANTICS=CHAR
# Cache and I/O
#db_block_size=
db_file_multiblock_read_count=16
# Database Identification
# db_domain=us.oracle.com
# db_name=
# Diagnostics and Statistics
#background_dump_dest=
#core_dump_dest=
#user_dump_dest=
# Job Queues
job_queue_processes=10
# Processes and Sessions
processes=150
# SGA Memory
sga_target=287309824
# Security and Auditing
#audit_file_dest=
#remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=XDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=95420416
# System Managed Undo and Rollback Segments
undo_management=AUTO
#undo_tablespace=
unnestsubquery=false
# Miscellaneous
compatible=11.2.0.2.0
control_files=(/u01/app/oracle/oradata/HCM/control01.ctl)
DB_NAME=HCM
[oracle@hcmdb91 ~]$ tnsping hcm
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013
07:40:37
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
hcmdb91)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
HCM)))
OK (20 msec)
[oracle@hcmdb91 ~]$
[oracle@hcmdb91 ~]$ tnsping hcm
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013
07:40:37
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
hcmdb91)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
HCM)))
OK (20 msec)
[oracle@hcmdb91 ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:41:32
Copyright (c) 1991, 2010, Oracle. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
[oracle@hcmdb91 ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:42:20
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcmdb91)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 28-MAR-2013 07:29:21
Uptime 0 days 0 hr. 13 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
/u01/app/oracle/product/11.2.0.x/db_1/network/admin/listener.ora
Listener Log File
/u01/app/oracle/product/11.2.0.x/db_1/log/diag/tnslsnr/hcmdb91/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hcmdb91.example.com
)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
[oracle@hcmdb91 ~]$ lsnrctl services
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:42:44
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcmdb91)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@hcmdb91 ~]$
[oracle@hcmdb91 ~]$ sqlplus SYSADM/SYSADM@HCM
SQL*Plus: Release 11.2.0.2.0 Production on Thu Mar 28 07:44:25 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in
connect descriptor
My guess is that the database service "HCM" is not up and running but not sure how to make up and running. Even I could not find it listed in the linux services list.
Note: Able to login sqlplus using "sqlplus sys/sys as sysdba" but failing to access database table as "select * from PSRECDEFN;"
thanks
Espii.
Edited by: 995437 on Mar 28, 2013 6:52 AM
Edited by: 995437 on Mar 28, 2013 6:59 AMHi Nicolas,
I have no luck and the error still persists.
I have set the "export ORACLE_SID=HCM" from root user and oracle user too.
I guess, I have already loaded database when I ran the "cd /opt/oracle/psft/vm
./oraclevm-template.sh"
The outcome of the above script as similar as below:
Creating
ovm_configure_pre
CreateVirtualEnvironment
/u01/scripts/db-reconfig.sh: line 238: ovm_set_password: command not found
/u01/scripts/db-reconfig.sh: line 239: ovm_configure_network: command not found
INFO:
Starting Oracle database reconfiguration.
Oracle Database Configuration
This will configure on-boot properties of Oracle Database.
The following questions will determine whether the database should be
starting upon system boot, the ports it will use.
Press <Enter> to accept the defaults.
Do you want to relink binaries? (y/n) [n] y
Specify a port that will be used for the database listener [1521]:
Do you want Oracle Database to be started on boot (y/n) [y]:y
Wrote to /etc/sysconfig/oracle11g
Relinking Oracle Binaries...
Oracle Relinking Completed Successfully
Logs: /home/oracle/relink.log
Running orainstRoot.sh and root.sh...
set 2GB tmpfs
Enabling Oracle Database service
Configuration Completed Successfully.
Enter the name of the database SID [TESTDB]:HCM
ORACLE instance started.
Total System Global Area 288104448 bytes
Fixed Size 2225832 bytes
Variable Size 104859992 bytes
Database Buffers 176160768 bytes
Redo Buffers 4857856 bytes
Control file created.
Database altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
1 row updated.
160 rows updated.
Commit complete.
Kumar - I have found no sqlnet.ora file exist in the $ORACLE_HOME/NETWORK/ADMIN
Edited by: 995437 on Mar 28, 2013 9:15 AM -
Unable to create database due to ORA-12560, TNS protocol adapter error
Hello,
I'm trying to create an 8.1.7.0 database on a W2k server, but it is failing because as soon as svrmgrl is launched, I get an ORA-12560, TNS: protocol adapter error:
D:\oracle\db_creation_scripts>D:\oracle\ora81\bin\svrmgrl @D:\oracle\db_creation_scripts\mterm62run.sql
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
ORA-12560: TNS:protocol adapter errorEcho ON
SVRMGR> connect INTERNAL/manager
ORA-12560: TNS:protocol adapter error
SVRMGR> startup nomount pfile="D:\oracle\admin\mterm62\pfile\initmterm62.ora"
LCC-00161: Message 161 not found; product=RDBMS; facility=MGR
My ORACLE_HOME, ORACLE_SID, and TNS_ADMIN environmental variables are correctly set, and I'm able to tnsping the listener.
I've enabled tracing, and my client trace file is:
--- TRACE CONFIGURATION INFORMATION FOLLOWS ---
New trace stream is d:\trace\client_trace.log_2084_9.trc
New trace level is 6
--- TRACE CONFIGURATION INFORMATION ENDS ---
--- PARAMETER SOURCE INFORMATION FOLLOWS ---
Attempted load of system pfile source d:\oracle\ora81\network\admin\sqlnet.ora
Parameter source loaded successfully
Attempted load of local pfile source D:\oracle\db_creation_scripts\sqlnet.ora
Parameter source was not loaded
-> PARAMETER TABLE LOAD RESULTS FOLLOW <-
Successful parameter table load
-> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
TRACE_DIRECTORY_SERVER = d:\trace
TRACE_DIRECTORY_CLIENT = d:\trace
NAMES.DIRECTORY_PATH = (TNSNAMES, HOSTNAME)
SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
TRACE_FILE_CLIENT = client_trace.log
TRACE_FILE_SERVER = server_trace.log
SQLNET.AUTHENTICATION_SERVICES = (NTS)
TRACE_UNIQUE_CLIENT = on
TRACE_LEVEL_CLIENT = ADMIN
TRACE_LEVEL_SERVER = ADMIN
--- PARAMETER SOURCE INFORMATION ENDS ---
--- LOG CONFIGURATION INFORMATION FOLLOWS ---
Log stream will be "D:\oracle\db_creation_scripts\sqlnet.log"
Log stream validation not requested
--- LOG CONFIGURATION INFORMATION ENDS ---
nigini: entry
nigini: Count in NI global area now: 1
nigini: Count in NI global area now: 1
nrigbi: entry
nrigbni: entry
nrigbni: Unable to get data from navigation file tnsnav.ora
nrigbni: exit
nrigbi: exit
nigini: exit
niqname: Hst is already an NVstring.
niqname: Inserting CID.
niotns: entry
niotns: niotns: setting up interrupt handler...
niotns: Not trying to enable dead connection detection.
niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleMTERM62)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=MTERM62)(CID=(PROGRAM=D:\oracle\ora81\bin\SVRMGRL.EXE)(HOST=SERV0354)(USER=tarisa))))
nsmal: 140 bytes at 0x12493f0
nscall: connecting...
nladini: entry
nladini: exit
nladget: entry
nladget: exit
nlpcaini: entry
nlpcaini: prg =
nlpcaini: arg[0] =
nlpcaini: arg[1] =
nlpcaini: exit
nsmal: 420 bytes at 0x12542f0
nsmal: 1712 bytes at 0x12572f0
nsopen: opening transport...
ntpcon: entry
ntpcon: toc = 1
sntpcall: entry
snlpcss: entry
ntpcon: exit
nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=2, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nsopen: unable to open transport
nsmfr: 1712 bytes at 0x12572f0
nsmfr: 420 bytes at 0x12542f0
nladget: entry
nladget: exit
nsmfr: 140 bytes at 0x12493f0
nladtrm: entry
nladtrm: exit
nioqper: error from nscall
nioqper: nr err code: 0
nioqper: ns main err code: 12560
nioqper: ns (2) err code: 0
nioqper: nt main err code: 530
nioqper: nt (2) err code: 2
nioqper: nt OS err code: 0
niomapnserror: entry
niqme: entry
niqme: reporting NS-12560 error as ORA-12560
niqme: exit
niomapnserror: returning error 12560
niomapnserror: exit
niotns: Couldn't connect, returning 12560
niotns: exit
nigtrm: Count in the NI global area is now 0
nnfgdei: entry
nrigbd: entry
nrigbd: exit
nigtrm: Count in the NL global area is now 0
My tnsnames, listener and sqlnet.ora files are very simple:
## BEGIN TNSNAMES.ORA
# TNSNAMES.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
MTERM62 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = mterm62)
(INSTANCE_NAME = mterm62)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = mterm62)
(PRESENTATION = http://admin)
# LISTENER.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = serv0354)(PORT = 1521))
SID_LIST_LISTENER =
(SID_DESC =
(ORACLE_HOME = D:\oracle\ora81)
(SID_NAME = mterm62)
TRACE_LEVEL_LISTENER = ADMIN
# SQLNET.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\sqlnet.ora
# Generated by Oracle configuration tools.
TRACE_DIRECTORY_CLIENT = d:\trace
TRACE_UNIQUE_CLIENT = on
TRACE_DIRECTORY_SERVER = d:\trace
SQLNET.AUTHENTICATION_SERVICES= (NTS)
TRACE_FILE_CLIENT = client_trace.log
TRACE_FILE_SERVER = server_trace.log
TRACE_LEVEL_CLIENT = ADMIN
TRACE_LEVEL_SERVER = ADMIN
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
Does anyone have any ideas what else I can check. I'm a Unix person, not a Windows person, which is making it even more complicated. If I was on Unix, I'd just blow everything away and start again from scratch, but since I'm not sure how to remove all traces from the registry, etc., I don't want to try that on this machine. There was already one other database created, but it's not goign to be used.
Any help would be greatly appreciated.
regards,
Tarisa.hi,
thanks for the info. the problem, as it turns out, was that I was connected to the db server via a terminal service (Microsoft Management Console), which for some reason caused probelms with TNS. After I connected directly to the machine using VNC, I was able to create the database with no problems. strange but true.
regards,
Tarisa.
Maybe you are looking for
-
Hello, I was wondering if someone can help me with this. For a while now, I have been experiencing troubles with my Mac book Pro. Sometimes the screen just goes black and it becomes unresponsive, sometimes the screen has green lines on it while being
-
Hola Last month, I change my OS from XP to Windows 7 and I missing a font The font name is "EUROSTILE TBlaExt-Normal" Can't find it. Anyone of you have it? Can you email it to me please? I got a friend that have it, but live about 70 miles from here,
-
Regarding an error when an idoc is transferred through ALE
hi guys, i have designed a custom message type and sent an idoc from server 1 to server 2 ( receiver system ) <b>using ALE</b>, idoc is transferred fine but data in idoc is not sent to receiver system i mean, there is no data in idoc. i received an e
-
how do i pause the state of my application running in palm when the user hits the home button or any other buttons not from my application? kinda like halfway using the app, user wants to view the menubar, or goes to the home page of palm to use othe
-
I have installed Oracle 9.2.0.1.0. I had a system crash (Ho, HO, Its microsoft). Since that time, I get the following :- ORA-27101: shared memory realm does not exist. when Itry to login. I search technet, and got six results, each telling me I have