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
Similar Messages
-
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> -
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 -
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.
# -
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 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 -
Error while creating logical file using transaction FILE
Hello there,
I am facing an error while creating Logical File name definition using transaction FILE
This is the input which I'm trying to give
Logical file name: ZTEST
Name : ZTEST
Physical file : ZTEST_1<DATE><TIME>.csv
Data format: ASC
Application area: BW
Logical path:ZTEST_1_DATAOUT
when I tried to save it throws me an error like ASSIGN_SUBSTRING_NOT_ALLOWED
Please help.Hi,
Please check the OSS Notes :
Note 792061 - SP Case Locator: Dump: ASSIGN to a substring isn't allowed.
SAP Note 1297989 - Short dump ASSIGN_SUBSTRING_NOT_ALLOWED
Hope this solves the problem.
-Vikram -
while creating Cap file through converter , error is coming Class helloworld does not belong to this package while giving the same package path where it is existing physically. i m using javacard version 2.2.1 and J2SE 1.4
Hi Joseph
Thanks and accept my regards. Now I am able to create the .cap file. but I am facing another problem. I am developing a sim application but I am not able to find the sim.toolkit libraries. Can you plz guide me, where i would find the libraries. -
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 -
Internal error while creating pdf files
Good morning.
I have problems while creating pdf files from FM documents,using FM9: I get an internal error, see here an example:
=== Header Begin ===
Internal Error: 9004, 6921628, 9677518, 0
FrameMaker 9.0.0 for Intel
Build: 9.0p255
Window System: MSWindows
Operating System: Windows NT 5.1 (major.minor.build: 5.1.2600 Service Pack 3)
Generated on: venerdì 30 marzo 2012 11.38.51
To file: C:\Documents and Settings\itgzeanlo\Dati applicazioni\Adobe\FrameMaker\9\FrameLog_12.03.30_11.38.51.txt
=== Header End ===
=== Stack Trace Begin ===
$699d9c
$93aace
=== Stack Trace End ===
=== Open Window List Begin ===
# not implemented
=== Open Window List End ===
=== Recent Commands Begin ===
=== Recent Commands End ===
=== Recent API Calls Begin ===
# not implemented
=== Recent API Calls End ===
=== Windows Relocation Information Begin ===
Application: 00400000
FrameMaker.exe: 00400000 00979000
ntdll.dll: 7c910000 000b8000
I don't have a clue of what's wrong. I tried to uninstall the software and then to install it again, with the same result.
Can you please help me?
Kind regards.
Antonio Locati> Getting back to your issue - how are you trying to create a PDF? Save As or printing to the AdobePDF printer instance?
I've tried in both ways, and it's exactly the same: I get the error.
> If XP, have you installed the MS hotfix?
Windows is regularly updated through Windows Update.
> What's in your FM doc?
The document is based on some tables (it's a pricelist for our products), there are also some links to some .eps files (which are correctly displayed on screen, so the path is correct).
> Did it work before or has it changed and now errors out?
The file (or better the book made of about fifteen FM files) was created by someone else, on another PC. When I open it, I get the error. When I send my files to another person, he can create pdf files without any problem.
> Does it update without any errors?
Yes, I regularly update Framemaker without any error.
Thanks for your help!! -
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 -
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 -
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 -
In case of Control File Failure, Create Control File cmd how get scn?
The following lines i picked from the
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5033895918209
======================================================
1. We can use the 'alter database rename ' at mount stage to rename any datafile. Or is it not possible to rename the system datafile like this? Why?
2. What happens to the SCN information in the controlfile when a controlfile is recreated? How will the database sync the SCN with that of the datafiles?
If I issue a 'backup controlfile to <file>' at 8 am and then restore that controlfile binary backup at 10 am and try to open the database, it will give me a control file old error. I understand that it is because the SCN is not in sync. But if I issue a 'backup controlfile to trace' at 8 am and use that script to recreate a new controlfile at 10 am, why doesn't I get the error? Where does it get the SCN information then?
So what is the use of taking a binary copy of the controlfile. Looks like having a 'backup controlfile to trace' script is better than a binary backup. Do you agree? Why/whynot?
Followup August 16, 2002 - 2pm US/Eastern:
1) you could but I just always did it with the create controlfile statement.
When moving system -- I do it that way
When moving ANY OTHER tablespace -- i just offline it, move the files, rename the files online it.
2) it just happens.
The control file you create will read the files to figure out what is up.
I agree, I've never used a binary controlfile backup myself.
=========================================================
My Question- In the Point2 above "Where does it get the SCN information and how control file do SCN Sync with data files?
"1. The CREATE CONTROLFILE reads SCNs from the DataFiles. If the
database was last shutdown, all the datafiles are "non-fuzzy" and have the same
SCN (as of the shutdown checkpoint), If the database or some of the files are from
are hot backup, you cannot open the database because the SCN of some files is
older (lower) than others -- that is why a RECOVER (DATABASE or DATAFILE) is
required.
See http://web.singnet.com.sg/~hkchital/Incomplete_Recovery_with_BackupControlfile.doc
2. I'm not sure I agree with Tom Kyte's response
"I agree, I've never used a binary controlfile backup myself. "
to the question
"So what is the use of taking a binary copy of the controlfile. Looks like having a 'backup controlfile to trace' script is better than a binary backup. Do you agree? Why/whynot?"
If you have lost your database (storage/filesystem failure) and all your datafiles are lost,
you cannot simply do a CREATE CONTROLFILE from a Trace -- because the
CREATE CONTROLFILE has to read and verify all the datafiles specified in the
CREATE statement. If you have an RMAN Repository, you can use that to restore
your database files but otherwise, the RMAN information about backups and backupsets
are in the binary controlfile.
That is why it is important to take binary controlfile backups either manually or
using RMAN or using CONFIGURE CONTROLFILE AUTOBACKUP ON.
Maybe you are looking for
-
I have Acrobat Pro Vers 9..2 installed onto a Windows XP platform. When selecting the print option from any application (eg Word) Adobe PDF appears in the list of avavilable printers, however when it's selected the "print" command button is then disa
-
I can't get Reporting Workspace to show up in the Service Manager Console
I am pretty much an armature when it comes to configuration of SQL and System Center. I have a SSRS Server installed but I need help. What steps do I need to take to get the Reporting Workspace to show up on the clients with all of the reports I can
-
[SOLVED] systemd adsl service does not start
After the today's upgrade of my system I get lines like this in my journal, as the adsl service does not want to start. # router systemd[522]: Failed at step EXEC spawning /usr/sbin/pppoe-start: No such file or directory The problem is, that pppoe-st
-
EXIT statement in custome exit
Hi All, I have written EXIT statement in routine XXX of Sales order custom include MV45AFZZ. does this EXIT statement inside user exit do any internal commits or incorrect commits. Please explain. i heard that output of messages (except message type
-
[SOLVED] Mouse-friendly dwm window manager?
Dear all, I use the dwm window manager (version 6.0). I think I remember that some time ago in the suckless website there was some part where they presented some configuration for extended mouse support. Not sure if I recall correctly but, in any cas