I get an ORA-12514 in Oracle 12 c when restart Windows 2012
Hi Mr President:
I just installed Oracle 12 c in a 2012 Widnows Server. Sometimes, I get the famous ORA-12154 error - tns could not resolve the connect identifier specified. the problems occurs in two different servers. I think the problem is when I reboot the server, Oracle has a problem with the identifier name or database server / IP resolution.
I fix"Database Management Wizard" running Oracle. When I run this application, the database comes to life. Can you explain to me what is happening? How can I fix or put in place to solve the problem?
Thanks in advance.
Guillermo
you need the administration for windows, not the dbca assistant
This will give you the options to start automatically to your windows startup oracle
Set the nt service starts automatically and also the oracle instance
This should resolve the startup problem
provide your listener will also start automatically...
You can set to auto in services.msc
Tags: Database
Similar Questions
-
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
-
I installed 10.2.0.1 on my laptop and it works normally.
After the upgrade with the acutal (10.2.0.4.0) patch, I get an ora-12514 error, after conneting to sqlplus.
ORA-12514: TNS:listener could not resolve service_name in connect descriptor
At first, I checked the tnsnames.ora, listener.ora, sqlnet.ora.
After that, I checked the local-services
-OracleDBConsoleorcl (underway)
-OracleOraDb10g_home2TNSListener (on the way)
-OracleServiceORCL (underway)
-OracleOraDb10g_home2iSQL * more (on the way)
1 tnsping orcl:... < 30 ms >,.
2 lsnrctl status orcl:... SNMP is DISABLED; Service "PLSExtProc", status UNKNOWN.
3. check the alert_log:
ORA-00704: bootstrap failure process
ORA-39700: database must be opened with the UPGRADE option
4. I connect AS SYSDBA, because I run the CATUPGRD script. SQL
5. starting
ORA-01092: ORACLE instance is complete. Forced logoff.
6. I check again the alert_log:
Instance of stopped by USER, pid = 2732
ORA-1092 marked during: alter database option
...
Starting ORACLE instance (normal)
...
PMON started...
PSP0 has begun...
MA started...
DBW0 started...
LGWR started...
...
Completed: ALTER DATABASE MOUNT
...
ORA-00704: bootstrap failure process
ORA-39700: database must be opened with the UPGRADE option
I have no chance to run the CATUPGRD. SQL script?
Does anyone have an idea?5. starting
ORA-01092: ORACLE instance is complete. Forced logoff.To go through the upgrade docs before you start this process?
After you apply the Group of hotfixes to ORACLE_HOME, you must upgrade the database to the new version.
You must start the DB with option to UPGRADE to STARTUP.
Consult the Readme patchset (6810189) which has instructions complete how to upgarde your DB to 10.2.0.4
-
ORA-12514 after immediate cessation
After an immediate stop, any attempt to connect to the database generates an ORA-12514 error. I can't restart the db from the command line. I can restart by restarting the listener of the db. The listener log indicates that the service is dead after the judgment, but there is no indication why.
I'm running on Windows 2008 R2 63 bit. IPv6 was disabled and all references are made by IP DNS not entered.IM assuming that once you stop the database, you want to connect to the database through the listener
by default, the database uses dynamic registration and is available through the listener in MOUNT or OPEN State
to be able to "connect" to one not NOMOUNT (as SYSDBA) not running, or a database, you must manually register the database instance in your listener.oraLISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.com)(PORT = 1521)) ) ) SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1) (SID_NAME = ORCL) ) )
-
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.
-
Keep getting ora-12514 for customer test TAF ReadOnly primary or backup
I kept getting ora-12514 error while trying to access the database.
Published by: 846422 on December 16, 2011 05:14Hello again;
You're right about the trigger, I did not review this note before today. Thank you!
However note that uwe creates two services:
exec dbms_service.create_service('prod','prod') exec dbms_service.create_service('rmostly','rmostly')
I don't see one in your example.
It also has "prima" and "physt" for new services are new, they don't collide or hide real somehow.
Uwe is about as good an Oracle person I know. Review of its document again and it will work.
Otherwise, see this note:
ORA-01031 ORA-12154 ORA-12514 standby or Dataguard environment [ID 1271362.1]
v$ instance is not a vision for Data Guard. That said, that might help:
Select the State, INSTANCE_NAME from v$ instance;
The results you get are expected. I get the same thing on mine. Remember the difference between an 'INSTANCE' and a 'base '.
Here are the common views of Data Guard that I use:
V$DATABASE, V$MANAGED_STANDBY, V$ARCHIVED_LOG, V$LOG_HISTORY, V$DATAGUARD_STATUS, V$ARCHIVE_DEST, V$LOG, V$STANDBY_LOG
Time to bed for me, I'm beating the flu.
Best regards
mseberg
-
Oracle-xe-universal / debian lenny / ORA-12514
Hello
I have the following situation:
Listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
(= Extproc PROGRAM)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
)
)
tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
lsnrctl services
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on July 6, 2009 00:20:31
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
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
tnsping localhost
AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on July 6, 2009 00:20:56
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Use settings files:
Name of HOST adapter used to resolve the alias
Try to contact (DESCRIPTION = (CONNECT_DATA = (SERVICE_NAME =)) (ADDRESS = (PROTOCOL = TCP)(HOST=127.0.0.1) (PORT = 1521)))
OK (0 msec)
tnsping XE
AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on July 6, 2009 00:22:15
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Use settings files:
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (0 msec)
* / etc/hosts *.
127.0.0.1 localhost
10.223.125.167 c2aplathq001
When you try to connect to sqlplus system@XE I get the following error:
SQL * more: Release 10.2.0.1.0 - Production on Mon Jul 6 00:23:21 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter the password:
ERROR:
ORA-12514: TNS:listener is not currently of service requested in connect
descriptor of
Same error after:
sqlplus/nolog
Connect / as sysdba
Listener.log snippet:
July 6, 2009 00:16:35 * (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE) (CID = (= sqlplus PROGRAM) (HOST = c2aplathq001)(USER=oracle))) * (ADDRESS = (PROTOCOL = tcp (PORT = 55719))(HOST=127.0.0.1)) * establish * XE * 12514
AMT-12514: TNS:listener is not currently of service requested in connect descriptor
July 6, 2009 00:20:31 * (CONNECT_DATA = (CID = (PROGRAM =)(HOST=c2aplathq001) (USER = root)) (COMMAND = services (SERVICE = LISTENER))(ARGUMENTS=64) (VERSION = 169869568)) * services * 0
July 6, 2009 00:20:56 * ping * 0
July 6, 2009 00:22:15 * ping * 0
July 6, 2009 00:23:26 * (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE) (CID = (= sqlplus PROGRAM) (HOST = c2aplathq001)(USER=root))) * (ADDRESS = (PROTOCOL = tcp (PORT = 49526))(HOST=127.0.0.1)) * establish * XE * 12514
AMT-12514: TNS:listener is not currently of service requested in connect descriptor
The system is Debian Lenny.
I tried already with the actual host name (c2aplathq001) in tnsnames.ora and listener.ora.
Help would be greatly appreciated :-)
Edit:
Env variables specific to Oracle:
LDPATH="/usr/lib/Oracle/XE/app/Oracle/product/10.2.0/server/lib".
ORACLE_HOME="/usr/lib/Oracle/XE/app/Oracle/product/10.2.0/Server".
ORACLE_SID = 'XE '.
PATH="/usr/lib/Oracle/XE/app/Oracle/product/10.2.0/Server/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin".
TWO_TASK = 'XE '.
Published by: user4568737 on 05.07.2009 15:56Your main problem is your database XE is not registered for the listener, as you can see result "lsnrctl services."
First to confirm that your database is running, follow these steps
$ unset TWO_TASK $ sqlplus / as sysdba
result?
BTW, what is the reason for TWO_TASK layout? It's a connection string and OS authentication does not work when it is defined.
In addition, what is your host name?
$ hostname
-
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';
-
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
-
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.
-
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
-
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!
-
ORA-12514 when you try to connect to new db
Hello
I just do a fresh install of Oracle 11 g 2 on x 64 Linux RHEL6. When I'm trying to connect to the db from the client, I always get an error:
ORA-12514: TNS:listener is not currently of service requested in connect descriptor.
Seems I have the wrong server listener service name, resembles "name.domain.com' instead of just 'name', how can I change it?
Here's my:
-the customer tnsnames.ora:
ORA11R2 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.2)(PORT = 1521)))
(CONNECT_DATA = (SERVICE_NAME = ORA11R2)))
-the server listener.ora:
LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ora11g.my.domain.com) (PORT = 1521)))
ADR_BASE_LISTENER = / u01/app/oracle
status of $lsnrctl
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on February 13, 2013 16:15:54
...
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=ora11g.my.domain.com) (PORT = 1521)))
Summary of services...
Service 'ora11r2.my.domain.com' has 1 instance (s).
'Ora11r2' instance, State LOAN, has 1 operation for this service...
Service 'ora11r2XDB.my.domain.com' has 1 instance (s).
'Ora11r2' instance, State LOAN, has 1 operation for this service...
Published by: 964323 on 13.2.2013 06:24Change your TNS names like below,
ORA11R2 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.2)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = ORA11R2.my.domain.com)))
Mark your message as response or relatively useful if your question is answered.
Thank you best regards &,.
SID(StepIntoOracleDBA)
E-mail: [email protected]
http://stepintooracledba.blogspot.in/
http://www.stepintooracledba.com/
-
error ORA-12514... checked the error discription but unable to solve
Friends,
Operating system: win7 64 bit ultimate edt.
DB:
I added (UR = A) in my tnsnames.ora to my connection string orcl, but when I try to connect as this "sqlplus system/password@orcl" iam getting ora-12514 error... I know that for a local pc, we can connect without connection as "sqlplus system/password" string, but I have another database named rmdb with connection string rmdb "sqlplus system/password@rmdb" works... I cut both the details of connection string in the tnsnames file... both are correct... but why the orcl is not working...?SQL*Plus: Release 11.2.0.3.0 Production on Sun Dec 2 09:40:00 2012 Copyright (c) 1982, 2011, Oracle. All rights reserved. Enter user-name: system/oradba@orcl ERROR: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
\tnsnames.ora # Generated by Oracle configuration tools. orcl = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) (UR = A) ) ) RMDB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = rmdb) (UR = A) ) )
Hello
SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = D:\app\oraserver\product\11.2.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:D:\app\oraserver\product\11.2.0\dbhome_1\bin\oraclr11.dll") ) (SID_DESC = (SID_NAME=orcl) (ORACLE_HOME=D:\app\oraserver\product\11.2.0\dbhome_1) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ) )
Make sure you have your listener.ora as above, charge the listener and to validate the status of the listener.
lsnrctl reload lsnrctl status
Check if the ORCL service is registered with the listener, and if so, then try to connect to the database that you previously had.
If you think that your question has been answered, then please consider fence marking it as answered.
Kind regards
Shivananda
Maybe you are looking for
-
something is wrong with my iphone
Help, please! my iphone is not act appropriately, first turn off my phone dropped and the thing that lights up the screen is loose and after that my phone started acting strange. here what my phone started doing -It resets it self while I was on it,
-
Firefox has been "unresponsive" to recent months. After a short period, he would answer.Lately, however, it "does not" and my entire computer needs to be restarted.Please help - I am extremely frustrated.
-
In a first time control buttons worked fine on XP home with Windvd and sonic, but now I installed XP Pro SP2 and use and using Roxio 6 CD and function Power DVD6 used for playing DVDs but the buttons command. I already downloaded driver Toshiba contr
-
My dear old iMac in 1 week that I love so dearly, but I need a few answers. As you know I like all aspects of video production and to make some motion graphics work on the side. Now after spending about 3 k of a cylinder to improve I though you would
-
Critical update is broken in Internet Explorer
I have a XP SP3 operating system, I just install this critical update of May 1, 2014: Windows XP Service Pack 3 Internet explore 8 (2964358) Remote Code execution Criticism None from there: https://TechNet.Microsoft.com/en-us/library/security/MS14-02