Problems creating control file in RMAN duplicate database
There is so much detail involved in this operation that I don't know what might be useful, so I'll start simple. I'm attempting to clone a database on the same host using RMAN "duplicate database". I finally got all the setup done, the OS authentication hurdles hurdled, etc. and entered the command:
duplicate target database to COPYCH2M until time "to_date('March 15 2012 12:00:00', 'Mon DD YYYY HH24:MI:SS')";
The first time I got:
ORA-19504: failed to create file "/u01/app/oracle/oradata/COPYCH2M/control01.ctl"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 2: No such file or directory
There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/21/2012 15:59:25
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-00201: control file version 11.2.0.0.0 incompatible with ORACLE version 11.1.0.1.0
ORA-00202: control file: '/u01/app/oracle/oradata/COPYCH2M/control01.ctl'
Sounds straightforward, if frustrating, right? Apparently you can't duplicate a database that's not in the exact same version. But:
1) The backuppiece we got the control file from was from last November.
2) The version of Oracle has not been updated since that time.
How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
Thanks, I'm hoping this is easy but I can post more info if needed.
>
There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
>
The database is limited as to what it can create. Since you defined where you wanted the controlfiles to go (pfile/spfile), it's up to you to make sure the directory is valid and exists. :)
>
How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
>
As for your controlfiles, make sure the compatible parameter is set the same on both the source and the target unless you are using the default (11.1.0.1 for you, and you aren't)
Keep going, you'll get there. RMAN duplicate is a great feature.
Good luck.
Similar Messages
-
Problems creating control file (duplicated database)
Hello,
We're duplicated database but some datafiles weren't added on controlfile creation script, so I need to recreate controlfiles again with missed data files.
I launched controlfile creation script but I get the following error:
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production
With the Partitioning option
JServer Release 8.1.7.4.0 - 64bit Production
SVRMGR> connect internal
Connected.
SVRMGR> @inicio.sql
CREATE CONTROLFILE REUSE SET DATABASE "SPT" RESETLOGS NOARCHIVELOG
ORA-01503: CREATE CONTROLFILE failed
ORA-01161: database name SPC in file header does not match given name of SPT
ORA-01110: data file 205: '/oracle/SPT/sapdata8/user2d_1/user2d.data1'
SVRMGR>
Problems are just with missed datafiles.
Should I REUSE or just SET database?
Thanks in advance for your help.
Regards,
Carles>
There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
>
The database is limited as to what it can create. Since you defined where you wanted the controlfiles to go (pfile/spfile), it's up to you to make sure the directory is valid and exists. :)
>
How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
>
As for your controlfiles, make sure the compatible parameter is set the same on both the source and the target unless you are using the default (11.1.0.1 for you, and you aren't)
Keep going, you'll get there. RMAN duplicate is a great feature.
Good luck. -
RMAN-06067: RECOVER DATABASE required with a backup or created control file
Hi,
Oracle version :10.2.04
I recovered control files
RMAN> restore controlfile to '/oracle/ora10gr4/dbs/nis.ctl';
Starting restore at 21-AUG-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: restoring control file
output filename=/oracle/ora10gr4/dbs/nis.ctl
channel ORA_DISK_1: reading from backup piece /data_idx1/ORAMIG/OMIGTEST/cfc-260103938-20120821-03
channel ORA_DISK_1: restored backup piece 1
piece handle=/data_idx1/ORAMIG/OMIGTEST/cfc-260103938-20120821-03 tag=TAG20120821T152259
channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
Finished restore at 21-AUG-12after this i got the below error when i tried to open DB.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1:
'/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf'So i tried the following.
RMAN> restore datafile '/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf';
Starting restore at 21-AUG-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf
channel ORA_DISK_1: reading from backup piece /data_idx1/ORAMIG/OMIGTEST29_1_791910787
channel ORA_DISK_1: restored backup piece 1
piece handle=/data_idx1/ORAMIG/OMIGTEST29_1_791910787 tag=TAG20120821T151306
channel ORA_DISK_1: restore complete, elapsed time: 00:00:15
Finished restore at 21-AUG-12
RMAN> recover datafile '/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf';
Starting recover at 21-AUG-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 08/21/2012 16:21:45
RMAN-06067: RECOVER DATABASE required with a backup or created control fileCan anyone pls help me with this error?
ThanksHi,
Try this command after restore control file.
RMAN> restore database;
RMAN> recover database;
RMAN> alter database open resetlogs;Paste here result, if you are get error.
Regards
Mahir M. Quluzade
www.mahir-quluzade.com -
Problem while Creating Control files while Cloning the Oracle DB
Hi,
I am failrly new to Oracle Administration. I have got the task of cloning our Production database into a new machine. With the help of various articles found over the web I have followed the below mentioned steps
1)Executed the Alter database command for getting the control file copy.
2) Taken the Datafiles,Control and redo log files copies into the Target machine.
3) Copied the Pfile with the neccessary changes into the target machine.
4) Edited the Create Control file syntax (generated from step 1) and executed the same on the target machine.
Now the problem I face is that I get the following error while executing the create Control file syntax
a)ORA-01503 - Creation of Controlfile failed.
b) ORA-00219 - Required controlfile size 41760 exceeds max allowable size 20000.
I am really stuck. Both my machine configurations and O/S installed are the same.
Please advice me on how to Proceed... Thanking you all in advannce.
Rgds,
SN.Hi Jaffer,
This is my code........ The control file has been generated by executing the syntax alter database backup controlfile to trace at the source db .
STARTUP NOMOUNT pfile=ORADATA:ORAHOME1\ADMIN\ORACLE\PFILE\INIT.ORA;
CREATE CONTROLFILE set DATABASE "ORACLE" RESETLOGS NOARCHIVELOG
MAXLOGFILES 32
MAXLOGMEMBERS 2
MAXDATAFILES 32
MAXINSTANCES 16
MAXLOGHISTORY 65535
LOGFILE
GROUP 1 'ORADATA:ORAHOME1\ORADATA\ORACLE\LOG2ORCL.ORA' SIZE 200K,
GROUP 2 'ORADATA:ORAHOME1\ORADATA\ORACLE\LOG1ORCL.ORA' SIZE 200K
DATAFILE
'ORADATA:ORAHOME1\ORADATA\ORACLE\SYS1ORCL.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\USR1ORCL.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\RBS1ORCL.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_DATA.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_INDEX.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KAN_DAT.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KAN_INDEX.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KIS_DATA.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KIS_INDEX.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_LUB_DATA.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BIMBJ01.DBF',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BIMAT01.DBF',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BITPA01.DBF',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BLUBFSINDEFX01.DBF',
'ORADATA:ORAHOME1\ORADATA\ORACLE\TEMP01.DBF',
'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_TOOLS.ORA',
'ORADATA:ORAHOME1\ORADATA\ORACLE\IMPORT1.DBF'
CHARACTER SET WE8ISO8859P1
# Recovery is required if any of the datafiles are restored backups,
# or if the last shutdown was not normal or immediate.
#RECOVER DATABASE
# Database can now be opened normally.
#ALTER DATABASE OPEN;
# No tempfile entries found to add.
# -
Problem in creating control files
Hi
I am using oracle 9i
I want to import the excel sheet data into the database.
Please let me know how to create the control file for sql loader.
For that i created control file using the following code
set echo off ver off feed off pages 0
accept tname prompt 'Enter Name of Table: '
accept dformat prompt 'Enter Format to Use for Date Columns: '
spool &tname..ctl
select 'LOAD DATA'|| chr (10) ||
'INFILE ''' || lower (table_name) || '.dat''' || chr (10) ||
'INTO TABLE '|| table_name || chr (10)||
'FIELDS TERMINATED BY '','''||chr (10)||
'TRAILING NULLCOLS' || chr (10) || '('
from user_tables
where table_name = upper ('&tname');
select decode (rownum, 1, ' ', ' , ') ||
rpad (column_name, 33, ' ') ||
decode (data_type,
'VARCHAR2', 'CHAR NULLIF ('||column_name||'=BLANKS)',
'FLOAT', 'DECIMAL EXTERNAL NULLIF('||column_name||'=BLANKS)',
'NUMBER', decode (data_precision, 0,
'INTEGER EXTERNAL NULLIF ('||column_name||
'=BLANKS)', decode (data_scale, 0,
'INTEGER EXTERNAL NULLIF ('||
column_name||'=BLANKS)',
'DECIMAL EXTERNAL NULLIF ('||
column_name||'=BLANKS)')),
'DATE', 'DATE "&dformat" NULLIF ('||column_name||'=BLANKS)', null)
from user_tab_columns
where table_name = upper ('&tname')
order by column_id;
select ')'
from dual;
spool off
and after then i have written in the commond prompt like
C:\sqlldr username/password@host controlfile
then it is giving like this
Commit point reached - logical record count 1
Any Help?
Thank youWhat does it say in the .log file?
What records are in the .bad file?
How many records in the data file - if 1 then it's all good.
Excel often puts column headings in the .csv file - you may need to SKIP the first record (look it up in the docs).
Don't hard code the filename into the control file - it's easier to do that when you load:
sqlldr u/p control=controlfile data=datafileRead carefully what FLOAT and DECIMAL mean. Unless you are dealing with binary datatypes (you aren't) you probably don't need these. Only DATE needs careful treatment.
Also, consider pulling the data in using an external table (if it is on the Oracle server already). Again, look it up in the docs - you'll still have to get the control definition right...
Regards Nigel -
I have a problem while installing 9iAS R2 on RH LInux 8.
When database configuration assistant starts during the installation of 9iAS infrastructure, it gives an error "Error creating CONTROL FILE" followed by many other errors.
Please help me out.
ZulqarnainI had the same problem, but with RH9
To fix, I ran orapwd from the $ORACLE_HOME/bin directory to create a password file called orapw. Then I moved this file to the directory where the configuration assistant complains it cannot find the file. Fixed. Obviously, just ignore the errors from the configuration assistant about the CONTROL FILE until it tells you the location of the file it is looking for. -
Rapid install gettin error when create control file
hai all ,
i faced problem when im install fresh ebs R12
my environment :
sun sparc 64 bit
solaris 11
this occur when i try to install fresh R12
using rapidwiz , the error say ORA-00821: Specified value of sga_target 1024M is too small, needs to be at least 2100M
and when creating control file failed,
is any clue with this problem ?
all prerequisite reference to doc :
R12.1.1 : Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Oracle Solaris on SPARC (64-bit) (Doc ID 761568.1)
the detail log below this
Log file located at /oracle/PROD/db/tech_st/11.1.0/appsutil/log/PROD_SMJKT-PRFND01/ApplyDatabase_11071358.log
^M
| 0% completed ^M
/ 0% completed ^M
- 0% completed ^M
\ 0% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
Cannot execute configure of database using RapidClone
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for PROD instance
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORA-00821: Specified value of sga_target 1024M is too small, needs to be at least 2100M
ORA-01078: failure in processing system parameters
CREATE CONTROLFILE REUSE SET DATABASE "PROD"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter database open resetlogs
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0hai asif,
solved my problem , with this doc
Oracle VM Server for SPARC (previously known as LDoms or Logical Domains) :
To set the number of VCPUs for a given Logical Domain (LDom), use the 'ldm(1M)' with the 'set-vcpu' option:
# /opt/SUNWldm/bin/ldm set-vcpu <number> <logical_domain>
For example to configure eight VCPUs for the Logical Domain named "ebs1":
# /opt/SUNWldm/bin/ldm set-vcpu 8 ebs1
Please review the Logical Domains Administration guide for detailed information.
Users can then revert the number of VPUs to the original or desired values as a post EBS install step.
thanks a lot..
regards
Imrons -
12c Create Control File for Entire CDB (CDB-root + PDBs)
Hi,
In 12c, I understand that there is a single redo log and a single control file for an entire CDB. My question is what datafiles should I use to create control file for the entire CDB. According to Managing Control Files, I suppose I should use all the datafiles (the result of query from CDB-Root: select name from v$datafile), but in practice, the control file creation process can only be successful when I use CDB-Root databfiles. Thanks in advance for any advice.The actual error message is duplicate tablespace (system, sysaux), but the root-CDB and PDBs should have separate system and sysaux. The following is the script I used.
CREATE CONTROLFILE REUSE DATABASE "CDB" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 1024
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 '/cdbdata/cdb/redo01.log' SIZE 50M BLOCKSIZE 512,
GROUP 2 '/cdbdata/cdb/redo02.log' SIZE 50M BLOCKSIZE 512,
GROUP 3 '/cdbdata/cdb/redo03.log' SIZE 50M BLOCKSIZE 512
DATAFILE
'/cdbdata/cdb/system01.dbf',
'/cdbdata/cdb/sysaux01.dbf',
'/cdbdata/cdb/undotbs01.dbf',
'/cdbdata/cdb/pdbseed/system01.dbf',
'/cdbdata/cdb/users01.dbf',
'/cdbdata/cdb/pdbseed/sysaux01.dbf',
'/cdbdata/cdb/pdb1/system01.dbf',
'/cdbdata/cdb/pdb1/sysaux01.dbf',
'/cdbdata/cdb/pdb1/pdb1_users01.dbf'
CHARACTER SET WE8MSWIN1252 -
Hai
how to set audit for CREATE CONTROL FILE?
17:45:07 SQL> AUDIT CREATE CONTROL FILE;
AUDIT CREATE CONTROL FILE
ERROR at line 1:
ORA-00969: missing ON keyword
Whats the problem above statement?Hello;
That sounds like an issue outside of Oracle ( OS? ). The listener logs might help.
On your first question I check the alert log of my test database. It does not show control file creation, but it kind of a Chicken and the egg, with the database create.
It does show standby information :
Mon Jan 02 05:38:59 2012
alter database create standby controlfile as 'STANDBY.ctl' Common audits
audit grant any object privilege;
audit create session;
audit alter user;
audit create user;
audit drop user;
audit drop tablespace;
audit grant any role;
audit grant any privilege;
audit alter system;
audit alter session;
audit delete on AUD$ by access;
audit insert on AUD$ by access;
audit update on AUD$ by access;
audit delete table;
audit create tablespace;
audit alter database;
audit create role;
audit create table;
audit alter any procedure;
audit create view;
audit drop any procedure;
audit drop profile;
audit alter profile;
audit alter any table;
audit create public database link;Best Regards
mseberg
Edited by: mseberg on Jul 7, 2012 7:35 AM -
Error while creating control file
hi
i am getting following error while creating controll file
QL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 629145600 bytes
Fixed Size 1250548 bytes
Variable Size 171969292 bytes
Database Buffers 452984832 bytes
Redo Buffers 2940928 bytes
SQL> @c:\study\rose\c.sql
SP2-0042: unknown command "DATAFILE" - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "CHARACTER ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
1 CREATE CONTROLFILE SET DATABASE "ROSE" RESETLOGS froce logging NOARCHIVELOG
2 MAXLOGFILES 32
3 MAXLOGMEMBERS 2
4 MAXDATAFILES 32
5 MAXINSTANCES 16
6 MAXLOGHISTORY 1752
7 LOGFILE
8 GROUP 1 'C:\oracle\product\10.2.0\oradata\rose\LOG1ROSE.ORA' SIZE 50M,
9 GROUP 2 'C:\oracle\product\10.2.0\oradata\rose\LOG2ROSE.ORA' SIZE 50M,
10 GROUP 3 'C:\oracle\product\10.2.0\oradata\rose\LOG06.LOG' SIZE 25M,
11* GROUP 4 'C:\oracle\product\10.2.0\oradata\rose\LOG07.LOG' SIZE 25M
SQL>CHETAN YADAV wrote:
hi
i am getting following error while creating controll file
QL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 629145600 bytes
Fixed Size 1250548 bytes
Variable Size 171969292 bytes
Database Buffers 452984832 bytes
Redo Buffers 2940928 bytes
SQL> @c:\study\rose\c.sqlWe can't debug what we can't see. And what we can't see is the contents of "c:\study\rose\c.sql".
SP2-0042: unknown command "DATAFILE" - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "CHARACTER ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
1 CREATE CONTROLFILE SET DATABASE "ROSE" RESETLOGS froce logging NOARCHIVELOG
2 MAXLOGFILES 32
3 MAXLOGMEMBERS 2
4 MAXDATAFILES 32
5 MAXINSTANCES 16
6 MAXLOGHISTORY 1752
7 LOGFILE
8 GROUP 1 'C:\oracle\product\10.2.0\oradata\rose\LOG1ROSE.ORA' SIZE 50M,
9 GROUP 2 'C:\oracle\product\10.2.0\oradata\rose\LOG2ROSE.ORA' SIZE 50M,
10 GROUP 3 'C:\oracle\product\10.2.0\oradata\rose\LOG06.LOG' SIZE 25M,
11* GROUP 4 'C:\oracle\product\10.2.0\oradata\rose\LOG07.LOG' SIZE 25M
SQL> -
11i RW-50004 while creating control file...
Dear all,
Kindly let me know what this log file sys...
I am trying to install 11i on OEL4.6 with 2GB RAM in VMware for Important test purpose. While creating control file in second stage i am getting this Error:,,
RW-50004 : Error code received when running external process.
Check log file for details.
I have check ORALCEHOME/appsutil/log/SID/04270524.log
Please let me know this error.
Regards
GAZA
Creating the control file for abc_apps11i database ...+
SQLPlus: Release 9.2.0.5.0 - Production on Fri Apr 27 06:23:10 2012*+
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.+
ERROR:+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
ERROR:+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
SP2-0640: Not connected+
SP2-0640: Not connected+
SP2-0640: Not connected+
SP2-0640: Not connected+
ORA-01012: not logged on+
ERROR:+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
SP2-0640: Not connected+
SP2-0641: "EXECUTE" requires connection to server+
ORA-01031: insufficient privileges+
ERROR:+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
SP2-0640: Not connected+
SP2-0640: Not connected+
SP2-0640: Not connected+
SP2-0640: Not connected+
SP2-0640: Not connected+
exit_code=0+
Checking for errors ...+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
ORA-01012: not logged on+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
The database has not been successfully created. Shutting down the instance ...+
SQLPlus: Release 9.2.0.5.0 - Production on Fri Apr 27 06:23:12 2012*+
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.+
ERROR:+
ORA-01031: insufficient privileges+
ORA-01031: insufficient privileges+
Cannot create control file for abc+
RW-50010: Error: - script has returned an error: 9+
RW-50004: Error code received when running external process. Check log file for details.+
Running Database Install Driver for abc instance+Please make sure the user accounts for the installation (applmgr/oracle) have full privileges.
Oracle Applications Installation Guide: Using Rapid Install -- Page 1-9
http://docs.oracle.com/cd/B25516_18/current/acrobat/r115102ins.pdf
If you still have the same issue, please upload all the log files to any free hosting website and post the link here so we can review it.
Thanks,
Hussein -
Urgent: DBrefresh error 354 while creating control file, oracle9i, SAP R3
Hi experts,
I have created trace file in Source system and moved the same to target system and edited and then while executing the trace file to create control file the following eeror is coming
my trace file is like this. . .
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "P47" RESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 336
MAXINSTANCES 50
MAXLOGHISTORY 8168
'/oracle/P47/sapdata9/btabd_63/btabd.data63',
'/oracle/P47/sapdata9/stabi_27/stabi.data27',
'/oracle/P47/sapdata9/btabi_122/btabi.data122',
'/oracle/P47/sapdata9/stabd_28/stabd.data28',
'/oracle/P47/sapdata9/btabi_123/btabi.data123',
'/oracle/P47/sapdata9/btabd_64/btabd.data64',
'/oracle/P47/sapdata9/btabi_124/btabi.data124'
CHARACTER SET WE8DEC
i run command like this:
SQL> @/oracle/P47/saptrace/usertrace/control.sql
ORACLE instance started.
Total System Global Area 1249618992 bytes
Fixed Size 732208 bytes
Variable Size 788529152 bytes
Database Buffers 459022446 bytes
Redo Buffers 1335296 bytes
<b>354</b>
when I press 'enter' again SQL prompt is comming
Please help
rgdsHi markus,
thanks for reply . .
control files are not created. . . .
alertSID logs shows as follows
orap47> tail -f alert_P47.log
ARCH shutting down
Thu Dec 13 13:01:51 2007
ARC0: Archival stopped
Thu Dec 13 13:01:51 2007
ARC1: Archival stopped
Thu Dec 13 13:01:54 2007
ARCH: Archiving is disabled
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
<b>When @/oracle/saptrace/usertrace/control.sql command given in sepearate SQL window</b>
Thu Dec 13 13:03:37 2007
Starting ORACLE instance (normal)
Disable cache advisory with old cache parameters
Thu Dec 13 13:03:37 2007
WARNING: EINVAL creating segment of size 0x000000004b800000
fix shm parameters in /etc/system or equivalent
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 3
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.4.0.
System parameters with non-default values:
processes = 80
sessions = 96
timed_statistics = TRUE
shared_pool_size = 704643072
enqueue_resources = 8000
control_files = /oracle/P47/sapdata1/cntrl/cntrlP47.dbf, /oracle/P47/sapdata2/cntrl/cntrlP47.dbf, /oracle/P47/sapdata3/cntrl/cntrlP47.dbf
db_block_buffers = 56033
db_block_checksum = FALSE
db_block_size = 8192
compatible = 9.2.0
log_archive_start = TRUE
log_archive_dest = /oracle/P47/saparch/P47arch
log_buffer = 1048576
log_checkpoint_interval = 0
db_files = 354
db_file_multiblock_read_count= 8
log_checkpoints_to_alert = TRUE
control_file_record_keep_time= 30
dml_locks = 2500
row_locking = always
replication_dependency_tracking= FALSE
transactions_per_rollback_segment= 20
rollback_segments = PRS_0, PRS_1, PRS_10, PRS_11, PRS_12, PRS_13, PRS_14, PRS_2, PRS_3, PRS_4, PRS_5, PRS_6, PRS_7, PRS_8, PRS_9
transaction_auditing = FALSE
remote_os_authent = TRUE
db_domain = world
parallel_max_servers = 20
hash_join_enabled = FALSE
background_dump_dest = /oracle/P47/saptrace/background
user_dump_dest = /oracle/P47/saptrace/usertrace
core_dump_dest = /oracle/P47/saptrace/background
optimizer_features_enable= 9.2.0
sort_area_size = 2097152
sort_area_retained_size = 0
db_name = P47
open_cursors = 800
optimizer_mode = choose
btree_bitmap_plans = FALSE
pushjoin_predicate = FALSE
optimizer_index_cost_adj = 10
newinitial_join_orders = FALSE
optimpeek_user_binds = FALSE
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
Thu Dec 13 13:03:39 2007
ARCH: STARTING ARCH PROCESSES
ARC0 started with pid=8
ARC0: Archival started
ARC1 started with pid=9
Thu Dec 13 13:03:39 2007
ARCH: STARTING ARCH PROCESSES COMPLETE
Thu Dec 13 13:03:39 2007
ARC0: Thread not mounted
Thu Dec 13 13:03:39 2007
ARC1: Archival started
ARC1: Thread not mounted
rgds -
How to create Control file.
Being a new bie plz help me.
Can you let me know steps to create a new
control file. Create control file is always
giving error messages and if i have all data
and REDO logs intact how can i recover my
data base again using new control file
please help ....
nullhai,
for creating control file we proceed to ways:
1. create controle file using sql command as sys or system users
sql>alter database backup controlfile to trace;
system itself creates controlfile and keeps in udump directory.
2. using the old backup copies, edit the currect file locations, parameters manually.
Then run this script at nomount mode, to create the controlfile
murty
null -
I am getting error while creating Control file for a fla file upoad in HANA
Hi Experts,
I am getting the following error when I try to create crtrol file for a flat file extraction in SAP HANA.
Could not execute 'import data into table P935718."COPATBL" from 'COPATBL.csv' record delimited by '\n' fields ...'
SAP DBTech JDBC: [257] (at 14): sql syntax error: incorrect syntax near "into": line 2 col 1 (at pos 14)
Here is the code I have used to create control file after I creating the table.
import data
into table P935718."COPATBL"
from 'COPATBL.csv'
record delimited by '\n'
fields delimited by ','
optionally enclosed by '"'
error log 'P935718.COPATBL.err'
p935718 is my user ID, COPATBL is my table created, COPABL.CSV is a flat file.
Please help me in this regard.
Thanks,
GunaHello,
guessing from the error message it looks that you are trying to execute "import data" as SQL command.
Please note that import data is NOT SQL command but it is syntax for control file. You need to create file with this syntax on server and then use command: IMPORT FROM '/<path>/<filename>.ctl'
In a shortcut:
1.- create comma separated CSV file with your data - <source cvs>.csv
2.- upload CVS file to HANA server
3.- create the control file <filename>.ctl:
import data
into table <schema>."<table name>"
from '<source cvs>.csv'
record delimited by '
fields delimited by ','
optionally enclosed by '"'
error log '<file name>.err'
4.- execute command:
IMPORT FROM '/<path>/<filename>.ctl'
Please check following threads:
How to load CSV files into HANA
Will HANA supports Bulkload
Tomas -
I am having problems creating PDF file and downloading them
I am having problems creating PDF file and downloading them
Hi Randy Keil,
You might need to sign up with your Adobe ID and password at "https://cloud.acrobat.com/convertpdf"
Then you can choose the desired files to create the PDF.
Now, let me know what error message do you get while doing the same.
What kind of files are you trying to convert to PDF?
Have you checked with your internet connection and tried using a different browser?
Hope to get your response.
Regards,
Anubha
Maybe you are looking for
-
How do I set up my Condé Nast At Home scheduled content application?
The steps are pretty simple: Open the Condé Nast At Home application. The application should open as soon as installation is complete. You can also open the program by clicking your desktop icon, or by clicking Start, then All Programs, then the name
-
PSE 9, external hard drives and moving to new computer
I had an old desktop running PSE 3, yep...3, and my husband bought me a new laptop. Laptop's operating system would not run PSE 3, so I purchased PSE 9, reconnected all my "misplaced" photo files, loaded PSE 9 on the old desktop and converted all fil
-
After installing mavericks and adobe i can't watch videos on most sites
I installed the Mavericks operating system about 4 weeks ago on my macbook pro and with in 3 weeks I was receiving messages on youtube and other sites that my adobe flash player need to be updated to plug in version 12.0.0.70 and I did the full insta
-
Zen 4 - Zen 6.5 Inventory database upgrade fails
Hi all, Have installed Zen 6.5 over a Zen 4 server (nw65) running inventory. Database is on a seperate oracle server. When I start inventory, it starts the database upgrade and then fails with a java exception part way through, and then says "stoppin
-
MacBook Pro will not accept anything in the disc drive?
I have tried every kind of disc possible about 10 times each. CD's/DVD's/Even PC Games. All on different discs every time. My MacBook will only accept the disc for no more than 5 seconds, making a noise like it's trying to read it and then stops, and