I couldn't figure it out-ORA-12514
I tried to connect to my local Oracle 10 g DB through TOAD, I get this error:ORA-12514: TNS:listener is not currently of service requested in connect descriptor
What can I do?
My host is localhost.
ORA-12514: TNS:listener is not currently of service requested in connect descriptor Cause: the listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a name for a service (usually a database service) has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such that the listener has started, but before the database instance is registered with the listener.
Action:
-Wait a moment and try to connect again.
-Check what services are currently known by the listener by executing: lsnrctl services
-Check that the SERVICE_NAME parameter in the descriptor of connection of the net service name used specifies a service called by the listener. -If a simple connection naming connect identifier was used, check that the specified service name is a service called by the listener. -Search for an event in the listener.log file.
Tags: Database
Similar Questions
-
The ORA-12514 error when you try to connect remotely
I am trying to connect remotely to the 12 c with SQL Developer Oracle database. In order to connect remotely from another computer, on the server that is running Oracle, I opened a port in the firewall of Windows 7. The listener.ora file, as you can see below, has its default listening port set to localhost. So, I created second listener called REMOTE_LISTENER, to listen on a different port to 1521. I put it in place of 1531. That part worked, but now the listener isn't me in due to this error IN what ORA-12514 earphone does not currently of service required to connect descriptor.
This is the setting of the SQL Developer on the remote computer:
It's the side server, listener.ora file:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\Owner\product\12.1.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\Owner\product\12.1.0\dbhome_1\bin\oraclr12.dll")
)
)LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(SERVICE_NAME = editor)
)
)REMOTE_LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.19)(PORT = 1531))
(SERVICE_NAME = editor)
)
)It's the tnsnames.ora file:
PUBLISHER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.19)(PORT = 1531))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = editor)
)
)LISTENER_EDITOR =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = editor)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)As you can see, I edit the file tnsnames.ora slightly to allow a connection to the database of the editor, but my edit does not seem to fix anything. You will notice that I also updated the port 1531 to match the listener in the listeners.ora file. I can not connect with SQL Developer on the client side. I am able to connect locally with the SQL Developer on the server, but I need to access the database from a different computer. I am able to connect to the database using SQL more on the server.
I ran lsnrctl service from the command prompt. Here is the output of this command:
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)) (SERVICE_NAM
E = editor))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
Service "Editor" has 1 instance (s).
Instance "editor", State LOAN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0 status: ready
LOCAL SERVER
Service 'editorXDB' has 1 instance (s).
Instance "editor", State LOAN, has 1 operation for this service...
Managers:
"D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan
DISPATCHER < machine: PC SHIERS, pid: 1580 >
(ADDRESS = (PROTOCOL = tcp) (HOST = Shiers-PC)(PORT=49367))
Service 'pdborcl' has 1 instance (s).
Instance "editor", State LOAN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0 status: ready
LOCAL SERVER
The command completed successfully
As you can see, it shows a service instance named "editor." It comes, it does not say which port. You will also notice a service named "editorXDB". Where it went out, I don't know. It is certainly not in the tnsnames.ora file, and whenever I run the lsnrctl services command port number changes. In any case, this part, I think, is a red herring. I've been spinning my wheels on this one for a few days. If anyone can help me with the steps to connect to a remote computer via SQL Developer, it would be greatly appreciated.
So now what would be better, it's if we could get the database to dynamically register with the listener as it should so that I get the READY State. Could help you with this please, then I think we're done.
What is the setting for the LOCAL_LISTENER parameter in your database? To keep things simple, it must be null, which allows the DB to-default - use the 1521 port to communicate with the listener for the record.
See: (exploring the-local_listener-parameters)
(SID_DESC =
(SID_NAME = editor)
(ORACLE_HOME = C:\app\Owner\product\12.1.0\dbhome_1)
(GLOBAL_NAME = editor)
)
)
BTW, * if * you insist on using a listener.ora and you insist on the use of the SID_LIST section in this document, you should really use SERVICE_NAME instead of SID_NAME.
-
ERROR: ORA-12514: TNS:listener is not currently of service required
My database in GNU / Linux, I by default SID like ORCL, and I created 3 other occurrences of DB (TST1, FS2 and TST3). As long as my system has not been retired, I'm Basel connect to instances. Once straightened out my system I'm unable to connect to the new DB instances... Adivice pl... Thank you...
In sqlplus: name of username/password @ ORCL - works fine...
name of user/password @TST1 or of other services... .i am getting... error... ERROR: ORA-12514: TNS:listener is not currently of service required
I created all the DB instances using below command:
DBCA-silent - createDatabase-templateName - General_Purpose.dbc - gdbname TST1-sid TST1 responsefile - NO_VALUE - characterSet AL32UTF8 - memoryPercentage 40 - emConfiguration LOCAL
Published by: user10980939 on July 20, 2011 14:16Salvation;
Post your TNSNAMES.ora entery please
Respect of
HELIOS -
Upgrade 10.2.0.1 to 10.2.0.5 ora-12514 TNS Listener error
Hello
We have recently updated our database version 10.2.0.1 to 10.2.0.5 and have the "TNS: listener does not currently of service requested in connect descriptor" error. We have checked and done everything that the directives in question & action said here. http://ORA-12514.ora-code.com/
But it still gives the same error. Could you please give me an answer or at least a glimpse into the possible root cause this problem?
This is my sqlnet and ora tnsnames file, listener.
Thank you.
file SQLNET.ora
Listener.ora fileSQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT) SQLNET.EXPIRE_TIME=10
tnsnames.ora fileSID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = D:\oracle\product\10.2.0\db_1) (PROGRAM = extproc) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) (ADDRESS = (PROTOCOL = TCP)(HOST = test1.akdenizkimya.com.tr)(PORT = 1521)) ) )
Published by: oeren 4 August 2010 23:50AKDENIZ = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test1.akdenizkimya.com.tr)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = AKDENIZ) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) ) TEST1 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.109)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = AKDENIZ) ) )
Your upgrade is incomplete and the database does not open. (and, of course, if it does not open it will not register with the listener!)
See your upgrade log - generally you should have rolled out of the CATUPGRD. SQL. OR check the .log alert - which would be easier to start with. Check the alert.log to messages about the attempts of starting current and recent since the upgrade and messages at the time of the upgrade.
Hemant K Collette
-
Hello
I get an ORA-12514 error.
This is my configuration and BTW, am new to Oracle (10G using now)
= TNSNAMES. ORA================
TCENG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.102)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tceng)
)
)
TEMPDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.102)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tempdb.world)
)
)
D =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.102)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = d)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.102)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
================================
= LISTENER. ORA================
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0)
(= Extproc PROGRAM)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.102)(PORT = 1521))
)
)
==================================
"And I'm interested to connect to SERVICE_NAME had.
But when I run lsnrctl status
= results =.
C:\Documents and Settings\infodba > lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on March 13, 2009 22:14
: 57
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP (PORT = 1521)(HOST=192.168.1.102)
)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - production
ction
Start date March 13, 2009 22:03:37
Uptime 0 days 0 h 11 min 21 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File C:\oracle\product\10.2.0\network\admin\listener.ora
Listener log file C:\oracle\product\10.2.0\network\log\listener.log
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.1.102) (PORT = 1521)))
Summary of services...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
The command completed successfully
===========================================
= lsnrctl serv == results =.
C:\Documents and Settings\infodba > lsnrctl serv
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on March 13, 2009 22:16
: 54
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP (PORT = 1521)(HOST=192.168.1.102)
)))
Summary of services...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
The command completed successfully
=================================================
I restarted the service too many times, in the oder listener (1) (2) oracleserviced, but still no luck.
Can the team help out me?
I am preparing for my exams here. Thank youHello
You have multiple instances on your machine? Try this and also check in the alert.log if your instance is running or not folder and after each command output.
to preserve formatting.
C: > lsnrctl status
C: > set ORACLE_SID = D
C: > sqlplus "virtue sysdba" - it should allow you to connect without any problem and if it connects to an idle instance without error after running
SQL > startup;Regards Edited by: OrionNet on Mar 14, 2009 11:13 AM
-
Hello
I installed Oracle 4 months before and work perfectly fine on until now. I could not able to connect to any DB or URL http://127.0.0.1:8080/apex/f? p = 4950
The connection failed with the below error
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
Results of the LSNRCTL STATUS as below
C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN > LSNRCTL STATUS
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 3 January 2016 12:43
: 55
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
TNSLSNR for Windows 64-bit version: Version 11.2.0.2.0 - Prod
ction
3 January 2016 start date 12:43:51
Uptime 0 days 0 h 0 min 4S
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Default Service XE
Listener parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\A
DMIN\listener.ora
Listener log file C:\oraclexe\app\oracle\diag\tnslsnr\RAJESHK-PANTAR\lis
tener\alert\log. XML
Summary of endpoints listening...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = localhost) (IN.
RT = 1521)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
The command completed successfully
C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN > LSNRCTL SERVICE
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 3 January 2016 13:0
: 08
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
The command completed successfully
Please help with what deliver you.
1. control file backup to trace using the "alter database backup controlfile to trace as 'C:\control.bkp ';
2. turn off your database
3 startup nomount
4. create controlfile from the backup created controlfile command. For example. See below (it is extracted from the trace my database controlfile. RESETLOGS option use as in 1st line
CREATE CONTROLFILE REUSE DATABASE "WIN1DB" RESETLOGS NOARCHIVELOG MAXLOGFILES 16 MAXLOGMEMBERS 3 MAXDATAFILES 100 MAXINSTANCES 8 MAXLOGHISTORY 292 LOGFILE GROUP 1 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO01.LOG' SIZE 50M BLOCKSIZE 512, GROUP 2 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO02.LOG' SIZE 50M BLOCKSIZE 512, GROUP 3 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO03.LOG' SIZE 50M BLOCKSIZE 512 -- STANDBY LOGFILE DATAFILE 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\SYSTEM01.DBF', 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\SYSAUX01.DBF', 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\UNDOTBS01.DBF', 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\USERS01.DBF', 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\EXAMPLE01.DBF' CHARACTER SET WE8MSWIN1252 ;
5 mount the database 'edit the editing of the database'
6 open the database using newspapers to reset "alter database open resetlogs.
Thank you!
-
Tnsping is works but get the error ORA-12514
Hello
I configured a RAC environment.
tnsping is functional and able to ping scan ip as well but is the ORA-12514 error connecting.
Thank you
Rahul Joshi
You must register your services with SCAN listeners, probably with
ALTER system set remote_listener ='rac - scan.sigmasys .net: 1521';
-
Hello
I have a few questions about the pre built Database App Development VM image.
I am trying to use it to familiarize myself with Oracle 12 c and would like to receive feedback on the following points:
- When you open a terminal session and then trying to connect as the sysdba, it automatically connects me to the ORCL PDB. How does this happen? I have just a sqlplus/nolog followed normal con sys/oracle as a sysdba. My ORACLE_SID is set to cdb1. Thank you I can change session at the root, etc. - my query is how by default does me to the ORCL PDB?
- If I connect to the container root of the CBD, namely sqlplus sys/oralce@cdb1 and then issue an immediate halt, the CBD closes down, but in the process gives an ORA-12514 error - after that I am unable to start CDB, as shows the ORA-12514 error when I try to sys/oracle@cdb1 conn - TNS:Listener is not currently of service requested in connect appears.
For directions to the two above would be appreciated.
Thank you, Mohan
All,
Well, I have fixed it for myself.
TWO_TASK env var has been ORCL beforehand to be close the CDB.
Disabling then close the container and restarting it fixed my error ORA-12514.
Kind regards
Mohan
-
ORA-12514 attempts to connect "/ as sysdba" to closed db
I'm getting ORA-12514 when I try to do a DOB connection by using "/ as sysdba" to a clos 12.1.0.2 database:
[oracle@localhost ~] $ which sqlplus
~/app/Oracle/product/12.1.0/dbhome_1/bin/sqlplus
[oracle@localhost ~] $ sqlplus/nolog
SQL * more: Production release 12.1.0.2.0 on Sat Mar 28 08:54:09 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
SQL > conn / as sysdba
ERROR:
ORA-12514: TNS:listener is not currently of service requested in connect
descriptor of
[oracle@localhost ~] $ env | grep-i ora
OLDPWD = / home/oracle
USER = oracle
ORACLE_SID = cdb1
MAIL = / var/spool/mail/oracle
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/Home/Oracle/bin:/Home/Oracle/app/Oracle/product/12.1.0/dbhome_1/bin:/usr/local/Apache-Ant-1.9.3/bin
PWD = / home/oracle
HOME = / home/oracle
LOGNAME = oracle
ORACLE_HOME=/home/Oracle/app/Oracle/product/12.1.0/dbhome_1
I really don't understand what is happening here. The connection "/ as sysdba" should not be using the headset at all. It should take a DOB connection to db identified by ORACLE_SID, IE cdb1.
What is happening on one of the pre-configured Oracle Developer VMs - the VM of Application development.
Anyone seen this before? Any tips or hints appreciated!
Thank you
Natálka-
If TWO_TASK environment variables or PREMISES have been defined, they will take precedence over ORACLE_SID
DOB is only ORACLE_SID.
----------
Sybrand Bakker
Senior Oracle DBA
-
[SOLVED] Need help problem of ORA-12514
[SOLVEDi am currently unable to connect to a local database system, I am facing the error ORA-12514 fact someone knows what's the problem I posted the exact details found for my tnsnames.ora, listeners.ora and even a snippet of the serc cmd]
tnsnames.ora
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. LISTENER_ORCL= (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=Deon-PC) (PORT=1522) ) (CONNECT_DATA= ) ) ORCL= (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=Deon-PC) (PORT=1521) ) (CONNECT_DATA= (SERVER=dedicated) (SERVICE_NAME=orcl) ) ) EXTPROC_CONNECTION_DATA= (DESCRIPTION= (ADDRESS= (PROTOCOL=IPC) (KEY=EXTPROC2) ) (CONNECT_DATA= (PRESENTATION=RO) (SID=PLSExtProc) ) )
Listener.ora
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = C:\oracle\product\10.2.0\db_1) (PROGRAM = extproc) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2)) (ADDRESS = (PROTOCOL = TCP)(HOST = Deon-PC)(PORT = 1522)) ) )
Service
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Deon>lsnrctl service LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 16-SEP-2014 10:36 :24 Copyright (c) 1991, 2007, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC2))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... Handler(s): "DEDICATED" established:0 refused:0 LOCAL SERVER The command completed successfully C:\Users\Deon>
In fact, Ed Stevens has an excellent article on the issue of the ORA 12512 of troubleshooting:
ORA-12514: TNS:listener is not currently in service. Ed Stevens, s/n
-
Hi all... I am a newbie with oracle database.,.
I have the problem of monitoring:
I installed Oracle Database 11 g R2 XE on my CentOS 6.5 guest operating system.
I changed the host name in my CentOS so (where installed oracle 11g R2 XE) after the installation was completed successfully.
Installation-) before and during the hostname is localhost.
(-) After the installation, I changed the host name in VMCentOS
From the moment where I changed the host name, nothing starts automatically. In particular, the listener and the database instance does not start automatically.
When I start the listener manually and I try to connect to the instance of database with SQLPLUS I get this error:
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
I think that the problem is due host name changed because I have to test and debug the object, re-installed a machine virtual operating system CentOS, re-installed oracle database 11 g and I do not have this problem. The database instance and the listener starts automatically!
Can someone tell me if, maybe, the problem is with the host has changed? ... and why?
P.S.: After changing the hostname I also modified the listener.ora and the tnsnames.ora by changing the HOST with the correct host name.
Hello
It seems that you don't install Oracle Database Express Edition (XE). If you post this question in the wrong forum.
When you install EA or there is no script that starts the database at startup.
If you wish, you can create by yourself. For example search for instructions to Google how to create script.
Kind regards
Jari
-
Moderator Hello
I started a discussion in iSQL * more. Bore: ORA-12514 and I been added 1 point. It was the egos of two days (?).
Now I can't see my post and others in iSQL * more and I had the old value of points. That's happened?
Ziut
Service 'orcl.wsisiz.edu.pl' has 1 instance (s).
Change floor entry in tnsnames.ora as follows:
ground =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = ground - festivities.wsisiz.edu.pl)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.wsisiz.edu.pl)
)
)
-
Hi all..
I installed orcle 11g realease 2 64-bit edition on my machine Window7.
I'm orcl default service.
I am unable to connect any user using the name of the service, I get the error "ORA-12514: TNS:listener is not currently of service requested in connect descriptor"
SQL >
Enter the user name: system@orcl
Enter the password:
ERROR:
ORA-12514: TNS:listener is not currently of service requested in connect descriptor.
Also for this reason I am not able to connect with sqldeveloper.
Open the command window & do as below
lsnrctl stop
CD E:\Server\Oracle\product\11.2.0\dbhome_1\network\admin\
listener.ora.sav Ren listener.ora
lsnrctl start
#wait 60 seconds before continuing
lsnrctl status
lsnrctl service
COPY the results from above then PASTE all back here
-
Access to the second instance of the database on the same host (ORA-12514) problem
Hello
I had a database of what ICMDB installed on my machine. After that, I created a second instance of database (Service name: BI_APPS) using DBCA on the same machine. With the help of NETCA I also created a new OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER listener on port 1522 on my machine. Then I configured this listener to listen to the connections to the service BI_APPS by adding the following to my tnsnames.ora:
BI_APPS_LISTENER =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
Then I changed the port in my driveway tns to BI_APPS at 1522 as follows:
BI_APPS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BI_APPS)
)
)
I then restarted the following services:
OracleOraDb11g_home1TNSListener
OracleServiceBIAPPS
OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER
After that, when I try to access my first ICMDB DB through Toad, the connection is successful. However, when I try to access the service BI_APPS I get the following error:
ORA-12514: TNS:listener is not currently of service requested in connect descriptor.
What I am doing wrong? Here are the contents of my files:
----------------------------------------------
TNSNAMES. ORA
tnsnames.ora # Network Configuration file: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
BI_APPS_LISTENER =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
BI_APPS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BI_APPS)
)
)
LISTENER_ICMDB =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
ICMDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = icmdb)
)
)
-----------------------------------------------------------------------
SQLNET. ORA
sqlnet.ora # Network Configuration file: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.
SQLNET. AUTHENTICATION_SERVICES = (NTS)
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
------------------------------------------------------------------------------------
LISTENING PORT. ORA
listener.ora # Network Configuration file: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
BI_APPS_LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1522))
)
)
ADR_BASE_BI_APPS_LISTENER = D:\app\Oracle
SID_LIST_BI_APPS_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\Oracle\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
---------------------------------------------------------------------------------------------------
Here's the lsnrctl status output
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12 December 2013 16:17:01
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Production
Start date December 12, 2013 10:34:35
Uptime 0 days 5 h 42 min 26 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
D:\app\oracle\diag\tnslsnr\ICMDEVDB\listener\alert\log.XML log listener
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=ICMDEVDB) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.2.109) (PORT = 1521)))
Summary of services...
Service 'BIAPPSXDB' has 1 instance (s).
'Biapps' instance, State LOAN, has 1 operation for this service...
Service 'BI_APPS' has 1 instance (s).
'Biapps' instance, State LOAN, has 1 operation for this service...
Service 'icmdb' has 1 instance (s).
'Icmdb' instance, State LOAN, has 1 operation for this service...
Service 'icmdbXDB' has 1 instance (s).
'Icmdb' instance, State LOAN, has 1 operation for this service...
The command completed successfully
OK I solved this.
Apparently, the machine restart is necessary after the creation of the new instance. I have created a new instance, restarted Windows and Bingo!
-
Suddenly get the error ORA - 12514 Oracle 11 GR 2
I installed Oracle 11 g r2 very well, has 2 databases (se3 and mydb, both have db_domain .orcl i.e. mydb.orcl and se3.orcl) running on this subject very well until yesterday. but all of a sudden im getting ORA-12514 error (TNS:listener don't know of service requested in connect descriptor)...
My tnsnames.ora file:
tnsnames.ora # Network Configuration file: G:\oracledb\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_MYDB =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
MYDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydb.orcl)
)
)
SE3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = se3.orcl)
)
)
LISTENER_SE3 =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
and my listener.ora file is as follows:
listener.ora # Network Configuration file: G:\oracledb\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 = G:\oracledb\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
)
)
ADR_BASE_LISTENER = G:\oracledb
* I have two data bases facing up and running (confirmed by the administration Assistant), the listener is in place... capable of performing "tnsping mydb/se3" im... I am not able to connect to them through sqlplus/sql developer... The result of "lsnrctl service" is the following:
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
32-bit Windows error: 2: no such file or directory
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost) (PORT = 1521)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
The command completed successfully
PLEASE HELP ME FRIENDS! I HAVE A PROJECT IN EARLY OCTOBER
Hello
Instead:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
)
)
have the following items in your listener file
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(SID_DESC =
(SID_NAME = mydb)
(ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
)
(SID_DESC =
(SID_NAME = se3)
(ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = localhost)(PORT = 1521))
)
)
In addition, do not have 'localhost' in your listener.ora file, provide IP address real or the hostanme. NEVER, YOU should have
localhost.
Reboot and try listener.
Thank you &
Better subject.
Maybe you are looking for
-
Device USB 3.0, USB 2.0 connection ports of iMac
USB 3.0 device not recognized: my iMac a 2011, 4 USB 2.0 ports. I bought an external WD My Passport for iMac USB 3.0 external hard drive. It is not recognized by the iMac. The device works of WD - I plugged on new MacBook Pro from a friend and it
-
I have windows XP home, a HP printer 2575xi all in one. Fine, I can print from any program and IE 8. Just not in firefox 4.0
-
What can I do on Satellite P35 overheating?
Someone had permanent solutions to stop the Satellite P35 overheating. I had cleaned it by Toshiba, under the guarantee only once about from 6 to 9 months, but it is now overheating again and close with no warning except fans go crazy. I can't run on
-
Original title: impossible to install the software for vx5000 webcam. I tried to download with Firefox; the first time it shut down my computer, the second time, he showed, it was the download of files, but after an hour more, I let down, then switch
-
Is there a compatible with the HDR-XR100 Handycam wireless microphone? I really want to find one, preferably less than $200. Laurie H.