Error while rman recovery of database
We are using rman recovery for database clone.
I am getting the following error,
restoring datafile 00442 to /d05/u10/oracle/ndevdata/applsysd06.dbf
channel dup1: reading from backup piece /db05/PROD_BACKUPS/inc0_dPROD_u1bku1pnr_t702605051_s15403_p1
ORA-19870: error reading backup piece /db05/PROD_BACKUPS/inc0_dPROD_u19ku1onq_t702604026_s15401_p1
ORA-19505: failed to identify file "/db05/PROD_BACKUPS/inc0_dPROD_u19ku1onq_t702604026_s15401_p1"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 3
ORA-19870: error reading backup piece /db05/PROD_BACKUPS/inc0_dPROD_u1aku1ou5_t702604229_s15402_p1
ORA-19505: failed to identify file "/db05/PROD_BACKUPS/inc0_dPROD_u1aku1ou5_t702604229_s15402_p1"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 3
ORA-19870: error reading backup piece /db05/PROD_BACKUPS/inc0_dPROD_u1bku1pnr_t702605051_s15403_p1
ORA-19505: failed to identify file "/db05/PROD_BACKUPS/inc0_dPROD_u1bku1pnr_t702605051_s15403_p1"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 3
failover to previous backup
How to resolve this?
Thanks,
Kavitha
hi;
Please follow:
Re: erros while clong a db
Also check:
http://kr.forums.oracle.com/forums/thread.jspa?threadID=546746
Re: rapid clone from RMAN backup
Regard
Helios
Similar Messages
-
Error while running adpreclone on Database Tier
Hii..
im getting following error while running adpreclone on database Tier,
This is Error Message coming,
D:\APPSORA\proddb\10.2.0\appsutil\scripts\PROD_diwaf-prd-erpdb>perl adpreclone.pl dbTier
Running Rapid Clone with command...
perl D:\APPSORA\proddb\10.2.0\appsutil\bin\adclone.pl java=D:\APPSORA\proddb\10.2.0\jre\1.4.2 mode=stage stage=D:\APPSORA\proddb\10.2.0\appsutil\cl
one component=dbTier method=CUSTOM dbctx=D:\APPSORA\proddb\10.2.0\appsutil\PROD_diwaf-prd-erpdb.xml showProgress
Beginning database tier Stage - Tue Oct 4 09:54:38 2011
APPS Password : amapps2011
Log file located at D:\APPSORA\proddb\10.2.0\appsutil\log\PROD_diwaf-prd-erpdb\StageDBTier_10040954.log
- 0% completed
ERROR while running Stage...
ERROR while running perl D:\APPSORA\proddb\10.2.0\appsutil\bin\adclone.pl java=D:\APPSORA\proddb\10.2.0\jre\1.4.2 mode=stage stage=D:\APPSORA\proddb\10.2.0
*\appsutil\clone component=dbTier method=CUSTOM dbctx=D:\APPSORA\proddb\10.2.0\appsutil\PROD_diwaf-prd-erpdb.xml showProgress ... Please check the log for*
more details..
I checked logfiles also...but there is no information,
t*he folowing is the logfiles contents*
Started StageDBTier at Tue Oct 04 09:05:11 GMT+03:00 2011
Version:
StageDBTier.java : 115.27
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : diwaf-prd-erpdb
sDbDomain : af.gov.local
sDbPort : 1521
sDbSid : PROD
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@diwaf-prd-erpdb.af.gov.local:1521:PROD
Connection obtained
-------------------ADX Database Utility Finished---------------
D:\APPSORA\proddb\10.2.0\appsutil\scripts\PROD_diwaf-prd-erpdb>
My Apps version is 11.5.10.2
my DB version is 10.2.0.4
IM using windows server 2003 R2 entrepriose edition service pack 2.
There is no error running adpreclone on AppsTier.
Can anyone help me in solving the issue.
waiitng for your replies
Thanks in advance.As mentioned in the document https://kr.forums.oracle.com/forums/thread.jspa?threadID=295697&messageID=2252395
I checked my echo $PATH and it gives the follwing o/p
D:\APPSORA\proddb\10.2.0>echo %PATH%
C:\Perl\bin\;D:\APPSORA\proddb\10.2.0\bin;D:\APPSORA\proddb\10.2.0\jdk\bin;D:\APPSORA\proddb\10.2.0\jdk\bin;C:\orant\bin;D:\APPSORA\prodora\8.0.6\bin;C:\Pe
rl\site\bin;C:\Perl\bin;B:\PROGRA~1\MKSTOO~1\bin;B:\PROGRA~1\MKSTOO~1\bin\x11;B:\PROGRA~1\MKSTOO~1\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32
*\wbem;c:\program files\hp\hp bto software\bin;c:\program files\hp\hp bto software\bin\opc*
I checked the zip version as follows
which zip
D:\APPSORA\proddb\10.2.0\bin/zip.exe
zip -v
Copyright (c) 1990-2006 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 2.32 (June 19th 2006), by Info-ZIP.
D:\APPSORA\proddb\10.2.0>which java
D:\APPSORA\proddb\10.2.0\jdk\bin/java.exe
D:\APPSORA\proddb\10.2.0>java -version
java version "1.4.2_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)
Java HotSpot(TM) Client VM (build 1.4.2_14-b05, mixed mode)
D:\APPSORA\proddb\10.2.0>which perl
C:\Perl\bin\perl.exe
D:\APPSORA\proddb\10.2.0>perl -version
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
*(with 5 registered patches, see perl -V for more detail)*
Is there any problems with o/p obtained.
Plz suggest
Thanks.. -
Error while connecting to the database from a JSP Page
Hi,
I am using a simple JSP page which is based on the sample JSP pages from OTN.
When I try to connect to my database using the following code:
InitialContext ic = new InitialContext();
OracleDataSource ds = (OracleDataSource)ic.lookup("jdbc/OTN9iDS");
m_connection = ds.getConnection();
I get the following error:
Naming exception Error while connecting to the database : javax.naming.NameNotFoundException: jdbc/OTN9iDS not found in JDBCTest-JDBCTestProject-webapp
Does anybody know wht this is happening?
Any help would be appreciated
FRankHi Frank,
Are you using standalone OC4J or 9iAS ? If you are using standalone OC4J then you need to add a proper data source entry in %OC4J_HOME%j2ee\home\config\data-sources.xml file.
If you are using 9iAS the you can log in to the Enterprise Manager console and add the data source entry by using wizard provided by 9iAS.
Ensure the case of the JNDI lookup string, since, it is case sensitive.
Hope this helps.
Abhijeet -
Hi All,
At the time of creating a travel request, I am getting the following error :
Error while writing to the database (PTRV_HEAD/PTRV_PERIO/Cluster TE)
Please advise how to resolve this issue.
Regards,
Rahulsuch problem occor when u have not defined the number range
Set Up Trip Number Ranges
if the problems remaines after defining number range...keep check all transaction there may two three more numbers ranges has to define..
this prblem is only due to number ranges not defined by you. -
Oracle RMAN recovery catalog database in a Primary and Standby mode
Hello All,
The customer wants the RMAN recovery catalog database to be highly available so that none of the RMAN database backup jobs are impacted at the time of taking the database backups. There are are 200+ databases running on OEL, RHEL and Windows. So we planned to host the recovery catalog database on Oracle Active DataGuard 11.2.0.1 Enterprise Edition on RedHat EL 5.8 version on two physical servers. The Primary Instance will be in one server in the Primary DC and the Standby Instance will be on another server in another DC. Also all the database datafiles are hosted in ASM Diskgroups on SAN (DATA, FRA, REDO, ARCH diskgroups).
Are there any specific RPM/patch/OS user custom/specific settings or configurations needed..?
Thanks in advance..
Regards,
Abhijit"The customer wants the RMAN recovery catalog database to be highly available so that none of the RMAN database backup jobs are impacted at the time of taking the database backups"
Hi,
i think you can achieve HA for the catalog DB. (Rac and Asm should work fine)
There's no way (afaik) to use TAF with the rman backup. If you have a failure during a backup it simply fails.
There is no TAF in this situation.
Hope this helps.
Regs,
Drew -
-8008: Error while trying to initialize database
I'm trying to write an ASP .Net web application to connect to SBO 2004 database using DI API 6.7. Below is the code segment to connect to database:
Private Function SBO_connect()
dim oCompany as New SAPbobsCOM.Company
oCompany.CompanyDB = "SBODemo_SG"
oCompany.Server = "win2k1"
oCompany.UserName = "manager"
oCompany.Password = "manager"
oCompany.language = SAPbobsCOM.BoSuppLangs.ln_English
return oCompany.connect()
End Function
But I get this message when I tried to run it:
-8008: Error while trying to initialize database
I have also tried to use DbUserName and DbPassword, it gave me the same output. I have assign administrator right to ASPNET user. What else can I do? Thanks for any advice.Now I encounter another problem. When I use the same code and tried to access, I have this message:
-103 Connection to the company database has failed.
I have also tried to set the UseTrusted to true
The SDK ersion is 6.7 and the Business One version is 2004B.
The strange thing is I have tried the same code on another machine with the same setup, the other machine works fine. The only difference is this other machine is a development machine. -
Error while connecting to Auxiliary Database
Hi
I am practicing Cloning the database on my Personal Computer. I am following the steps outlined here
http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php
But while connecting to Auxiliary database I get this error.
RMAN - 04006 Error from auxiliary database: ORA 12514 TNS: listener does not currently know of service requested in connect descriptor
RMAN - 00554 initialization of internal recovery manager package failed...
what is the solution for this?
This is 10g database and my PC has Opensuse 11 OS
I think the problem is in configuring listener. But I am following the instructions given in that page....You probably skipped this part
Next add the appropriate entries into the tnsnames.ora and listener.ora files in the $ORACLE_HOME/network/admin directory. Remember to load the new configuration into the listener:
Which is why you are getting the error. The database needs to register itself with the listener. This doesn't happen in nomount mode.
Other than that: there is an option in database control to duplicate a database in 10g. Using that you only need to hit buttons. Why are you using 9i code and policies?
Sybrand Bakker
Senior Oracle DBA -
Error While Restoring the Oracle Database using Cloud Backup
Hello,
I have been facing a serious error while oracle restoration. I have Backed up Complete Database. For Testing restoration, the DBA removed all the DBF, logs and Control File from there orignal Position.
He restarted the Database in "Startup nomount" mode. No i am not able to connect to target database from my Backup Server remotely.
Whenever i try to restore, it shows following error:-
***RMAN-04005: error from target database:***
***ORA-12528: TNS:listener: all appropriate instances are blocking new connections***
***ORA-12528: TNS:listener: all appropriate instances are blocking new connections***
***"ORA-12528: TNS:listener: all appropriate instances are blocking new connections***
I am using Oracle 11g R2 x64-bit database and on Windows Platform with Windows Server 2008 R2.
Can Anyone help me by connecting, rman to the remote target database when it is in nomount mode.
I am not able to connect the sqlplus remotely.\
Thanks in Advance...
Regards
Pravesh UpadhyayDevika,
You have to stop all your adapters, your repository, close all IStudio client and stop all sessions connected to this schema before running the oaiimport.
If you don't do this the oaiimport will not work properly as the script will not be able to drop the user and will try to re-create existing objects.
Tip : use the following select to list the session using oaihub902 user (and get rid off them)
select username, count(*)
from V$session
where username in ('OAIHUB902')
group by username
order by count(*) desc, username
JL -
Error while connecting to Access Database from Oracle
Dear All,
I'm trying to connect Oracle 9i to Access Database.
but im getting the below error while executing query.
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
ORA-02063: preceding 2 lines from MYSQLi did the following thing through to connect the database.
1) First i made odbc driver called ODBC1
2) I create the following file on oracle server C:\oracle\ora9I\hs\admin\initodbc1.ora
i edit the below thing in initodbc1.ora
HS_FDS_CONNECT_INFO =ODBC1
HS_FDS_TRACE_LEVEL = ON3) I made some changes in sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES= NONE
before it was *NTS*4) Below are the entries in tnsnames.ora i changed the port from 1521 to 1522 cos 1521 already exists.
ODBC1.TADAWI.LOC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ODBC1)
ODBC1.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.251) (PORT = 1522)
(CONNECT_DATA =
(SID = ODBC1)
(HS=OK)
)5) Listener file code
ODBC1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora9I)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = C:\oracle\ora9I)
(SID_NAME = orcl)
(SID_DESC =
(PROGRAM = hsodbc)
(ORACLE_HOME = C:\oracle\ora9I)
(SID_NAME = ODBC1)
)6) after that i created
SQL> CREATE DATABASE LINK MYSQL CONNECT TO XTRACK IDENTIFIED BY XTRACK USING 'ODBC1.WORLD'
Database link created.7) Listener Status
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 04-MAR-2012 21:26:16
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
Start Date 04-MAR-2012 20:52:33
Uptime 0 days 0 hr. 33 min. 44 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:\oracle\ora9I\network\admin\listener.ora
Listener Log File C:\oracle\ora9I\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "ODBC1" has 1 instance(s).
Instance "ODBC1", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 2 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfullyi did exactly what documentation says and it will not through any error but atlast when i try to access the access database tables it give me the below error
SELECT * FROM DBO_COMPANY@MYSQL
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
ORA-02063: preceding 2 lines from MYSQLi'm using Oracle9i Enterprise Edition Release 9.2.0.1.0 any help will appreciate.
Regards
Moazam
Edited by: Moazam Shareef on Mar 4, 2012 10:25 AMfirst of all thanks for your support Mr. Kgronau
I did what u said but still its giving me below error.
SQL> SELECT * FROM DBO_PATINS@MYSQL
2 ;
SELECT * FROM DBO_PATINS@MYSQL
ERROR at line 1:
ORA-12154: TNS:could not resolve service namei re-check the service, and restart the listener as you said below are the logs could you help me to solve this issue plz.
TNSNAMES.ORA
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora9I\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL.TADAWI.LOC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
ODBC1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ODBC1)
INST1_HTTP.TADAWI.LOC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA.TADAWI.LOC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)LISTENER.ORA
# LISTENER.ORA Network Configuration File: C:\oracle\ora9I\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
ODBC1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
SID_LIST_ODBC1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = ODBC1)
(ORACLE_HOME = C:\oracle\ora9I)
(PROGRAM = hsodbc)
(SID_DESC =
(GLOBAL_DBNAME = ODBC1)
(ORACLE_HOME = C:\oracle\ora9I)
(SID_NAME = ODBC1)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora9I)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = C:\oracle\ora9I)
(SID_NAME = orcl)
)then i restart both listener entries (ie lsnrctl start ODBC1 and lsnrctl start ) and both are running fine without any error below are the status.
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 05-MAR-2012 18:42:09
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
Start Date 05-MAR-2012 18:32:15
Uptime 0 days 0 hr. 9 min. 56 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:\oracle\ora9I\network\admin\listener.ora
Listener Log File C:\oracle\ora9I\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 2 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfullyLISTENER.ORA ODBC1 status
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 05-MAR-2012 18:41:52
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1522)))
STATUS of the LISTENER
Alias ODBC1
Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
Start Date 05-MAR-2012 18:32:08
Uptime 0 days 0 hr. 9 min. 46 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:\oracle\ora9I\network\admin\listener.ora
Listener Log File C:\oracle\ora9I\network\log\odbc1.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1522)))
Services Summary...
Service "ODBC1" has 1 instance(s).
Instance "ODBC1", status UNKNOWN, has 2 handler(s) for this service...
The command completed successfullyWhere hope i'm near to retrive the access data.
Regards
Moazam -
Error while getting image from database in SUP using ios?
Hi All,
Im developing native iOS application using sup 2.1.3 . Im getting error While retrieving image from SUP database. Here i'm trying to get image from database and show in imageView.can any one help me how to fix this issue?
In database image datatype is 'LONG Binary' .
My table Schema:
CREATE TABLE dba.ImagesTable (
RowID INT NOT NULL,
ImageName VARCHAR(20) NOT NULL,
PhotoData LONG BINARY NOT NULL,
IN SYSTEM
ALTER TABLE dba.ImagesTable
ADD CONSTRAINT ASA137 PRIMARY KEY CLUSTERED (RowID)
ALTER TABLE dba.ImagesTable
ADD CONSTRAINT ASA138 UNIQUE NONCLUSTERED (RowID)
in Xcode:
[SUP107SUP107DB synchronize];
SUP107ImagesTable *imgTable =[[SUP107ImagesTable alloc]init];
SUP107ImagesTableList *list =[SUP107ImagesTable findAll];
SUP107ImagesTable * oneRecord =[list objectAtIndex:0];
NSLog(@"rowId:%d---imageName:%@---photoData:%@---photoLenght:%d",oneRecord.rowID,oneRecord.imageName,oneRecord.photoData,oneRecord.photoDataLength);
NSData *tempData =[[NSData alloc]init];
SUPBigBinary *responseBinaryData = (SUPBigBinary *)oneRecord.photoData.value;
@try {
[responseBinaryData openForWrite:[oneRecord.photoData length]];
[responseBinaryData write:tempData];
@catch (NSException *exception) {
NSLog(@"exception: %@",[exception description]);
UIImageView *imgView =[[UIImageView alloc] initWithFrame:CGRectMake(50,50,100,100)];
[self.window addSubview:imgView];
UIImage * tempImage =[UIImage imageWithData:tempData];
imgView.image = tempImage;
[responseBinaryData close];
Error Log:
2014-04-02 18:42:15.150 SUP102[2873:70b] rowId:1---imageName:Apple---photoData:SUPBigBinary: column=c pending=1 allow_pending_state=1 table=sup107_1_0_imagestable mbo=0x0 key=(null) ---photoLenght:90656
Printing description of responseBinaryData:
<OS_dispatch_data: data[0xc891b40] = { leaf, size = 90656, buf = 0x1213a000 }>
2014-04-02 18:42:33.304 SUP102[2873:70b] -[OS_dispatch_data openForWrite:]: unrecognized selector sent to instance 0xc891b40
2014-04-02 18:42:33.305 SUP102[2873:70b] exception: -[OS_dispatch_data openForWrite:]: unrecognized selector sent to instance 0xc891b40
2014-04-02 18:42:33.305 SUP102[2873:70b] -[OS_dispatch_data close]: unrecognized selector sent to instance 0xc891b40
2014-04-02 18:42:33.306 SUP102[2873:70b] [ERROR] [AppDelegate.m:497] NSInvalidArgumentException: -[OS_dispatch_data close]: unrecognized selector sent to instance 0xc891b40This thread talks about uploading image to SAP from a IOS device,Sending Image to SAP via iOS Native app (SUP 2.1.3)
Midhun VP -
Error while installing Oracle grid/Database vault in win XP service pack3
Hi,
I am trying to install oracle database grid 10.2.0.2 in win xp service pack 3. It's giving the below error.
"Could not find the main class. Program will exit"
When I am installing Database grid 10.1.0.3 it's getting installed.
I also have java 1.5 installed in my system.
I am getting the same error while installing Database vault.
Where ever it's asking for the below JRE_LOCATION in "oraparam.ini" file I am getting the error.
JRE_LOCATION=../stage/Components/oracle.swd.jre/1.4.2.8.0/1/DataFilesJRE_LOCATION=../stage/Components/oracle.swd.jre/1.4.2.8.0/1/DataFilesPost the complete path,where the patchset is located. Make sure there's no space in the directory path. The same applies to the ORACLE_HOME directory.
Werner -
Error while connectng with the database
hi,
I am working with the oracle load testing for web application and now it is using the default database 10g.Then i have installed 11g database in my desktop And also by using oracle application testing suite database configuration i have connected with 11g database also both system are in same network.
while connecting with the database the following error has occured
Error opening database '11g'
Error connecting to the database.
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Driver's SQLSetConnectAttr failed
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
solution neededhi asif,
i have configured the tnsnames and listener file with the following
tnsnames.ora
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
orcl =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.103)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
OTM_CONNECTION_DATA_1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xx)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
and listener.ora contains
# lISTENER.ORA Network Configuration File: /u01/app/oracle1/product/11.1.0/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xx)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle1/product/11.1/db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl.localdomain)
(ORACLE_HOME =/u01/app/oracle1/product/11.1/db_1)
(SID_NAME = orcl)
) -
ORA-01034: ORACLE not available error while creating ASM or database
Hi all,
I am using oracle database 10gR2 on windows 2000 pro system.
I have Installed oracle software and there was no issue with that but now I am facing ORA-01034: ORACLE not available error while trying to create asm instance or even while creating database through dbca.
I have tried creating the asm instance manually and it was succeeded. Also database creation was successful through manual steps.
Any idea guys?? How to resolve this issue??Hi FK,
On Windows, it can sometimes mean that the services are not running. I have a check here:
http://www.dba-oracle.com/t_check_verify_windows_services.htm
Have you tried using oradim?
http://www.dba-oracle.com/tips_oradim_utility.htm
The oradim utility provides more than just the ability to start and stop Windows databases. Windows oradim can create and edit databases. It also allows DBAs to configure script-based installation mechanisms.
The oradim utility is used on the Windows platform to perform these tasks.
C:\oracle9i\bin\oradim -startup -sid ORCL92 –usrpwd manager
-starttype SRVC,INST -pfile C:\oracle9i\admin\ORCL92\pfile\init.ora
• startup – Indicates that the specified instance should be started.
• sid – The SID of the database to start.
• usrpwd – The password for the database user.
• starttype – Specifies whether to start the instance, the service, or both
Hope this helps. . .
Don Burleson
Oracle Press author -
Getting errors while creating a Standby database
Hi,
I have Oracle 9.0.2 installed on windows xp machine , the sid of the database is oradata. Now i am trying to create a standby database on same machine and the sid of the database is oratest. i have followed the required steps.
a. Firstly i have configured the required parameters in the init.ora parameters of standby database
b. Secondly , i created the standby control file on primary database.
c. while mounting the standby database i am getting the following error.
Database name "ORADATA" its should be "ORATEST"
Could you please help me in resolving this issue? and also if possible. please jot down the procedure for creating the standby database.
Thanks
Vj0011590Hi,
I have Oracle 9.0.2 installed on windows xp machine ,
the sid of the database is oradata. Now i am trying
to create a standby database on same machine and the
sid of the database is oratest. i have followed the
required steps.
a. Firstly i have configured the required parameters
in the init.ora parameters of standby database
b. Secondly , i created the standby control file on
primary database.
c. while mounting the standby database i am getting
the following error.
Database name "ORADATA" its should be "ORATEST"I didn't see you copy the cold backup db from primary to standby.
and the error is coming from init.ora in your standby db. check it again. -
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
Maybe you are looking for
-
Setting Up Certificate Validation for Jabber clients
Hi: I would like to get certificates signed from private internal CA for Jabber clients. Cisco documentation says it requires HTTP/Tomcat for CUPS, HTTP/Tomcat for CUCM and UCXN[8.6]. The exiting Tomcat certificate has these two files: tomcat.pem, to
-
HT4847 How can I access my ICloud account to clean it up
How can I enter my Icloud account ?
-
Audio problem in Adobe After Effects CS6
When ever i import a clip into adobe after effects cs6 the program does not read my clips audio i know how to ram preview its just the program doesnt read the audio what so ever but when i preview the clip on my desktop using windows media player it
-
Gaming in Bootcamp and video problems
I just got my new base model iMac yesterday and after I had it setup I installed a fresh copy of Windows 7 and then installed Everquest 2. When EQ2 launched though I ended up getting what is ultimately a DirectX error saying it couldn't run 3d effect
-
EP log type INFO not written to the portal.log file
All the log.info (where log is of type PortalRuntime Logger) statements in my code are not written to the portal.log file. I have configured the portal_logger to log ALL but it seems to log only the FATAL and WARNING messages and not the INFO ones.I