ORA-12546: TNS:permission refused
Hi all
My version of the database is 11.2.0.3 on Linux. The linux version is given below. I'm trying to connect to the database as sysdba and I keep getting errors ORA-12546. The staging database server has the same settings and privileges with the production, but production bother, I would appreciate your help. I plugged in as root user sudo - su.
x86_64 x86_64 x86_64 GNU/Linux
I think as sol.beach,
the right way to do it is by using the owner of the database Instance and not root.
As I don't think you've got your database installed and running as root, there is only one way that you can connect to your database as root:
the root - the user is a member of the ADMINISTRATOR group, look at this small example:
sudo su-
ID - a
uid = 0 (root) gid = 0 (root) groups = 0 (root), 1 (other)
. oraenv
sqlplus / as sysdba
ERROR:
ORA-01017: name of user and password invalid. connection refused
now-->
sudo su-
. oraenv
newgroup dba
ID - a
uid = 0 (root) gid = 201 (dba) groups = 0 (root)
sqlplus / as sysdba
Connected to:
Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production
With partitioning, Automatic Storage Management, OLAP, analytical advanced
and Real Application Testing options
SQL SYS@BRDBCL >
Compare your group settings, and there may be the answer, why it works in your test environment, but I do not recommend to connect as root of the database.
Concerning
Timo
Tags: Database
Similar Questions
-
ERROR: ORA-12546: TNS:permission denied OEM host connection credentials
Hallo! I am a newbie in Oracle 10 g after installing Oracle 10 g in Oracle Enterprise Linux version 4 update 7.
When I run the application Oracle Enterprise Manager (OEM) and I want to do any major operation for example stop the database, I click on the 'Shutdown' button on the home page of OEM and it takes me to the start/stop: to specify host and target database credentials
On this page, I enter my OEL OS user name and password on the host credentials text boxes and the SYS username and password for SYS and Connect as SYSDBA credentials database text boxes. When I click Ok, the following error message appears
SQL * more: Release 10.2.0.1.0 - Production on Mon Aug 9 22:49:38 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL > SQL > ERROR: ORA-12546: TNS:permission refused
How to solve this?
Thank youOn this page, I enter my OEL OS user name and password on the host credentials text boxes and the SYS username and password for SYS and Connect as SYSDBA credentials database text boxes. When I click Ok, the following error message appears
SQL * more: Release 10.2.0.1.0 - Production on Mon Aug 9 22:49:38 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL > SQL > ERROR: ORA-12546: TNS:permission refused
Yes he is guest host Credentials.To user credentials to the operating system you use?
You must use oracle software owner as oracle user (OS)Published by: Alex on August 11, 2010 10:32
-
ORA-12546 TNS Permission denied-base data Setup Wizard
Hello!
I just installed the database from Oracle 10.1.0 on my system at home. The installation went well, and other configuration assistants have also done their job, the problem started during the database Setup Wizard. After putting in and set up the required details to make a database, I clicked on the button "Finish". At the moment where the creative process has started a pop up appears saying "ORA-12546 TNS Permission Denied" asking me to ignore or abandon.
I tried to run SQL * Plus with the username password - System/Manager, but he gave the AMT Protocol adapter error.
Can someone please advise me what to do? I have a Windows 7 32-bit PC named - Shikhar-PC. The content of the listener. ORA and tnsnames. ORA is as follows:
Listener.ora*.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.1.0\db_1)
(= Extproc PROGRAM)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = Shikhar-PC)(PORT = 1521))
)
)
)
TNSNames.ora_
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
Any help would be appreciated! And by the way that I am a newbie so please carry me!
Thank you.10gR 1 has never been taken into charge/certified with any OS 7 Win - http://docs.oracle.com/html/B10130_02/reqs.htm#CHDHGGFE
The combination only taken charge/certified is 10.2.0.5 on Win 7 Professional (or higher) - your questions should therefore not a matter of surprise. Assuming you have Win 7 Professional or higher, is there a reason that you can not install 11.2.0.1?
HTH
Srini -
ORA-12546 tns permission denied
Dear,
I am trying to install Oracle 8i (8.7.1.1) on a 64-bit Windows 2003 (x 86) machine. However, when running "Wizard database", it gives the error below:
ORA-12546 tns permission denied
Can someone please help me solve this problem? If you need more information, please let me know.
Waiting for your kind answers.
Kind regards
Rahman S.AWelcome.
It is a permissions problem. Installation with the administrator user will solve the problem, I think.
Concerning
Asif Kabir-Mark the response as correct/good
-
ORA-12505, TNS:listener has not currently SID /on sqldeveloper k.w.
Hello
I tried to connect to my Oracle 11g with sqldeveloper server, I have donloaded
but I have this error:
Listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
Codice fornitore 12505
the default sid name in sqldeveloper is "xe".
I have tiyped
tsping orcl:
and SERVICES LSNRCTL:
What should I type in SID?
Help, please
Thank you
2846174 wrote:
Hello
I tried to connect to my Oracle 11g with sqldeveloper server, I have donloaded
but I have this error:
Listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
Codice fornitore 12505
the default sid name in sqldeveloper is "xe".
It can be the default, but it may not be suitable for YOUR installation.
I have tiyped
tsping orcl:
If we see that if you use tnsnames.ora to solve your connection request, the net service name "orcl" (that you specified on your tnsping) solves a service name (not a SID) of "orcl.homenet.telecomitalia.it". Nowhere it is not a reference to XE in YOUR configuration.
and SERVICES LSNRCTL:
And we see that your listener support an instance named "orcl". Once again, XE is not found.
What should I type in SID?
Maybe nothing. Maybe you're using the wrong "type of connection', 'base', select 'tns '.
Then 'network alias' dropdown will be filled with your tnsnames.ora file, to choose one.
OR...
Leave connection type as ' basic' and instead of 'SID', supply "service name". If you go this route, you will need to provide the correct host name and port. You can get the values of what you saw when you made "tnsping.
Help, please
Thank you
-
ORA-12547: TNS: lost contact
Hello
That's what I did on my AIX unix server to meet the problem.
I had Oracle 10 g 10.2.0.4 installed binaries and a DB running on this mobile.
I got to level it to 11g.
Downloaded and installed 11.2.0.4 version on the AIX server successfully.
Updated 10g DB 'mobile' version 11g dbua utility.
all tested fine and good connections.
Now the next day today, I have to cleanup and delete the binary 10g of the server.
And YES I used to clean it.
Apps/opt/oracle/Products/10.2.0/dB/oui/bin/RunInstaller
After this was done, I deleted manually the files of
RM - r apps/opt/oracle/products/10.2.0
Now, I see only binary 11g instead of ORACLE_HOME.
I'm trying to connect to the database 'mobile' now, and it gives this error.
hostname > sqlplus / as sysdba
SQL * more: Production of the version 11.2.0.4.0 Mar 8 15:23:49 Apr 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Failed to load oracle program:
rtld: 0712-001 fc_softc symbol was referenced
module oracle(), but a definition of runtime
the symbol could not be found.
rtld: 0712-002 fatal error: leave.
ERROR:
ORA-12547: TNS: lost contact
Enter the user name:
Help, please!
I see my ORACLE_HOME, path of all the other variables are pointing to the correct location of g 11.
I had a smooth ride that follows the blog below.
I have relinked the executable and was able to start back again Sqlplus session.
DBA - Oracle.com: how to create a link to the database software Oracle under UNIX
I'm also pasting the material here, so that it is useful to others.
with an Oracle installation program provided.
-A set of patches Oracle has been applied via an Oracle supplied Installer.
Reissue of links manually Oracle suggested in the following circumstances
(even if the OS vendor can not required):
-An upgrade of the OS has occurred.
-A change was made to system OS libraries. This can occur when you apply a patch to the BONE.
-A new installation has failed during the relinking.
-An individual Oracle patch has been applied (However, to recreate an explicit link
instructions are usually included in the Readme or integrated
the hotfix installation script)
Step of restoring links:
[Step 1] Log in the UNIX system as the Oracle software owner:
==============================================================================
This is usually the user 'oracle '.
[STEP 2] Ensure that your $ORACLE_HOME is correctly set:
===============================================================================
For all platforms and the Versions of Oracle, performs this check of the basic environment
first:
% cd $ORACLE_HOME
% pwd
This will ensure that $ORACLE_HOME is set properly in your current environment.
[Step 3] Check and configure the UNIX environment for a reissue of appropriate links:
===============================================================================
For all Versions of Oracle and UNIX platforms:
Generally, the specific environment variables of platform LIBPATH, LD_LIBRARY_PATH and SHLIB_PATH are already defined to include the locations of library of the system as "/ usr/lib. In most cases, you need only check they are defined first, and then add the directory of $ORACLE_HOME/lib to them as appropriate.
for example: setenv LD_LIBRARY_PATH $(ORACLE_HOME) / lib: ${LD_LIBRARY_PATH}
[Step 4] For all Versions of Oracle and UNIX platforms:
===============================================================================
Make sure you have correctly completed the step 2:
Make sure you see the absolute path for
$ORACLE_HOME in the definitions of variables.
[Step 5] For all Versions of Oracle and UNIX platforms:
===============================================================================
Check the umask is set correctly:
umask %
This should return a 022. If it is not the case, the value of umask 022.
% umask 022
umask %
[Step 6] Run the OS in question Oracle commands:
===============================================================================
Important notes:
* Before the restoration of the Oracle links, close the database and listener.
Following commands out lots of text in the window of your session. To capture this release for download in support, redirect the output to a file.
* If the re-establishment of links an installation of the client, it is expected that certain aspects of the following commands will fail if the components were not initially installed.
For all UNIX platforms:
Oracle 8.1.X, 9.X.X, 10.X.X or 11.X.X
-------------------------------------
NEW TO 8i AND MORE *.
A "reissue" script is provided in the directory $ORACLE_HOME/bin.
% cd $ORACLE_HOME/bin
relink %... .This will display all the options for the command.
use: re-edit the link
accepted parameter values: all, oracle, network, client,.
interMedia, precomp, utilities, oemagent, client_sharedlib, ldap
You can bind again most of the executable that is associated with an Oracle Server Installation
by running the following command:
% to reissue all the
11.2.x special instructions (11.2.0.1,11.2.0.2 etc...)
--------------------------------------
(A) starting at 11 GR 2 the script to repeat will not accept 'everything' as argument (it is also
explained in: Oracle 11 g 2 connect new feature).
See c) the traditional 'make' commands that can be executed independently.
You can use the following command which will display only errors to the screen, as appropriate,
but will capture the entire repeat the link in a log file:
$ORACLE_HOME/Yes/bin/runInstaller - reissue - waitForCompletion - maketargetsxml $ORACLE_HOME/inventory/make/makeorder.xml.
ORACLE_HOME = $ORACLE_HOME 2 > & 1 | Tee $ORACLE_HOME/install/relink.log | grep-i error | WARNING - iv grep
(C) running the commands ' do ' independently:
For executables: oracle exp, imp, sqlldr, tkprof, mig, dbv, orapwd, rman,
svrmgrl, GMO, ogmsctl
% make install f ins_rdbms.mk
NOTE: After the restoration of the links the oracle executable, make sure that the
permissions on executable are 6751 (- rwsr - s - x). If they are
not, run the following command as the Oracle software owner:
% cd $ORACLE_HOME/bin
% chmod 6751 oracle
For executables: sqlplus
% cd $ORACLE_HOME/sqlplus/lib
% make install f ins_sqlplus.mk
For executables: isqlplus (Oracle9i and above)
% cd $ORACLE_HOME/sqlplus/lib
% is install_isqlplus ins_sqlplus.mk f
For executables: dbsnmp, oemevent, oratclsh
% cd $ORACLE_HOME/network/lib
% make install f ins_oemagent.mk
NOTE: After the restoration of the links the dbsnmp executable, it is necessary to run
the following commands as root (so that the ownership/permissions on)
the executable file is correct):
# cd $ORACLE_HOME/bin
# chown root dbsnmp
# chmod 6750 dbsnmp
For executables: names, namesctl
% cd $ORACLE_HOME/network/lib
% make install f ins_names.mk
For executable files: osslogin, trcasst, trcroute, onrsd, tnsping
% cd $ORACLE_HOME/network/lib
% make install f ins_net_client.mk
For executables: tnslsnr, lsnrctl
% cd $ORACLE_HOME/network/lib
% make install f ins_net_server.mk
How to Tell if Relinking was successful:===============================================================================
If the restoration of links has been a success, order brand will eventually return to the operating system
ask without an error. It will NOT be a type 'successful rebinding.
Message.
If you receive an error during the reissue of links:
===============================================================================
Check that the message that you have received a fatal error itself says, not a warning. Reissue of links errors usually complete the relinking process and contain the verbiage that is similar to the following:
"Fatal error", "Ld: fatal', 'Exit Code 1'"
While the warnings will look like: ' ld: WARNING: choice - YP appears more than once, first affecting decision-making '
and more often can be ignored.
If you receive an error that terminates the process of relinking, your first step
should be to extract the relevant information about the error to do
output:
This can be broken down into three basic steps:
1. determine the usefulness of the BONE that returns the error.
'ld', 'make', 'cc', 'mv', 'cp', 'ar' is the common sources.
2. identify the type of error:
"Permission denied", "Undefined Symbol", "File not found" are common types.
3. identify the files or the involved symbols.
-
ORA-12505, TNS:listener is not currently of SID given in connect the
Hi, I have a problem connecting to the repository working ODI...
The master repository and repository of work are installed in the Oracle 11g company Manager...
From my PC, I can connect to the master repository and I can see the repository to work, but when I try to connect I get this message:
oracle.odi.core.config.WorkRepositoryResourceFailureException: ODI-10182: categorizar sin Excepcion durante el acceso al repositorio.
Could not make JDBC connection; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:195)
at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
to oracle.odi.core.OdiInstance. < init > (OdiInstance.java:581)
at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:521)
at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.testConnection(SnpsDialogLoginDetail.java:755)
to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access$ 4 (SnpsDialogLoginDetail.java:743)
to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail$ 2.performAction(SnpsDialogLoginDetail.java:287)
at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6297)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
in java.awt.EventQueue$ 2.run(EventQueue.java:627)
in java.awt.EventQueue$ 2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 3.run(EventQueue.java:641)
in java.awt.EventQueue$ 3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
in java.awt.Dialog$ 1.run(Dialog.java:1044)
in java.awt.Dialog$ 3.run(Dialog.java:1096)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1094)
at java.awt.Component.show(Component.java:1591)
at java.awt.Component.setVisible(Component.java:1543)
at java.awt.Window.setVisible(Window.java:843)
at java.awt.Dialog.setVisible(Dialog.java:984)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
at oracle.odi.ui.LoginFactory.modifyLogin(LoginFactory.java:334)
to com.sunopsis.graphical.dialog.SnpsDialogLogin$ 3.performAction(SnpsDialogLogin.java:185)
at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6297)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
in java.awt.EventQueue$ 2.run(EventQueue.java:627)
in java.awt.EventQueue$ 2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 3.run(EventQueue.java:641)
in java.awt.EventQueue$ 3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
in java.awt.Dialog$ 1.run(Dialog.java:1044)
in java.awt.Dialog$ 3.run(Dialog.java:1096)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1094)
at java.awt.Component.show(Component.java:1591)
at java.awt.Component.setVisible(Component.java:1543)
at java.awt.Window.setVisible(Window.java:843)
at java.awt.Dialog.setVisible(Dialog.java:984)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
at oracle.odi.ui.OdiConnectController.handleEvent(OdiConnectController.java:113)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
in javax.swing.plaf.basic.BasicMenuItemUI$ Handler.mouseReleased (BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6297)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
in java.awt.EventQueue$ 2.run(EventQueue.java:627)
in java.awt.EventQueue$ 2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 3.run(EventQueue.java:641)
in java.awt.EventQueue$ 3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
to oracle.odi.core.repository.support.RepositoryUtils$ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java:182)
at oracle.odi.core.repository.support.RepositoryUtils.loadWorkRepositoryInfo(RepositoryUtils.java:382)
at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:174)
... more than 144
Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
... more than 154
Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:943)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:873)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:863)
at sun.reflect.GeneratedMethodAccessor95.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
to oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator$ DataSourceInvocationHandler.invoke (RuntimeClassLoaderDataSourceCreator.java:48)
to $Proxy0.getConnection (Unknown Source)
to oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java:217)
to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:439)
to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)
to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(DriverConnectionFactoryAdapter.java:122)
to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java:1610)
to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.access$ 600 (UniversalConnectionPoolImpl.java:1446)
at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:514)
at oracle.ucp.jdbc.oracle.OracleJDBCConnectionPool.createOnePooledConnection(OracleJDBCConnectionPool.java:129)
at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:297)
at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPool.java:157)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:931)
... 14 more
Please, if someone could give me a tip. Thank you!!!Looks like a problem with the tnsnames file / wrong sid. try using tnsping
> that you will be in your tnsnames.ora. -
AMT-12564: TNS:connection refused
Hi guru
My Version of DB: 10 gr 2
OS: Windows Server
I am trying to load the text file using sql loader, already I don't get thi sproblem, but in the morning I'm geeting
AMT-12564: refused TNS:connection error
activate the trace listener
where I get after each update of the title:
August 31, 2012 14:35:50:921] nsbaddfl: entry
[August 31, 2012 14:35:50:921] nsbaddfl: exit normal
[August 31, 2012 14:35:50:921] nsbfr: exit normal
[August 31, 2012 14:35:50:921] nsdo: nsctxrnk = 0
[August 31, 2012 14:35:50:921] nsdo: exit normal
[August 31, 2012 14:35:50:921] nsiocancel: entry
[August 31, 2012 14:35:50:921] nsiofrrg: entry
[August 31, 2012 14:35:50:921] nsiofrrg: exit
[August 31, 2012 14:35:50:921] nsiocancel: exit
[August 31, 2012 14:35:50:921] nsclose: transport of closing
[August 31, 2012 14:35:50:921] nttdisc: entry
[August 31, 2012 14:35:50:921] nttdisc: socket closed 396
[August 31, 2012 14:35:50:921] nttdisc: exit
[August 31, 2012 14:35:50:921] nsclose: global context departure (from slot 6) full
[August 31, 2012 14:35:50:921] nsnadisc: entry
[August 31, 2012 14:35:50:921] nsnadisc: no native service used - return
[August 31, 2012 14:35:50:921] nsopenfree_nsntx: mplx_ht_nsgbu nlhthdel, ctx = fbba48 nsntx = fd4888
[August 31, 2012 14:35:50:921] nsiocancel: entry
[August 31, 2012 14:35:50:921] nsiofrrg: entry
[August 31, 2012 14:35:50:921] nsiofrrg: exit
[August 31, 2012 14:35:50:921] nsiocancel: exit
[August 31, 2012 14:35:50:921] nsmfr: entry
[August 31, 2012 14:35:50:921] nsmfr: 1632 bytes to 0xfd4888
[August 31, 2012 14:35:50:921] nsmfr: exit normal
[August 31, 2012 14:35:50:921] nsmfr: entry
[August 31, 2012 14:35:50:921] nsmfr: 536 bytes to 0xfbba48
[August 31, 2012 14:35:50:921] nsmfr: exit normal
[August 31, 2012 14:35:50:921] nsclose: exit normal
[August 31, 2012 14:35:50:921] nsredirect: exit (0)
[August 31, 2012 14:35:50:921] nsbeqaddr: connect handshake is completed
[August 31, 2012 14:35:50:921] nsbeqaddr: exit normal
[August 31, 2012 14:35:50:921] nsbequeath: exit normal
[August 31, 2012 14:35:50:921] nsglhe: exit
[August 31, 2012 14:35:50:921] nsevwait: entry
[August 31, 2012 14:35:50:921] nsevwait: 5 status or connections
[August 31, 2012 14:35:50:921] nsevwait: 0 posted before the event (s)
[August 31, 2012 14:35:50:921] nsevwait: waiting for the transport event (0-5)...
Kindly suggest me what you think what's the problem
my file details net sql like:
SQLNET.log:
sqlnet.ora # Network Configuration file: C:\oracle\product\10.1.0\db_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET. AUTHENTICATION_SERVICES = (NONE)
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
trace_level_server = 16
trace_file_server = Server
trace_directory_server = F:------.
The listener file details are:
LISTENER:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = tsiindia)
(ORACLE_HOME = C:\oracle\product\10.1.0\db_1)
(SID_NAME = tsiindia)
)
)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = tsiindia) (PORT = 1521))
)
TRACE_FILE_LISTENER = F:\LISTENERTEST.trc
TRACE_DIRECTORY_LISTENER = F:\
LOGGING_LISTENER = we
TRACE_LEVEL_LISTENER = SUPPORT
SQLNET.log error while loading:
Fatal OR connect error 12500, connect to:
(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = tsiindia). (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = tsiindia) (CID = (PROGRAM=C:\oracle\product\10.1.0\db_1\bin\SQLLDR. (EXE) (Host = TSIINDIA) (User = Vijay)))
VERSION INFORMATION:
AMT for 32-bit Windows: release 10.1.0.2.0 - Production
Windows NT TCP/IP for 32-bit Windows NT Protocol adapter: release 10.1.0.2.0 - Production
Time: August 31, 2012 14:28:07
Tracing not lit.
AMT error struct:
NS main err in code: 12564
AMT-12564: TNS:connection refused
NS secondary err code: 0
NT main err in code: 0
NT secondary err code: 0
NT OS err code: 0
Can anyone of you please suggest what may be the problem because after google I have changes to the listener as well as sqlnet .ora file fileYou are always able to telnet your host?
-
ORA-12514: TNS:listener is not currently of service required in the cunt
Hi Experts,
I have installed Oracle RAC in the slot environment. But unable to connect ASM instance using the string tns
This is production DB up and running.
RAC 2 nodes
Oracle RAC 11.2.0.1.0
ASM
Enterprise Linux Server version 5.5 (Carthage)
X 64 processor type
64-bit operating system
Getting error below when connecting with the instance asm directly:
Entries of listening port on node 1[oracle@ admin]$ sqlplus sys@asm as sysasm SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 5 11:16:11 2012 Copyright (c) 1982, 2009, Oracle. All rights reserved. Enter password: ERROR: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor Enter user-name:
[oracle@ admin]$ cat listener.ora LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = +ASM1) (GLOBAL_DBNAME=ASM) (ORACLE_HOME = /u01/app/11.2.0/grid) ) (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = /u01/app/11.2.0/grid) (PROGRAM = extproc) ) ) [oracle@ admin]$
Tnsnames.ora entries are as below:$ lsnrctl services LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 12-AUG-2012 00:31:04 Copyright (c) 1991, 2009, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) Services Summary... Service "+ASM" has 1 instance(s). Instance "+ASM1", status READY, has 1 handler(s) for this service... Handler(s): "DEDICATED" established:0 refused:0 state:ready LOCAL SERVER Service "ASM" has 1 instance(s). Instance "+ASM1", status UNKNOWN, has 1 handler(s) for this service... Handler(s): "DEDICATED" established:0 refused:0 LOCAL SERVER 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
Any help?[oracle@ admin]$ cat tnsnames.ora # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora # Generated by Oracle configuration tools. XXX = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = xxx) ) ) ASM = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxxdata-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ASM) (SID_NAME = +ASM1) ) )
Kind regards
Published by: LazyDBA11g on August 11, 2012 21:58
Published by: LazyDBA11g on August 12, 2012 03:27LazyDBA11g wrote:
Hi Experts,ASM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = ucbdata-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ASM)
(SID_NAME = + ASM1)
)
)Any help?
Hello
First check that your asm is listening on listening port scan. If it is installed by default, so I suggest you change "(HÔTE = ucbdata-scan) ' to the local host where the asm instance"
second thing is there is typo in your tnsnames file. change this part "(SERVICE_NAME = ASM)" to "(SERVICE_NAME = + ASM).
It may be useful
See you soon
Fiedi -
ORA-12505 TNS Listener does not currently in SID
Hello
When I try to connect to Oracle Sql developer, error "ORA-12505 TNS Listener does not currently of SID given in connect descriptor". ""
I use 11 GR 1 material on Windows XPSP2 platform. But several sql works very well.
Thank you
Published by: user12222356 on April 11, 2010 07:20user12222356 wrote:
This time the Sql developer is connected successfully. But there is not a question of being happy because what happens frequently. Sometimes is connected while sometimes the connection refused... All, it seems, is that SQL Developer connection to the Oracle server depends on luck.
Is there any solution to get rid of this problem?It's a matter of timing.
First thing that should be launched is the listener. Who should be started on boot. For a laptop or another machine which uses the DHCP protocol, the listener must be configured to talk to the loopback adapter.
Then the database should be started to talk to listening on the port of sight to the listener - it is applied either with the "LOCAL_LISTENER" database being left to null (for the default listener on 1521). This can be checked by "Lsnrctl status" showing the instance of database such as saved and available.
Then the SQLDeveloper can start up, pointing to the same host, port, and service/instance, as shown in "lsnrctl status".
-
ORA-12505, TNS:listener is not currently of SID...
The President complied,
I installed
It worked fine for 2 days and its suddenly began raise the following error:Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production With the Partitioning, OLAP and Data Mining options
My listener.orajava.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: localhost:1521:XE
My tnsnames.ora# listener.ora Network Configuration File: c:\oracle\product\10.1.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.1.0\db_1) (PROGRAM = extproc) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) ) (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ) ) )
My sqlnet.ora# tnsnames.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. XE = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) )
My JDBC class:# sqlnet.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\sqlnet.ora # Generated by Oracle configuration tools. SQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
Journal of the listenerimport java.sql.Connection; import java.sql.DriverManager; public class DB{ public static Connection getOracleConnection() throws Exception { String driver = "oracle.jdbc.driver.OracleDriver"; String url = "jdbc:oracle:thin:@127.0.0.1:1521:XE"; String username = "RMS"; String password = "s09204031"; Class.forName(driver); Connection cnn = DriverManager.getConnection(url, username, password); return cnn; } }
Thank you and best regardsTNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production on 17-NOV-2009 16:01:55 Copyright (c) 1991, 2004, Oracle. All rights reserved. System parameter file is c:\oracle\product\10.1.0\db_1\network\admin\listener.ora Log messages written to c:\oracle\product\10.1.0\db_1\network\log\listener.log Trace information written to c:\oracle\product\10.1.0\db_1\network\trace\listener.trc Trace level is currently 0 Started with pid=3644 Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521))) TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE 17-NOV-2009 16:01:57 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821248)) * status * 0 17-NOV-2009 16:02:47 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821248)) * services * 0 17-NOV-2009 16:02:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821248)) * status * 0
Run "lsnrctl status" and if she does not see that your XE service you may need to manually add in listener.ora part SID_LIST:
for example:SID_LIST_LISTENER10G =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
(= Extproc PROGRAM)
)
(SID_DESC =
(GLOBAL_DBNAME = XE)
(SID_NAME = XE)
(ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
)
)or similar...
Also, make sure that you can resolve localhost for example ping localhost
Edited by: Kecskemethy November 17, 2009 06:12
-
Hello
I am to evaluate a tool that allows you to migrate a database from MySQL to oracle. Everything seems fine, until the tool is gone through the import of the target Oracle database process. The following error arises: ORA-12520: TNS:listener could not find a Manager is available for the requested server type
Following is part of the output of the migration, just tool before and where the error occurs:
---
...
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SWS_core_documentation_ID SEQUENCE of FALL
*+
ERROR on line 1:
ORA-02289: sequence does not exist
Order of creation.
Trigger created.
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Core_group for Oracle table import
Creating table and its constraints using the Oracle SQL * more utilitarian
SQL * more: Release 10.2.0.1.0 - Production kills Mar 31 16:20:14 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12520: TNS:listener could not find Manager available for requested type
Server
Enter user name:
---
I searched around and raised that potentially the problem could lie with the MAX_UTILIZATION value for the number of PROCESSES. How can I increase the value?
Some diagnoses are:
---
+ $> lsnrctl services +.
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on March 31, 2009 16:37:44
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
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
Service 'XEXDB' has 1 instance (s).
Instance "xe", State LOAN, has 1 operation for this service...
Managers:
+ "D000" put in place: 0 denied: 0 current: 0 max: 1002 State: loan +.
DISPATCHER < machine: xxxxxxx, pid: 2552 >
+ (Address = (Protocol = TCP (port = 1044))(Host=xxxxxxx)) +.
Service 'XE_XPT' has 1 instance (s).
Instance "xe", State LOAN, has 1 operation for this service...
Managers:
+ 'DEDICATED' set up: 38 refused: 0 status: ready +.
LOCAL SERVER
"Xe" service has 1 instance (s).
Instance "xe", State LOAN, has 1 operation for this service...
Managers:
+ 'DEDICATED' set up: 38 refused: 0 status: ready +.
LOCAL SERVER
The command completed successfully
+ $> +.
---
+ $> lsnrctl status +.
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on March 31, 2009 16:51:52
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Beginning of March 31, 2009 15:58:13
Uptime 0 days 0 h 53 min 38 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Default Service XE
Listener parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
Listener log file C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
Summary of endpoints listening...
+(Description=(address=(Protocol=IPC)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))+
+ (Description = (Address = (Protocol = TCP) (Host = xxxxxxx (port = 1521))) +)
+ (Description = (Address = (Protocol = TCP)(Host=127.0.0.1) (port = 8080)) (Presentation = http)(session=RAW)) +.
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...
Service 'XEXDB' has 1 instance (s).
Instance "xe", State LOAN, has 1 operation for this service...
Service 'XE_XPT' has 1 instance (s).
Instance "xe", State LOAN, has 1 operation for this service...
"Xe" service has 1 instance (s).
Instance "xe", State LOAN, has 1 operation for this service...
The command completed successfully
+ $> +.
---
+ $> sqlplus /nolog +.
SQL * more: Release 10.2.0.1.0 - Production kills Mar 31 16:54:04 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL > connect sys as sysdba
Enter the password:
Connected.
SQL > select * from v$ resource_limit where resource_name = '' process. ''
RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL
------------------------------ ------------------- --------------- ----------
LIMIT_VALU
----------
processes 21 33 40
+ 40 +.
SQL > SELECT count (*) FROM THE process of v$.
COUNT (*)
----------
+ 21 +.
SQL > SELECT count (*) FROM $session v;
COUNT (*)
----------
+ 15 +.
SQL > SELECT * FROM v$ resource_limit;
RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_ALLOCATION LIMIT_VALUE
----------------------------------------------------------------------------------------------------------------------------------------------------
gcs_shadows 0 0 0 0
dml_locks 0 57 212 UNLIMITED
temporary_table_locks 0 9 UNLIMITED UNLIMITED
0 7 53 UNLIMITED transactions
0 0 53 UNLIMITED branches
0 1 53 UNLIMITED cmtcallbk
sort_segment_locks 0 1 UNLIMITED UNLIMITED
11 11 53 65535 max_rollback_segments
max_shared_servers 4 4 UNLIMITED UNLIMITED
0 0 0 3600 PARALLEL_MAX_SERVERS
---
Any ideas as to what could be the problem?
Thank you
Amedeo.
P. S.
What is the syntax to create a block of code, if this forum?Hello
It isn't dinamyc parameter, so you need to modify the init.ora file.
that is incase you are usning init.ora file.
If you use spfile, you should
Run change processes control system = <# of="" proccesses="">scope = spfile;#>Thank you
Benjamin Gopal -
ORA-12154 tns could not resolve the specified correct identifier
I am facing the following problem:
labVIEW 2012 32 bits 64 bits of Windows 7, 10.2.0.1.0 oracle client (32-bit).
I created a DSN from Data Sources (ODBC) (32-bit version of what in % windir%\syswow64\odbcad32.exe) pointing to an instance of Oracle 10 g.
I have test the DSN in this way (IE. Data sources (ODBC) and the connection is successful (which means that the tnsnames.ora is correct).
I use the "DB tools Open Connection.vi" in order to get connected to this database, passing as parameters the DSN above, the user name and password.
I get the error:
ADO error: 0x80040E4D
Exception occurred in the Microsoft OLE DB provider for ODBC drivers:[Oracle] [ODBC] [Ora] ORA-12154: TNS could not resolve the specified correct identifier
all will help much appreciated
Thanks in advance
Hello everyone.
I already solved the problem (work until late Saturday).
the solution was to install the latest version of the Oracle customer, namely: Oracle 11 g Release 2 CLIENT for Windows 32 (11.2.0.1.0).
Now everything works OK.
I also tested in Windows 7 32 bit (the .vi even and the same Oracle client). This will also OK.
Thans a lot.
-
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!
-
ORA-12518: TNS:listener could not hand off client connection
Hello
I'm getting "ORA-12518: TNS:listener could not hand off client connection" error trying to connect to the "PDB". Here are the details of my env and I do:
Windows 7
My PC to install Oracle 11 g 2 Client (that's how I got this PC). And I already 11 GR 2 installed Oracle software and a local database that is named "ORCL" (whichdesignates currently the stop).
Yesterday, I installed Oracle 12 c (12.1.0) and created ORCL12C (CBD) and a PDBORCL (PDB). I connected to the PDBORCL as SYS and created user 'SCOTT '.
I am able to connect to ORCL12C (PEH) without any problem (SQL * more and TOAD). I can go to PDBORCL (alter session set container = pdborcl) without problem. But I get the error above (ora-12518 am) when I try to connect to the user 'SCOTT' created in 'PDBORCL' using SQL * more or TOAD. I want to connect to the user SCOTT and create objects in schema SCOTT, etc.. I get the same error, even if I try to connect to the PDB as user SYS (alter session command works fine).
I am new to 12 C. So it is quite possible that I'm doing something fundamentally wrong.
C:\app\oracle\product\12.1.0\dbhome_1\BIN>sqlplus sys as sysdba SQL*Plus: Release 12.1.0.2.0 Production on Thu Nov 12 12:06:37 2015 Copyright (c) 1982, 2014, Oracle. All rights reserved. Enter password: Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options SQL> show con_name CON_NAME ------------------------------ CDB$ROOT SQL> select con_id,dbid,NAME,OPEN_MODE from v$pdbs; CON_ID DBID NAME OPEN_MODE ---------- ---------- ------------------------------ ---------- 2 250475996 PDB$SEED READ ONLY 3 94279121 PDBORCL READ WRITE SQL> select service_id,name,pdb from v$services; SERVICE_ID NAME PDB ---------- ---------------------------------------------------------------- -------------- 6 pdborcl PDBORCL 5 orcl12cXDB CDB$ROOT 6 orcl12c CDB$ROOT 1 SYS$BACKGROUND CDB$ROOT 2 SYS$USERS CDB$ROOT SQL> SQL> select substr(username, 0, 15) username, user_id, account_status from dba_users where username = 'SCOTT'; USERNAME USER_ID ACCOUNT_STATUS ------------------------------------------------------------ ---------- -------------------------------- SCOTT 103 OPEN SQL>
Maybe you are looking for
-
Where to find plugins for Windows Media Player 11
Original title: Plug-ins to enable Firefox and Google Chrome to play WMP 11
-
Microsoft support scam / Virtual PC Doctor
I was called by someone claiming to be from Microsoft technical supportringing to warn me automatically downloaded the files that would be 'eat' my computer - he used terms tech more, but I am not very computer and this is the problem! I turned on my
-
I get (this dose of file does not exist) when you name a new folder, why?
Whenever I have add a new folder and try to name it, it's for me a sign that says, this dose of folder does not exist.On most of my files already on my computer I can rename them. I can not just quote new.I went to my registry with the help of Micros
-
I connected and applied the latest firmware for my 4600 SRA correct shellshock vulnerability, I hit the reset button and the device is in offline mode. The device is remote, so I asked someone on the spot, no LED on power, test or alarm but network p
-
Error 111 on the Webex Session start
Hello guys,. I have a problem when you start a session, the message I received is "Setup failed. Please try new error 111". The error occurs with Mozila Firefox Version 49.0, on the same computer, when I use the Chrome, the problem does not. Is there