ORA-12514 error while running adcfgclone.pl
Dear Hussein,
We are cloning an R12 instance, while running adcfgclone.pl dbTier, we are gettign the below error:
============================================================
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : db1
sDbDomain : ******.com
sDbPort : 1551
sDbSid : ERPUAT
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@db1.******.com:1551:ERPUAT
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db1.******.com)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=ERPUAT)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db1.******.com)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=ERPUAT.******.com)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
=============================================================
and in alert log file, there is below error:
=============================================================
alter database open resetlogs
ORA-1194 signalled during: alter database open resetlogs...
alter tablespace TEMP1 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp01.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp01.dbf' REUSE...
alter tablespace TEMP2 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp02.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp02.dbf' REUSE...
Sun Sep 13 23:53:24 2009
Shutting down instance (abort)
License high water mark = 1
USER (ospid: 1809): terminating the instance
Instance terminated by USER, pid = 1809
Sun Sep 13 23:53:25 2009
Instance shutdown complete
================================================
Please suggest
Bilal
Edited by: user5499416 on Sep 14, 2009 12:24 AM
Edited by: user5499416 on Sep 14, 2009 12:52 AM
Bilal,
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directoryPlease verify that the database was created successfully and it is up and running.
Regards,
Hussein
Similar Messages
-
ORA-01503 and ORA-01110 Errors while running adcfgclone.pl dbTier
Hi,
I am working on R12 on IBM AIX as I am cloning from one system to another I am facing some errors while running adcfgclone.pl for database tier.
Following is the log from the adcfgclone.pl as it fails;
Creating the control file for CLONE_test database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:32:43 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2160600 bytes
Variable Size 427821096 bytes
Database Buffers 624951296 bytes
Redo Buffers 14004224 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
*+
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01159: file is not from same database as previous files - wrong database id
ORA-01110: data file 22: '/u04/oracle/proddata/applsysx01.dbf'
alter database open resetlogs
*+
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP add tempfile '/u03/oracle/proddata/temp01.dbf' REUSE
*+
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.testcom.com"
*+
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2160600 bytes
Variable Size 427821096 bytes
Database Buffers 624951296 bytes
Redo Buffers 14004224 bytes
ORA-03113: end-of-file on communication channel
Process ID: 1278120
Session ID: 1105 Serial number: 3
ERROR:
ORA-03114: not connected to ORACLE
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
Connected.
ORA-01031: insufficient privileges
ERROR:
ORA-01012: not logged on
ERROR:
ORA-01012: not logged on
ERROR:
ORA-01012: not logged on
ERROR:
ORA-01012: not logged on
ERROR:
ORA-01012: not logged on
ERROR:
ORA-01012: not logged on
Disconnected
exit_code=1
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:33:12 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Disconnected
+.end std out.+
+.end err out.+
I have checked the log for preclone from the source machine but there are no errors. Below are the last lines of preclone log file
Zip2 - Completed native zipping sh -c "cd /u02/oracle/proddb/10.2.0/appsutil/out/PROD_testcom/; zip -q -y /u02/oracle/proddb/10.2.0/appsutil/clone/data/stage/adcrdb.zip -@ ; echo ERRORCODE = $? ERRORCODE_END"
Done...
+#############################################################+
StageDBTier Finished at Tue Aug 31 16:50:19 GMT03:00 2010+
Status: Completed Successfully
+#############################################################+
Please advice.
RegardsHi user:
1. Yes the database and lsnr were closed as the tar files were created. So, i assume thate there are no any oracle session avalibale when you copy files from source to target
2. Yes I would also like to mention that it already had an old instance. So this is just a new clone. So, i mention you have valid entery on /etc/hosts file
3. Please can you describe what permissions as from root user it was done as
chown -R oratest:dba <db tier folders> If your target user is oratest than syntax seems correct, did you copy oracle_home too from source to target and this home owner is oratest again right?
Regard
Helios -
Error while running adcfgclone on apps tier
I am getting the following error while running adcfgclone on the apps tier...
OS: RHEL 5.5 64bit
Oracle 10.2.0.3
EBS R12.0.4 Multinode
DB Tier and APPS Tier on different nodes.
RC-50004: Fatal: Error occurred in ApplyAppsTier:
StackTrace -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.java:590)
at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558)
at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
... 6 moreon the checking the logfile I am getting the following error
Executable : /do5_apphome/apps/tech_st/10.1.2/bin/sqlplus
SQL*Plus: Release 10.1.0.5.0 - Production on Fri Mar 30 11:12:06 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Enter value for 4: ERRO R:
ORA-12560: TNS:protocol adapter error
igccmprf.sh exiting with status 1
ERRORCODE = 1 ERRORCODE_END
.end std out.
.end err out.
Product Top Drivers executed : AD_TOP FND_TOP ICX_TOP IEO_TOP BIS_TOP AMS_T OP CCT_TOP WSH_TOP CLN_TOP OKE_TOP OKL_TOP OKS_TOP CSF_TOP IGS_TOP IBY_ TOP JTF_TOP MWA_TOP CN_TOP CSI_TOP WIP_TOP CSE_TOP EAM_TOP FTE_TOP ONT_ TOP AR_TOP AHL_TOP OZF_TOP IES_TOP CSD_TOP IGC_TOPI have successfully run rapidclone on db tier without any errors..Kindly advice me what to do to get my apps up and running..Database is already up and running!Mr Hussein ,
I guess it is an issue with autoconfig. So i tried to run auto config manually and got the following error which I would like you to have a look at
ADX Database Utility
getConnection() -->
sDbHost : devdb
sDbDomain : erp.local
sDbPort : 1551
sDbSid : dev
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@devdb.erp.local:1551:dev
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devdb.erp.local)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=dev)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devdb.erp.local)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=dev.erp.local)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Verifying connection to the Database : Could not be stablished
No Restore Profile file created.
Restore Profile utility ran successfully
===========================================================================
Listener Port no 1521 -
I am getting below error while running adcfgclone on APPS tier
ERROR : Unable to set CLASSPATH
/corp_ex1/DRPM/drpmcomn/clone/bin/../jlib/classes111.zip: is missing
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_29475.err file for errors
i copied classes111.zip from IAS_HOME to COMMON_TOP . Now I am getting below error
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_30763.err file for errorsPlease post the details of the application release, database version and OS.
ERROR: context creation not completed successfully
This is a generic error, please check the log files for details about the error.
Thanks,
Hussein -
ORA-03147 error while running Alert
I am getting “ORA-03147: Missing mandatory TTC field” error while running an alert. I can share error screenshot and the alert query, if needed. (not putting right now as the query is huge)
Please note that alert query runs perfectly fine in PLSQL Developer.
Any prompt suggestion/help is appreciated.Please find the alert query and error screenshot at below links:
https://docs.google.com/leaf?id=0B6W2rsWyyNGMMmJhNjQ5OTAtZGM1Ni00ZTY3LWJmNTEtM2RiYmUyYmJiNzFl&hl=en_US
https://docs.google.com/document/d/1yseUqYQYYPwnoMhnN1s1WFpkb1FjpWLniALGTHdhzfw/edit?hl=en_US
I cannot access the files in the above links.
Thanks,
Hussein -
Error while running adcfgclone.pl
Running Rapid Clone with command:
perl ./adclone.pl java=./../jre/jre mode=apply stage=/u128/app/oracle/product/dfindb/10.2.0/appsutil/clone/bin/./.. component=dbTier method=CUSTOM dbctxtg=/u128/app/oracle/product/dfindb/10.2.0/appsutil/DFIN_dev650.xml showProgress contextValidated=true
Beginning database tier Apply - Thu Jul 31 10:46:04 2008
Log file located at /u129/app/oracle/product/dfindb/10.2.0/appsutil/log/DFIN_dev650/ApplyDBTier_07310946.log
RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
ERROR while running Apply...
ERROR: Failed to execute ./adclone.pl
Please check logfile.
==============================================================================================
$tail /u129/app/oracle/product/dfindb/10.2.0/appsutil/log/DFIN_dev650/ApplyDBTier_07310946.log
Adding execute permission to :
/u129/app/oracle/product/dfindb/10.2.0/appsutil/install/adlnkoh.sh
Executing cmd :
/u129/app/oracle/product/dfindb/10.2.0/appsutil/install/adlnkoh.sh
adlnkoh.sh started at Thu 31 Jul 10:47:07 2008
logfile located in /u129/app/oracle/product/dfindb/10.2.0/install/make.log
Error while running adlnkoh.sh. Please check logfile
.end std out.
.end err out.
StackTrace:
java.lang.Exception: java.lang.NullPointerException
at oracle.apps.ad.clone.ApplyDBTechStack.runRelinkOH(ApplyDBTechStack.java:847)
at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:421)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:149)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:513)
=====================================================================================================
$tail /u129/app/oracle/product/dfindb/10.2.0/install/make.log
ld: 0711-319 WARNING: Exported symbol not defined: plspga
ld: 0711-773 WARNING: Object /u129/app/oracle/product/dfindb/10.2.0/lib//libserver10.a[dmbu.o], imported symbol _DBLINF
Symbol was expected to be local. Extra instructions
are being generated to reference the symbol.
ld: 0711-783 WARNING: TOC overflow. TOC size: 126528 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
mv -f /u129/app/oracle/product/dfindb/10.2.0/bin/oracle /u129/app/oracle/product/dfindb/10.2.0/bin/oracleO
mv /u129/app/oracle/product/dfindb/10.2.0/rdbms/lib/oracle /u129/app/oracle/product/dfindb/10.2.0/bin/oracle
chmod 6751 /u129/app/oracle/product/dfindb/10.2.0/bin/oracle
Completed...
Any help is appreciated.
Regards,
Timothy.Timothy,
Have you applied Latest Patches as mentioned in the note 230672.1?
Please review the following metalink thread
https://metalink.oracle.com/metalink/plsql/f?p=200:27:4407724858996795708::::p27_id,p27_show_header,p27_show_help:596405.992,1,1
-Mahesh -
ORA-12514 error while connecting to server
I am using instantclient to connect to Oracle 9i server.
The connection string is given using this format
//host:[port][service name].
In our development environment we can successfully connect to the server. But the connection fails in the production environment giving ORA-12514 error. This occurs even when we copy the instant client dll's onto separate folder and set the library loading path to this folder.
Can u please help me in resolving this problem.Vinay,
Since you are using Windows, are you setting PATH (the lib loading path of Windows)? -
Error while running adcfgclone on database tier please help me
Hello
I am doing cloning through cold backup and i face some errors..here is my logfile.....please suggest me some solution...
Executing script in InstantiateFile:
Attempting to create a back up of the Context file
Created back up file of name :
/home/clone/db/db/tech_st/10.2.0/appsutil/out/CLONE_zishan/12071920/CLONE_zishan.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /home/clone/db/db/tech_st/10.2.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
File system Context file :/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
===========================================================================
Starting Updates of Context file Tue Dec 07 19:20:41 GMT+05:30 2010
found context version : 120.27
available update version : 120.27
No updates to apply
Ending Updates of Context file
===========================================================================
===========================================================================
Starting Context Value Management System at Tue Dec 07 19:20:41 GMT+05:30 2010
Using version 120.8
Options:
Force : no
Contextfile : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
Templatefile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
ValueUpdateFile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcvmdb.xml
Verifying value management system requirements:
ContextFile : VALID
Template File : VALID
ValueUpdateFile : VALID
Parsing the ValueUpdateFile
[ s_contextfile ]
Action : seed
Change reason : Setting the location to what has been specified by user
New value : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
===========================================================================
[ Config tool : /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl ]
Command : /home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl PASSWORD contextfile=/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml logdir=/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan
Action : execute
SCRIPT RETURNED:
Generate Tns Names
Classpath : /home/clone/db/db/tech_st/10.2.0/jdbc/lib/ojdbc14.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java/xmlparserv2.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java:/home/clone/db/db/tech_st/10.2.0/jlib/netcfg.jar:/home/clone/db/db/tech_st/10.2.0/jlib/ldapjclnt10.jar
Loading ORACLE_HOME environment from /home/clone/db/db/tech_st/10.2.0
Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/NetServiceHandler.log
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating templates
tnsnames.ora instantiated
listener.ora instantiated
adgentns.pl exiting with status 25600
ERRORCODE = 25600 ERRORCODE_END
.end std out.
.end err out.
Result : FAILED
===========================================================================
Ending Context Value Management System.
===========================================================================
===========================================================================
No uploading of Context file and its templates to database. Database conection failed
===========================================================================
Finished running CVM.....
Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
Looking for the directory : /home/clone/db/db/tech_st/10.2.0/nls/data/9idata
Directory exists
Looking for file : /home/clone/db/db/tech_st/10.2.0/nls/data/old/cr9idata.pl
File exists
Validation complete
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 2 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
script returned:
Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 3 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
script returned:
afmkinit.sh started at Tue Dec 7 19:21:09 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err out.
Skipping Profile Phase
Skipping Apply Phase
Starting DB listener with command:
/home/clone/db/db/tech_st/10.2.0/appsutil/scripts/CLONE_zishan/addlnctl.sh start CLONE
You are running addlnctl.sh version 120.1
Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/addlnctl.txt
Starting listener process CLONE ...
addlnctl.sh: exiting with status 0
.end std out.
.end err out.
checking DB Connection...
DEBUG: checkDBConnection in()
ADX Database Utility
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
DEBUG: checkDBConnection out()
Verifying correctness of adcrdbclone.sql
Clustered Database: false
Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
instantiate file:
source : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql
dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
instantiate file:
source : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
Updating:s_db_rollback_segs:(_syssmu1$, syssmu2$, syssmu3$, syssmu4$, syssmu5$, syssmu6$, syssmu7$, syssmu8$, syssmu9$, syssmu10$, syssmu11$, syssmu12$, syssmu13$, syssmu14$, syssmu15$):
Updating:s_undo_tablespace:APPS_UNDOTS1:
Updating:s_database:db102:
Updating:isspfileexists:false:
Updating:s_dbfiles:512:
Executing Configuration Phase...
Deleting files of type INSTALL
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/sqlnet.ora
Processing driver file: /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
Checking for file: /home/clone/db/db/tech_st/10.2.0/dbs/initCLONE.ora
File exists
File deleted
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/listener.ora
File exists
File deleted
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/tnsnames.ora
File exists
File deleted
Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
AutoConfig Setup Phase
Running Setup Process 2 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
script returned:
Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 3 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
script returned:
afmkinit.sh started at Tue Dec 7 19:21:26 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err out.
Skipping Profile Phase
Skipping Apply Phase
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Tue Dec 7 19:21:27 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
LD_LIBRARY_PATH : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
Executable : /home/clone/db/db/tech_st/10.2.0/bin/sqlplus
The log information will be written to
/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/adcrdb_CLONE.txt
Creating the control file for CLONE_zishan database ...
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:27 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
ORA-00205: error in identifying control file, check alert log for more info
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-00210: cannot open the specified control file
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:33 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabaseHi;
What is EBS and Db,OS?
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389home/clone/db/db/apps_st/data/cntrl01.dbf' This file exsits? If yes you have r/w permission?
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
*Did you run preclone on source before copy file to target?
Regard
Helios -
ORA-12514 Error, While taking offline Rman backup
Hi Experts,
I have scheduled Rman offline backup job. Scheduled the following commands to run in a batch file(Win 2003 server)
I am getting the below error.
When we use shut down abort, do we need to restart the Listener?
Please help me on this issue.
I am using oracle 10.2.0.4.0 on Windows 2003 server
Shutdown Abort;
Startup Mount;
SQL 'Alter System Enable Restricted Session';
SQL 'Alter Database Open';
Shutdown Immediate;
Startup Mount;
Backup database;
Backup Current controlfile;
SQL 'Alter Database Open';
SQL 'Alter System Disable Restricted Session';
SQL 'Create Pfile from Spfile';
Exit;
Recovery Manager: Release 10.2.0.4.0 - Production on Tue Mar 3 03:12:56 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: xxxxx(DBID=524614998)
using target database control file instead of recovery catalog
RMAN> Shutdown Abort;
2> Startup Mount;
3> SQL 'Alter System Enable Restricted Session';
4> SQL 'Alter Database Open';
5> Shutdown Immediate;
6> Startup Mount;
7> Backup database;
8> Backup Current controlfile;
9> SQL 'Alter Database Open';
10> SQL 'Alter System Disable Restricted Session';
11> SQL 'Create Pfile from Spfile';
12> Exit;
Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 03/03/2009 03:13:01
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Recovery Manager complete.NAME TYPE VALUE
Thanks for the quick reply, Please see below for service_names, listener services and Listener.ora file content.
service_names string QASQL2
C:\>lsnrctl services
LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 03-MAR-2009 05:02:26
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxqasql2.domain.abcd-xyz.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "QASQL2XDB" has 1 instance(s).
Instance "qasql2", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: xxxQASQL2, pid: 5240>
(ADDRESS=(PROTOCOL=tcp)(HOST=xxxqasql2.domain.abcd-xyz.com)(PORT=2528
Service "QASQL2_XPT" has 1 instance(s).
Instance "qasql2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:17 refused:0 state:ready
LOCAL SERVER
Service "qasql2" has 1 instance(s).
Instance "qasql2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:17 refused:0 state:ready
LOCAL SERVER
The command completed successfully
C:\>
***********Listener.ora file
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = c:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxqasql2.domain.abcd-xyz.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCPS)(HOST = xxxqasql2.domain.abcd-xyz.com)(PORT = 2484))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
Thanks -
Getting "ORA-12514 error" while connecting first time
Hi,
Getting below error while connecting to the database first time.
ORA-12514: TNS:listener does not currently know of service requested in connect
apludc01dat25:e2cmpc1 > tnsping ora37_ap
TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 26-MAR-2012 12:00:58
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
/grid/product/crs/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = apl11764clu01-scan-oravip.nat.bt.com)(PORT = 61901)) (CONNECT_DATA = (SERVICE_NAME = ORA37_ap))
OK (0 msec)
apludc01dat25:e2cmpc1 > sqlplus
SQL*Plus: Release 10.2.0.5.0 - Production on Mon Mar 26 12:00:15 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Enter user-name: outln@ora37_ap
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name:
apludc01dat25:e2cmpc1 > sqlplus
SQL*Plus: Release 10.2.0.5.0 - Production on Mon Mar 26 12:00:22 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Enter user-name: outln@ora37_ap
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL>
Please help me out to resolve this issue.
Thank you.
Regards,
DasarathHi,
We are getting this error while connecting remotely.
PFB output of listener status and services
apl11764a001:ORA37a > lsnrctl services LISTENER_ORA37
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-MAR-2012 12:18:06
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA37)))
Services Summary...
Service "ORA37_ap" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:2 refused:0 state:ready
LOCAL SERVER
Service "ORA37_ap_XPT" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:2 refused:0 state:ready
LOCAL SERVER
Service "ORA37aXDB" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: apl11764a001, pid: 25970>
(ADDRESS=(PROTOCOL=tcp)(HOST=apl11764a001)(PORT=10862))
The command completed successfully
apl11764a001:ORA37a > lsnrctl status LISTENER_ORA37
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-MAR-2012 12:18:20
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA37)))
STATUS of the LISTENER
Alias LISTENER_ORA37
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 26-MAR-2012 12:15:17
Uptime 0 days 0 hr. 3 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /grid/product/crs/network/admin/listener.ora
Listener Log File /grid/product/crs/log/diag/tnslsnr/apl11764a001/listener_ora37/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_ORA37)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.169.4)(PORT=62037)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.169.7)(PORT=62037)))
Services Summary...
Service "ORA37_ap" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Service "ORA37_ap_XPT" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Service "ORA37aXDB" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
The command completed successfully
Thank you.
Regards,
Dasarath -
hi i'm performing hot backup cloning & when i run adcfgclone on apps tier....it is getting failed.here is my logfile.......single node....
Started ApplyAppsTier at Tue Dec 14 14:42:09 GMT+05:30 2010
Version:
ApplyAppsTier.java : 120.4
# Calling ApplyAppsTechStack...
Executing runInstallDriver...
Started unzipping files...
Completed runInstallDriver.
Executing home registration for s_weboh_oh...
Registration Driver not available
/clonehot/apps/apps/tech_st/10.1.3/appsutil/driver/regclone.drv
Using default registration.
copying /clonehot/apps/apps/tech_st/10.1.3//jlib/ojmisc.jar into jdk/jre/lib
checking - /clonehot/apps/apps/tech_st/10.1.3//oraInst.loc
checking - /etc/oraInst.loc
Validating oraInst.loc - /etc/oraInst.loc
oraInst.loc (/etc/oraInst.loc) points to directory without permissions: /u01/app/oracle/oraInventory
checking - /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc
Validating oraInst.loc - /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc
Found oraInst.loc at - /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc
The given ORACLE_HOME_NAME : WEBOH_PROD
This ORACLE_HOME_NAME is not registered in the inventory
running OUI CLI home cloning:
/clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc session:ORACLE_HOME=/clonehot/apps/apps/tech_st/10.1.3/ oracle.as.j2ee.top:s_asInstanceName=WEBOH_PROD oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=WEBOH_PROD
Executing command sh -c "/clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc session:ORACLE_HOME=/clonehot/apps/apps/tech_st/10.1.3/ oracle.as.j2ee.top:s_asInstanceName=WEBOH_PROD oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=WEBOH_PROD ; echo ERRORCODE = $? ERRORCODE_END" Tue Dec 14 14:42:10 GMT+05:30 2010
Command returned
ERRORCODE = 127 ERRORCODE_END
.end std out.
/bin/sh: /clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller: No such file or directory
.end err out.
Command sh -c "/clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc session:ORACLE_HOME=/clonehot/apps/apps/tech_st/10.1.3/ oracle.as.j2ee.top:s_asInstanceName=WEBOH_PROD oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=WEBOH_PROD ; echo ERRORCODE = $? ERRORCODE_END" failed. Tue Dec 14 14:42:10 GMT+05:30 2010
OUI CLI cloning failed.
Please look in to the latest OUI log file located in the central inventory /clonehot/apps/inst/apps/PROD_apps/admin/oraInventory/logs/cloneActions_<timestamp> for more details
Attempting to restore /clonehot/apps/apps/tech_st/10.1.3/oui/oraparam.ini.ouibak to /clonehot/apps/apps/tech_st/10.1.3/oui/oraparam.ini
Edited by: vandana on Dec 14, 2010 1:16 AMHi,
oraInst.loc (/etc/oraInst.loc) points to directory without permissions: /u01/app/oracle/oraInventoryPlease make sure that applmgr user has read/write/execute permission on the oraInventory directory.
Please look in to the latest OUI log file located in the central inventory /clonehot/apps/inst/apps/PROD_apps/admin/oraInventory/logs/cloneActions_<timestamp> for more detailsAny details about the error in this log file?
Thanks,
Hussein -
ORA-01704 error while running dbms_sql for a clob
Hi,
I'm running following code and getiing error ORA-01704: string literal too long
declare
cursor_name INTEGER;
t1 clob;
t2 clob;
r number;
begin
select a1 into t1 from temp
where n1 = 'test';
t2 := 'insert into temp (a1,n1) values (''' || t1 || ''',''test12'')' ;
cursor_name := dbms_sql.open_cursor;
DBMS_SQL.PARSE(cursor_name, t2, DBMS_SQL.NATIVE);
r := DBMS_SQL.EXECUTE(cursor_name);
DBMS_SQL.CLOSE_CURSOR(cursor_name);
dbms_output.put_line(r);
end;
clob t1 is 32598 butes long.
in temp table a1 is a clob.
Could anyone please tell me why the error and how to solve the problem.
Thanks
TarunThis is one of the many posts over here where the OP can not be bothered to include the four digit version number.
I can never understand why the version number is left out other than out of rudeness, arrogance and utter laziness.
Apparently the small lot here responding should be clairvoyant and/or remember all version numbers.
I'm going to call for a boycot of people posting without version number!!!!
As to the code:
There is no reason why you are using dbms_sql here, you are misusing Oracle, and it should have been static sql.
At least t2 should have been a bind variable, dbms_sql does support bind variables!
As far as I know the command string should be a varchar2, not a clob, and if t2 is a bind variable there is no need for t1 to be a clob.
Sybrand Bakker
Senior Oracle DBA -
ORA-03120 error while running XML on 8.1.7
Hi Steve and others,
We were getting errors returned XSU on Oracle 8.1.6 whenever the query resultset exceeded certain size. Steve, if you remember you advised us to move up to 8.1.7 which apparently fixes the bug.
I did.
But now whenever I run a XML statement I get
this error:
select xmlgen.getXML('select content_id from
bc_content where content_id < ''100''', 1) from dual
ORA-03120: two-task conversion routine: integer overflow
Now, I didn't install XSU again on this database. I believe that's pre-installed with 8.1.7. But do I need to install it on top? Or is there some other issue I am not aware of?
Thanks in appreciation,
NM
nullSteve,
Thanks very much for replying. Here is the rub: I get this error for EVERY statement (involving XML etc) that is executed through SQL*Net. But on SQLPlus of the server the queries run just fine.
I analyzed and found the following:
*** On server SQLPLUS of 8.1.7 database:
SQL> select xmlgen.getXML('select content_id from bc_content where content_id < ''1800''', 1) from dual ;
XMLGEN.GETXML('SELECTCONTENT_IDFROMBC_CONTENTWHERECONTENT_ID<''1800''',1)
<?xml version = '1.0'?>
<!DOCTYPE ROWSET [
<!ELEMENT ROWSET (ROW)*>
<!ELEMENT RO
** On a client for the new 8.1.7 database (BTW We didn't upgrade the client)
ORA-03120: two-task conversion routine: integer overflow
Ora-3120 is a TWO-TASK error.
Typically something is wrong for two-task errors with either
(a) Database. Which is not the case. As we saw the query works when executed from server the query works!
(b) Application Code: Which is not. As it works with the version of application talking to 8.1.6 database (which fails when filesize retrievd is big. Doesn't fail always)
(c) Network (SQL*Net): And the error is HERE! That's why even though the query is executed on server we fail to execute it on a client.
Our clients are on SQL*Net belonging to Oracle 8.1.6 as well. But we talk to an Oracle 8.1.7 server. Theoritically 8.1.6 client should work just fine with 8.1.7 server.
Thanks very much again for replying,
NM -
ORA-00904 Error while running CMP EJB
When I am running my CMP bean, I get following error,
2006-07-02 09:58:17,171 DEBUG org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.AccountBean#fi ndByAccountNumber] Executing SQL: SELECT t0_a.ACCOUNT.UOID FROM ACCOUNT t0_a WHERE (t0_a.ACCOUNT.ACCOUNT_NUMBER = ?)
2006-07-02 09:58:17,250 ERROR [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.AccountBean#fi ndByAccountNumber] Find failed java.sql.SQLException:
ORA- 00904: "T0_A"."ACCOUNT"."ACCOUNT_NUMBER": invalid identifier.
Why is it giving invalide identifier? the length of this identifer is also less then 30 and there are no special characters being used in it.I think I have read that you cannot use the "." to navigate through the object, you can only use it for accessing a field of an object (i.e. a column of a table in the DB).
So, never use more than 1 "." in your requests. In your case, I guess that you need to reformulate the request. -
Ora-06502 error while running a form
Hi
DECLARE
pl_id PARAMLIST;
begin
PL_ID:=GET_PARAMETER_LIST('TMP');
IF NOT ID_NULL(PL_ID) THEN
DESTROY_PARAMETER_LIST('TMP');
END IF;
PL_ID:=CREATE_PARAMETER_LIST('TMP');
ADD_PARAMETER(PL_ID,'PARAMFORM','TEXT_PARAMETER','NO');
/*ADD_PARAMETER(PL_ID,'Y_N','TEXT_PARAMETER',:L_CHOICE);
add_parameter(pl_id,'WHERE','TEXT_PARAMETER',:TI_WHERE);
add_parameter(pl_id,'ORDERBY','TEXT_PARAMETER',:TI_ORDERBY);*/
RUN_PRODUCT(REPORTS,'LEXUSE1.REP',SYNCHRONOUS, RUNTIME, FILESYSTEM, PL_ID, NULL);
EXCEPTION
WHEN OTHERS THEN
MESSAGE(SQLERRM);
MESSAGE(' ');
END;
i am using the above code on when-button-pressed trigger to call a report, but when i press the button i get an error message ORA-06502 PL/SQL Numeric or Value Error. dont know whyRemove single quotes around TEXT_PARAMETER
ADD_PARAMETER(PL_ID,'PARAMFORM',TEXT_PARAMETER,'NO');
Maybe you are looking for
-
Specific Hardware Configuration for a new ATG Project
Hi All, We're going to setup a new ATG Project in my organisation with ATG 10. Can you please suggest me the best Hardware configuration to setup new project? Thanks & Regards, Narasimha Rao D.
-
My Apple Mail keeps crashing after every 2 hours or so?
I can usually get 2 or so hours use out of Apple Mail before it crashes. I've got about 6 Gmail accounts setup on it plus my iCloud account. Mail is by far my favourite email client but if this continues to happen the only solution is converting - pl
-
Syncronizing to Vista windows Calendar & contacts
Hi, I am trying to set up syncronization between Vista Windows Calendar and Contacts with my Blackberry. These programs came with Vista. I can not afford Outlook, but I need a calendar and contact program on my computer. I go to configuration > confi
-
I used to be able to "Save" my material in PAGES. I upgraded to "Mountain Lion" and now when I go to "Save", it says "permission denied". How can I correct this? <E-mail Edited by Host>
-
Auto pop-up for wispr in any captive portal won't work anymore
Hi all, I really like the captive portal function. I am often at Starbucks, and I like the easy way to accept the user agreement. But, since some weeks, the auto pop-up to see the captive portal won't show ... neither Starbucks nor somewhere else! At