Sql * plus 9 is not able to connect oracle 7 database
Today I have installed oracle 9i release 2 and found that the sql * plus provided with is unable to connect oracle database version 7. But before that we were able to connect the oracle 7 database well.
Any one having a clue on that...?
Is it a product bug...?
If so then please provide me some alternative solution clue or patch download link. Please remember in any condition currently it is not possible discard my oracle 7 database.
With Regards.
Soumen.
No, it is not a bug. You just cannot connect with Ora9i R2 SQL*Plus to an Ora7 database.You cannot create a DB link between the two database either, if you are planning on doing that.
A solution is to install Ora8 client, which can connect to both Ora9 and Ora7 database (but a db link will stil be impossible).
Similar Messages
-
ATG CIM: Not able to connect to database jdbc:oracle:thin
Hi All,
I am trying to setup a ATG environment on windows boxes. Below is the setup:
VM1) DC - Windows Domain Controller (Windows Server 2008)
VM2) javadb - Oracle 11g (Windows Server 2008)
VM3) javaweb - ATG 10.0.3 / WebLogic wlserver_10.3/ TomCat 7 (Windows Server 2008)
Installation / Setup Progress
* Oracle 11g installation successful. Sample DB successfully created.
* WebLogic installation successful. Base_Domain successfully created.
* Able to create successful connection to Oracle (javadb vm) from TomCat (javaweb vm) and query data
Error: When configuring CIM I keep on getting >> "Not able to connect to database jdbc:oracle:thin:@javadb:1521:SampleDB @ scott"+_
Corrective action already taken:
1) Disabled firewall on all boxes
2) Added path of JDBC driver (ojdbc6.jar) in Environment Variables
3) Tested Oracle 11g (javadb vm) connectivity both from Eclipse and Tomcat. Which is successful
4) Cleared all files under C:\ATG\ATG10.0.3\CIM\data to reset CIM
Please refer CIM details below:
===========================================
CIM DISPLAY START
===========================================
-------ENTER CONNECTION DETAILS-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
Select Database Type
*[1] Oracle Thin
[2] MS SQL
[3] iNet MS SQL
[4] DB2
[5] My SQL
Select one > 1
Enter User Name [[system]] > scott
Enter Password [[**********]] > **********
Re-enter Password > **********
Enter Host Name [[javadb]] > javadb
Enter Port Number [[1521]] > 1521
Enter Database Name [[sampledb]] > SampleDB
Enter Database URL [[jdbc:oracle:thin:@javadb:1521:SampleDB]]
>
Enter Driver Path [[C:/Oracle/Middleware/wlserver_10.3/server/lib/ojdbc6.jar]]
Enter JNDI Name [[ATGProductionDS]] >
-------CONFIGURE DATASOURCE PRODUCTION CORE-----------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
[C] Connection Details - Done
*[T] Test Connection
[S] Create Schema
Import Initial Data
[D] Drop Schema
[O] Configure Another Datasource
> T
-------TEST DATASOURCE CONNECTION---------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
>> Not able to connect to database jdbc:oracle:thin:@javadb:1521:SampleDB @ scott
===========================================
CIM DISPLAY END
===========================================
===========================================
CIM LOG START
===========================================
**** Warning Mon Jul 23 22:46:25 IST 2012 1343063785645 atg.cim.worker.status.StatusUpdateValidator Status id nonswitchingCore-DatasourceConnectionTemplateStep is unknown.
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator Not able to connect to database jdbc:oracle:thin:@javadb:1521:SampleDB : -1 java.lang.ArrayIndexOutOfBoundsException: -1
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTIoauthenticate.java:948)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.T4CTTIoauthenticate.<init>(T4CTTIoauthenticate.java:225)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:358)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at java.sql.DriverManager.getConnection(DriverManager.java:582)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at java.sql.DriverManager.getConnection(DriverManager.java:185)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.BasicDataSource.getDriverManagerConnection(BasicDataSource.java:526)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.BasicDataSource.getDriverManagerConnection(BasicDataSource.java:588)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.BasicDataSource.getConnection(BasicDataSource.java:475)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.FakeXADataSource.getXAConnection(FakeXADataSource.java:671)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.MonitoredDataSource.createResource(MonitoredDataSource.java:837)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.resourcepool.ResourcePool.populateSlot(ResourcePool.java:2064)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.resourcepool.ResourcePool.checkOut(ResourcePool.java:1332)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.MonitoredDataSource.co(MonitoredDataSource.java:1792)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.MonitoredDataSource.getConnection(MonitoredDataSource.java:1070)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.worker.databaseconfig.TestJdbcConnectionValidator.performTestConnection(TestJdbcConnectionValidator.java:319)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.worker.databaseconfig.TestJdbcConnectionValidator.validate(TestJdbcConnectionValidator.java:266)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.executeValidations(StepExecutor.java:280)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.ui.text.TextDisplay.processStep(TextDisplay.java:338)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.ui.UIDispatchImpl.processStep(UIDispatchImpl.java:89)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processStep(StepExecutor.java:201)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processCurrentStep(StepExecutor.java:80)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.runner.Runner.run(Runner.java:152)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.types.LaunchTemplate.execute(LaunchTemplate.java:69)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.execute(CommandExecutor.java:128)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.executeCommands(CommandExecutor.java:156)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processStep(StepExecutor.java:129)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processCurrentStep(StepExecutor.java:80)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.runner.Runner.run(Runner.java:152)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.types.LaunchTemplate.execute(LaunchTemplate.java:69)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.execute(CommandExecutor.java:128)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.executeCommands(CommandExecutor.java:156)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processStep(StepExecutor.java:129)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processCurrentStep(StepExecutor.java:80)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.runner.Runner.run(Runner.java:152)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.types.LaunchTemplate.execute(LaunchTemplate.java:69)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.execute(CommandExecutor.java:128)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.executeCommands(CommandExecutor.java:156)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processStep(StepExecutor.java:129)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processCurrentStep(StepExecutor.java:80)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.runner.Runner.run(Runner.java:152)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.types.LaunchWizard.execute(LaunchWizard.java:73)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.execute(CommandExecutor.java:128)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.executeCommands(CommandExecutor.java:156)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processStep(StepExecutor.java:216)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processCurrentStep(StepExecutor.java:80)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.runner.Runner.run(Runner.java:152)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.flow.CimFlow.startupFlow(CimFlow.java:69)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.flow.CimFlowCreator.startDefaultCimFlow(CimFlowCreator.java:78)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.Launcher.startCimFlow(Launcher.java:168)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.Launcher.main(Launcher.java:68)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792218 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator Error initializing connection from parameters. Test for jdbc connection failed
===========================================
CIM LOG END
===========================================
Any suggestion how to resolve this issue. Thanks in advance.
cheers,
Sandeep
Edited by: 948180 on Jul 23, 2012 11:29 PMHi,
Earlier my ojdbc6.jar path was not at the beginning of ClassPath. I have made necessary changes. Please refer below:
Environment Variables Settings on machine where CIM resides:
PATH = C:\Oracle\Middleware\wlserver_10.3\server\lib\ojdbc6.jar+;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jre7\bin;C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin;C:\Program Files\cvsnt;C:\Program Files\Java\jdk1.7.0\bin;C:\Program Files\Sun\JavaDB\bin;C:\Program Files\Sun\JavaDB\lib;;C:\ATG\ATG10.0.3\MySQL\win32\bin;C:\ATG\ATG10.0.3\home\bin\;C:\Oracle\Middleware\wlserver_10.3\server\lib\;
Note: I have verified by ojdbc6.jar path.
Below are the precise steps I executed after updating my environment variables and restarting CMD.
===========================================
CIM DISPLAY START
===========================================
C:\ATG\ATG10.0.3\home\bin>cim.bat
Nucleus running
_ | () |
__ _ | |_ __ _ ----
/ _` | | __| / _` |
| (_| | | |_ | (_| |
\__,_| \__| \__, |
|___/
Configuration Installation Manager
=======CIM MAIN MENU============================================================
enter [h]elp, [q]uit to exit
Choose the task you want to perform:
*[1] Database Configuration
[2] Server Instance Configuration
[3] Application Assembly & Deployment
[P] Product Selection - Done (ATG B2C Commerce)
[A] Select Application Server - Done (Weblogic Online)
[C] Custom CIM Plugin Launcher
> 1
-------CALCULATE DATASOURCE DEPENDENCIES----------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Calculating Datasource Dependencies. View log file at C:/ATG/ATG10.0.3/home/
../CIM/log/cim.log
|. . |
|. . |
-------SELECT A DATASOURCE TO CONFIGURE-----------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
*[P] Publishing
[C] Production Core
[D] Done
> c
-------CONFIGURE DATASOURCE PRODUCTION CORE-------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
[C] Connection Details - Done
*[T] Test Connection
[S] Create Schema
Import Initial Data
[D] Drop Schema
[O] Configure Another Datasource
> t
-------TEST DATASOURCE CONNECTION-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
>> Not able to connect to database jdbc:oracle:thin:@javadb:1521:SampleDB @
scott
*[E] Edit Connection Details
[R] Redo
[D] Done
> e
-------RE-USE VALUES FROM PREVIOUS DATASOURCE-----------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
Base on previous database details:
[1] system@jdbc:oracle:thin:@javadb:1521:sampledb
[2] scott@jdbc:oracle:thin:@javadb:1521:SampleDB
*[3] None/Use Existing
Select one > 2
-------ENTER CONNECTION DETAILS-------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
Select Database Type
*[1] Oracle Thin
[2] MS SQL
[3] iNet MS SQL
[4] DB2
[5] My SQL
Select one > 1
Enter User Name [[scott]] > scott
Enter Password [[**********]] > **********
Re-enter Password > **********
Enter Host Name [[javadb]] > javadb
Enter Port Number [[1521]] > 1521
Enter Database Name [[SampleDB]] > SampleDB
Enter Database URL [[jdbc:oracle:thin:@javadb:1521:SampleDB]]
> jdbc:oracle:thin:@javadb:1521:SampleDB
Enter Driver Path [[C:/Oracle/Middleware/wlserver_10.3/server/lib/ojdbc6.jar]
] > C:\Oracle\Middleware\wlserver_10.3\server\lib\ojdbc6.jar
Enter JNDI Name [[ATGProductionDS]] > ATGProductionDS
-------CONFIGURE DATASOURCE PRODUCTION CORE-------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
[C] Connection Details - Done
*[T] Test Connection
[S] Create Schema
[I] Import Initial Data
[D] Drop Schema
[O] Configure Another Datasource
> T
-------TEST DATASOURCE CONNECTION-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
>> Not able to connect to database jdbc:oracle:thin:@javadb:1521:SampleDB @
scott
*[E] Edit Connection Details
[R] Redo
[D] Done
>
===========================================
CIM DISPLAY END
===========================================
Don't understand what could possibly be going wrong.
Cheers,
Sandeep
Edited by: 948180 on Jul 24, 2012 12:23 AM -
Not able to connect Oracle through PHP
Hello All ,
I am trying to connect Oracle DB through PHP script . But I am not able to do so .
My code is :
<?php
echo "PRASHANT" ;
include 'include/odb.php';
include 'include/ReadConfig.php';
$conn=OrclConnect('orcl');
$conn->SetFetchMode(ADODB_FETCH_BOTH);
echo "DWIVEDI" ;
?>
But when I ran this script throgh command prpmpt , I am getting the first echo message .. But not the last one ( echo "Dwivedi") .
I am not able to connect Oracle DB through this script .
Please some one help me out where I am wrong with script .
Thanks
Prashant DwivediBelow is my source code
<?php
$ORACLE_HOME = 'D:\\oracle\\product\\10.2.0\\parag';
$ORACLE_SID = 'parag';
$LD_PRELOAD ='';
$LD_LIBRARY_PATH ='';
$TNS_ADMIN = 'D:\\oracle\\product\\10.2.0\\parag\\NETWORK\\ADMIN';
$NLS_LANG = 'AMERICAN_AMERICA.WE8MSWIN1252';
$username='spd';
$password='spd';
$db='(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = parag)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = parag)))';
echo "here1";
echo "$TNS_ADMIN";
$conn = oci_connect($username,$password,$db);
echo "$ORACLE_HOME";
if (!$conn) {
$e = oci_error();
print htmlentities($e[' message']);
exit;
?>
But still i am getting the same error message -
Not able to connect RAC database from client
Hi there
Recently I have configured RAC in test environment. version 11.2.0.1. OS Redhat 5.9. Everything seems to be fine except not able to connect rac database from client. Error is as under :
C:\Documents and Settings\pbl>sqlplus test1/test1@myrac
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 17 14:29:06 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12545: Connect failed because target host or object does not exist
Enter user-name:
myrac =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = racdb.testdb.com.bd)
Please give me your valuable suggestion to overcome the issue.
Regards
Jeweluser13134974 wrote:
ORA-12545: Connect failed because target host or object does not exist
This error means that the hostname or IP address used in the TNS connection string, failed to resolve or connect.
Your client is making two connections. The first connection is to the SCAN listener. It matches a db instance for your connection request based on service requested, available registered service handlers, load balancing, and so on. It then send a redirect to your client informing it of the handler for that service.
Your client then does a second connection to this service (a local RAC listener that will provide you with a connection to the local RAC instance). This is what seems to be failing in your case.
The SCAN listener's redirect uses the hostname of the server that the local listener is running on. Your client needs to resolve that hostname (of a RAC node) to an IP address. This likely fails.
You can add the RAC node hostnames to your client platforms hosts file. The appropriate action however would be to ensure that DNS is used for name resolution instead. -
Enterprise manager is not able to connect to database instance
Hi
I am having a problem with Oracle EM. I would appreciate very much if anyone can help me.
I installed Oracle on XP which runs on virtual pc on XP as well. Everything is fine, I can connect to database with sqlplus, and there were no errors during installation.
But the problem is that, when I try to connect to database with EM, it says:
Enterprise manager is not able to connect to database instance . The state of the components are listed below.
Can anoyone help me?user10637311 wrote:
When you want OEM DB , your existing DB should be created by DBCA or if suppose manually creaed DB then you have to configure that DB to EM by
"emca -config dbcontrol db -repos create". for these two cases istener should be running.
emctl start dbconsole -> to start dbconsole service
emctl status dbconsole-> status of servicesI am sorry, I was looking at $ORACLE_HOME\admin . And in the proper path, both listener.ora and tnsnames.ora do exist.
emca -config dbcontrol db -repos create :
<last part>:
INFO: This operation is being logged at C:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\orcl\emca_2010-02-18_02-01-40-AM.log.
Feb 18, 2010 2:02:46 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\or
cl\emca_repos_create_<date>.log for more details.
Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
a_2010-02-18_02-01-40-AM.log for more details.
Could not complete the configuration. Refer to the log file at C:\oracle\product
\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2010-02-18_02-01-40-AM.log for more deta
ils.
C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\or
cl\emca_repos_create_<date>.log:
Check if repos user already exists.
old 6: WHERE username=UPPER('&EM_REPOS_USER');
new 6: WHERE username=UPPER('SYSMAN');
old 8: IF ( '&EM_CHECK_TYPE' = 'EXISTS') THEN
new 8: IF ( 'NOT_EXISTS' = 'EXISTS') THEN
old 11: raise_application_error(-20000, '&EM_REPOS_USER does not exists..');
new 11: raise_application_error(-20000, 'SYSMAN does not exists..');
old 14: ELSIF ( '&EM_CHECK_TYPE' = 'NOT_EXISTS' ) THEN
new 14: ELSIF ( 'NOT_EXISTS' = 'NOT_EXISTS' ) THEN
old 17: raise_application_error(-20001, '&EM_REPOS_USER already exists..');
new 17: raise_application_error(-20001, 'SYSMAN already exists..');
old 21: raise_application_error(-20002, 'Invalid Check type &EM_CHECK_TYPE');
new 21: raise_application_error(-20002, 'Invalid Check type NOT_EXISTS');
DECLARE
ERROR at line 1:
ORA-20001: SYSMAN already exists..
ORA-06512: at line 17 -
Datareader is not able to connect with database-Urgent
Hi All,
All of a sudden the Datareader component in my ML experiment is not able to connect with database with the following error:
[ModuleOutput] DllModuleHost Error: 1 : Program::Main encountered fatal exception: Microsoft.Analytics.Exceptions.ErrorMapping+ModuleException: Error 0000: Internal error ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: The value's length for key 'password' exceeds it's limit of '128'.
Module finished after a runtime of 00:00:00.2031339 with exit code -2
Module failed due to negative exit code of -2
It complains about the password being long-but the same credentials I have been using for the last 2 months and still able to use it to run sql queries on that same database using the management portal.
It appears that Azure encrypts the password and that encrypted password is too long...just my guess after looking that the output.Inside Ml it just says as internal error
Would appreciate if someone can point to the issue at the earliest...(There is a demo early next week)
Subscription:Enterprise,
LOCATION: East Asia
Regards,
BiswajitHi,
Please check this url:
https://studio.azureml.net/Home/ViewWorkspace/bc85d4f81d2246c4b1430eb395229a3a?&hashSeg=#Workspaces/Experiments/Experiment/bc85d4f81d2246c4b1430eb395229a3a.f-id.11776ae4400f4c1aa9f58308c30810fa/ViewExperiment
which is an experiment which I created doing save as of the experiment in which the data reader works.
I stripped everything except the data reader and setup the rest of the components...I finally have to write the results back ,so also pulled a Writer component.
Now,the data reader works fine..but the Writer fails:
Error 0071: Incorrect username "acnadmin" or password is passed
Strangely,its the same credentials set in the DataReader.
Looks like all the DataInput/Output components created recently only have the problem.
Once again,while the datareader in this case passes the password in plain text,the writer encrypts,hence fails. -
Not able to connect linux database instance in another machine
Hi,
I have installed oracle 10g database server in Linux, and i created one database instance. and i have added tns entry and listener entry.
I am to connect the database on that machine. but not in different machine. i am able to access/ping linux machine in another machine also.
while creating tns entry for linux database instance in another machine using "netca" i am getting this error.
Connecting...ORA-12560: TNS:protocol adapter error
The test did not succeed.
Some of the information you provided may be incorrect.
Click Back to review the information provided for net service name, or Change Login to change username.
I verified listener and tns entry ( i think for this listener configuration is enough) also. and database is up.
If anybody knows why i am not able to connect linux database in another machine. is there any network configurations other than listener configuration.
Thanks in advance.yes i tried to connect with ORACLE_SID, its successful. and using tnsname like you said.
Instead of using netca to create the tnsnames.ora entry on the second server, copy the tnsnames.ora entry from the DB server. Then use tnsping to test connection :-i done above but not able to ping the tns name, i am getting this error.
TNS-12560: TNS:protocol adapter error
------------------------------------------------ -
Not able to connect to database from Form builer
Hi ,
I installed oracle 10 g in my machine and is accessable from SQLPLUS & TOAD.
In the same drive i installed Form builder, i am getting the below error when i tried to connect DB from form builder.
ORA- 12154 : TNS : could not resolve service name.
Kindly do the needfull.not able to connect to database from Form builder
-
I have iphone 6 plus and not able to connect with my Nokia bluetooth device
not able to connect with bluetooth devices
iPhone only does limited forms of bluetooth connections, such as with speakers.
You cannot transfer files from an iPhone to a Nokia phone using bluetooth.
What type of Nokia device are trying to connect with? Is the Nokia in pairing mode?
What exactly are you attempting to do? -
Not able to connect to database some times
some times i am not able to connect to my database via sqlplus.
after entering this command, we don't receive any response. please help.
-bash-3.2$ sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 23 11:11:36 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: /as sysdbaHi Emran,
Set sufficient value of processes/sessions in init/spfile of database , might be session limit of DB is getting exceeded & restricting new connection.
Check alert log & below query o/p , CURRENT_UTILIZATION < MAX_UTILIZATION to get connection to DB
select * from v$resource_limit;Also , try to connect as sqlplus prelim & do hang analyze , refer below link
http://blog.tanelpoder.com/2012/05/08/oradebug-hanganalyze-with-a-prelim-connection-and-error-can-not-perform-hang-analysis-dump-without-a-process-state-object-and-a-session-state-object/
sqlplus -prelim "/as sysdba"
ORADEBUG HANGANALYZE 3Thanks,
Ajay More
http://www.moreajays.com -
Not able to connect RAC database
hi all
i am using oracle 10.2 RAC on suse enterprse linux server 10.1
from node 1 i am able to connect database but from node 2 i m not able to connect..
when try to connect system/test.. its hang and didnt dispaly any error messg..
even yesterday i was able to connect on node2 but at that i was not able to execute query like..select * from all_users...its just hang..but i was able to execute select username from all_users... and it was working wothour any error..thanx
output of crs_stat -t
Name Type Target State Host
ora.rubikon.db application ONLINE ONLINE rubikon121
ora....ikon.cs application ONLINE ONLINE rubikon120
ora....on1.srv application ONLINE ONLINE rubikon120
ora....on2.srv application ONLINE ONLINE rubikon121
ora....n1.inst application ONLINE ONLINE rubikon120
ora....n2.inst application ONLINE ONLINE rubikon121
ora....SM1.asm application ONLINE ONLINE rubikon120
ora....20.lsnr application ONLINE ONLINE rubikon120
ora....120.gsd application ONLINE ONLINE rubikon120
ora....120.ons application ONLINE OFFLINE
ora....120.vip application ONLINE ONLINE rubikon120
ora....SM2.asm application ONLINE ONLINE rubikon121
ora....21.lsnr application ONLINE ONLINE rubikon121
ora....121.gsd application ONLINE ONLINE rubikon121
ora....121.ons application OFFLINE OFFLINE
ora....121.vip application ONLINE ONLINE rubikon121
output of alter.log file
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 12:53:12 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
ORA-00604: error occurred at recursive SQL level 3
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 13:05:40 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 13:20:52 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 13:36:04 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 13:38:12 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
ORA-00604: error occurred at recursive SQL level 3
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 13:51:16 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 14:06:28 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 14:21:40 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 14:23:12 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
ORA-00604: error occurred at recursive SQL level 3
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 14:36:52 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 14:52:04 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 15:07:16 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 15:08:12 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
ORA-00604: error occurred at recursive SQL level 3
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 15:22:28 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 15:37:40 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 15:52:52 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
ORA-00604: error occurred at recursive SQL level 2
ORA-04021: timeout occurred while waiting to lock object
Mon Sep 20 15:53:12 2010
Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
ORA-00604: error occurred at recursive SQL level 3
ORA-04021: timeout occurred while waiting to lock object -
Unable start up the Enterprise Manager is not able to connect to database
hi,
i am unable to start up the Enterprise Manager is not able to connect to the database instance.
This is the status
Host
chinna
Port
1521
SID
orcl
Oracle Home
C:\app\Administrator\product\11.1.0\db_3
Listener
Status
Down
Host
akil
Port
1521
Name
LISTENER
Oracle Home
C:\app\Administrator\product\11.1.0\db_3
Location
C:\app\Administrator\product\11.1.0\db_3\network\admin
Details TNS-12541: TNS:no listener
Agent Connection to Instance
Status
Failed
Details ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)Hi,
Details ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)Please check Listener, Database and enterprise manager Service is up and running.
regards,
Xaheer -
Adobe Configuration manager is not able to configure Oracle Database
Hi,
I am trying to configure and test data base connection using adobe livecycle configuration manager.
I am sure that my all oracle database credials (db type,db name, host name, port number , db userid and password) are correct.
but not sure about JDBC driver in application server lib and local JDBC driver path.
When i click on Test Database Connection it gives me error message "database setting failed validations".
Please help me knowing the issue. Why i am not able to connect to Oracle data base.
I have three servers
1. Adobe LC server ( First I installed Weblogic and then adobe lc)
2. weblogic server (only weblogic is installed, created database and gave privilages as per clustering_weblogic.pdf document)
3. Oracle Database (only oracle is installed, using Net manager , entering userid and password connection is successfull)
Please let me know issue.
Regards
Sunil GuptaHina,
ok, before i further move. I just want to confirm data base if evething is all right...
I created on database using configuration assistant tool in oracle.
DataBase Name : adobe_lc
SID: adobelc
port :default is 1521
userid :system
password:xxxxx
hostname: ip address or maachine name with domain.
then i assigned following privilages to user account system
●
CREATE SEQUENCE
●
CREATE VIEW
●
UNLIMITED TABLESPACE
●
CREATE TABLE
●
CREATE CLUSTER
●
CREATE SESSION
i assigned privilages by login into https://hostname.domain:5500/em.
Question:
Above url i got when i open database from start->oracle home->created db.
should this 5500 and port number same???
When i test it using "Net Manager" in oracle database, using userid and password it is tested successfully.
so i think there is no issue with the database. I mean to say, then there is no issue at oracle database side correct?
please let me know if anything else need to be tested on database. because before i proceed further i want to confirm that my database is correct in all aspect and ready to be configured with weblogic.
Regards
sunil gupta -
Not able to connect Oracle DBXE from sql*plus client
Hi,
I have installed Oracle 10gXE from oracle site. i have updated the tnsnames.ora also
but when i try to connect the db through sql*plus client, i am redirected to .net debugger.
Pls help me in this,
Thanks in advance.
-- RajaHello,
Can you clarify what you are trying to connect from? If it's B1 ( one ) then post to the [B1 forum|http://forums.sdn.sap.com/index.jspa#44].
Otherwise need more info on the product you are using?
Typically the Oracle Path must be in the PATH statement as well it requires the correct platform ( 32 or 64 ) bit client installed.
Most BOE/CR products are 32 bit so you need to install the 32 bit client.
Don -
I am not able to connect to database in sql developer.how to do?
I downloaded sqldeveloper 1.5.4.59.40. iam not able to establish connection to database. Can anyone tell me ?
Have you created a database (or have one you connect to)?
Have you created the Net Service connections for SQL Developer to use?
Does SQL Developer have access to this Net Serviice name?
Have you created the connections from SQL Developer?
Can you post an error message?
See
<br>
Oracle Database FAQs
</br>
Maybe you are looking for
-
How do I get pop-ups to open in the same screen Firefox is on?
I have 3 monitors at work for the 10-15 programs/windows I need open all day. The problem is that my normal work requires a pop-up from our company's ticketing system, hosted on a website. That pop-up always occurs on the upper left-hand corner of th
-
Is Adobe acrobat 6.0 CE compatibile with WIN 8.1 Pro 64bit version?
Is Adobe acrobat 6.0 CE compatibile with WIN 8.1 Pro 64bit version?
-
Like the title says, im downloading itunes or even the quicktime update, just as its about to be finished a mssg pops up saying the older version of quicktime cant be removed. Ive tried to remove it through the control panel and in the drop down menu
-
How do I add items to a collection after the collection has been created?
I can't figure this out. I click on the gear icon next to my collection name but I don't see the feed you initially see when you create the collection?
-
Aperture 3 and recovered projects
I'm running Aperture 3 with Mountain Lion on an iMac. I had trouble opening Aperture 3 and went through the Repair Library Database and Repair Permissions routine a number of times. I finally removed Aperture 3 and re-installed it. After upgrading to