9i DBCA create database problem
I'm running dbca on a redhat 9 box. I have been able to successfully install oracle, but want to alter the db_block_size to be 8k rather than the 4k default.
I can set this as an initialization parameter and save it to a dbca template, but when I attempt to actually create the database, when it get to the instance start step, I get this error:
ORA-01503: CREATE CONTROLFILE failed
ORA-00058: DB_BLOCK_SIZE must be 4096 to mount this database (not 8192)
There is no init.ora file anywhere, no control files or persistent database files of any type created at this juncture. Any ideas?
Check the permission of dbca.rsp file in /home/oracle by
#ls -l /home/oracle/dbca.rsp
From the error its very clear that oracle user is not having sufficient privilege on this file.
Similar Messages
-
Creating Database Problem On WinME
I have installed Oracle8i Personal Edition on WinME. Its successful. Now When I am trying to create database I have problem. When I am creating a database with Typical Option and then copy existing files from CD there is no problem. But trying to create new database files then its taking too much time. It comes at 6% and I think it stuck... Anybody knows how much time it is taking in Creating new Database files? If this is the problem and by making any modification it can be solved, please guide me.
Thanks in Advance
-Jignesh
nulldear friend
thans for replying
in fact i ddi not work
i did the following:
1 CREATE OR REPLACE TRIGGER t_CREATE_SYN
2 AFTER CREATE ON SCHEMA
3 BEGIN
4 DECLARE
5 vCUR INTEGER;
6 vEXE NUMBER;
7 CURSOR TAB_CUR IS
8 SELECT TABLE_NAME FROM USER_TABLES;
9 BEGIN
10 vCUR := DBMS_SQL.OPEN_CURSOR;
11 FOR I IN TAB_CUR LOOP
12 DBMS_SQL.PARSE (vCUR,'CREATE PUBLIC SYNONYM '||' '||I.TABLE_NAME||' '||' FOR '||' '||' '||user||'.'||i.table_name,DBMS_SQL.NATIVE);
13 vEXE := DBMS_SQL.EXECUTE(vCUR);
14 END LOOP;
15 DBMS_SQL.CLOSE_CURSOR(vCUR);
16 END;
17 NULL;
18* END;
SQL> /
Trigger created.
SQL> CREATE TABLE TAR_TAB ( ID NUMBER);
CREATE TABLE TAR_TAB ( ID NUMBER)
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-30511: invalid DDL operation in system triggers
ORA-06512: at "SYS.DBMS_SYS_SQL", line 824
ORA-06512: at "SYS.DBMS_SQL", line 32
ORA-06512: at line 10
i woder is it possible to write a DDL command in database trigger?
and how can i achive my task -
DBCA create database statement
Hi,
I am using DBCA for creating the database. But i am looking for the create database SQL statement that has been generated by DBCA.
At the time of creating DB using DBCA i have given the option for "Generating Database scripts".
But however i am not able to see the Create database SQL statement in those scripts location.
Please help me out.
CheersHi;
What give you script path during installation? Please check under \<oracle_home>\admin\<database_name>\scripts
Please review:
http://docs.oracle.com/cd/B28359_01/install.111/b28264/scripts.htm#CIHEIDIA
Ps: By the way you can get script after dbca done.Please see: http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html
Regard
Helios -
Creating database problem with ORA-01519: error while processing file '' ne
Dear all,
I am having rough time with creating database manually. can anyone help me with the following errors.
ALERT LOGFILE:-
Sun May 31 12:00:39 2009
Errors in file d:\oracle\product\10.1.0\admin\oracle5\udump\oracle5_ora_3444.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5744
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Sun May 31 12:00:39 2009
Errors in file d:\oracle\product\10.1.0\admin\oracle5\bdump\oracle5_reco_3416.trc:
ORA-01519: error while processing file '' near line
CREATE DATABASE SCRIPT:-
create database ORACLE5
user sys identified by bala
user system identified by bala
logfile
group 1 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo01.log') SIZE 50M,
group 2 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo02.log') SIZE 50M,
group 3 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo03.log') SIZE 50M
maxlogfiles 5
maxlogmembers 5
maxloghistory 1
maxdatafiles 50
maxinstances 1
datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\system01.dbf' size 200m autoextend on maxsize unlimited extent management local
undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
sysaux datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\sysaux01.dbf' size 100m autoextend on maxsize unlimited
default temporary tablespace temp tempfile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\temp01.dbf' size 10m autoextend on maxsize unlimited
character set US7ASCII
NATIONAL CHARACTER SET AL16UTF16
INIT.ORA FILE:-
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Archive
log_archive_format=ARC%S_%R.%T
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=oracle5
# Diagnostics and Statistics
background_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\bdump
core_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\cdump
user_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\udump
# File Configuration
#db_create_file_dest=D:\oracle\product\10.1.0\oradata
db_recovery_file_dest=D:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size=2147483648
# Job Queues
job_queue_processes=10
# Miscellaneous
compatible=10.1.0.2.0
# Pools
java_pool_size=50331648
large_pool_size=8388608
shared_pool_size=83886080
# Processes and Sessions
processes=150
# Security and Auditing
remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=oracle5XDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=65536
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
control_files=("D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORACLE5\CONTROLFILE\control01.CTL", "D:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORACLE5\CONTROLFILE\control02.CTL")Hi,
undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
After ORACLE5 there is a space character. Typo? Create proper directory or delete this character.
Bartek -
I am trying to create a mySQL DB through JSP program (query).
The Query :
stmt.executeUpdate("CREATE DATABASE employee;");
is not working. PLEASE HELP ME.................
The program is as follows.
try
Connection con =null;
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock","Dude","");
System.out.println("Connection Established");
try {
System.out.println("Entered Try Block");
stmt=con.createStatement();
stmt.executeUpdate("CREATE DATABASE employee;");
System.out.println("Query Executed");
catch(Exception e){
System.out.println("Entered Catch Block");
System.out.println("Query Skipped");
catch (SQLException ex)
while (ex != null){
System.out.println("sql exception"+ex);
ex = ex.getNextException ();
Message was edited by:
sam_johncon=DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock","Dude","");
Access denied for user: '[email protected]' (Using password: NO)
You must provide a password for your connection.
Your code should have been as follows:
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock","Dude","YOUR_PASSWORD_HERE");Anyway, to create a database or a table in a db server like MySQL, you must have the good privileges to.
Go to <MySQL_INSTALL_DIR>/Docs/ directory, you'll find there the MySQL manual.chm. Take a look at the the Tutorial section.
In order to know how to use jdbc Connector/J, take a look at the documentation shipped with: /mysql-connector-java-X.X.X/docs/connector-j.html
Here a typical code:
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
public class TestMySQL {
public static void main(String[] args) {
Connection con = null;
Statement stmt = null;
try {
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock", "Dude", "YOUR_PASSWORD_HERE");////// put the right password here
System.out.println("Connection Established");
System.out.println("Entered Try Block");
stmt = con.createStatement();
stmt.executeUpdate("CREATE DATABASE employee");
System.out.println("Query Executed");
} catch (Exception e) {
e.printStackTrace();
} finally {
if (stmt != null) {
try {
stmt.close();
} catch (Exception e) {
if (con != null) {
try {
con.close();
} catch (Exception e) {
}Hope That Helps -
Problem about use dbca create database
before run dbca
[oracle@rac1 bin]$ ./crs_stat -t
Name Type Target State Host
ora....SM1.asm application ONLINE ONLINE rac1
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2when i run dbca to create DB ,it failed
[oracle@rac2 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb.log" for further details.
[oracle@rac2 ~]$ cat "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb.log"
The file path +ORADG/oradata/mydb/system01.dbf is invalid. Please check the permissions.info in my dbca.rsp
OPERATION_TYPE = "createDatabase"
GDBNAME = "mydb.oracle.com"
SID = "mydb"
NODELIST=rac1,rac2
TEMPLATENAME = "/home/oracle/mydb.dbc"
SYSPASSWORD = "Myss123456"
SYSTEMPASSWORD = "Myss123456"
EMCONFIGURATION = "LOCAL"
SYSMANPASSWORD = "Myss123456"
DBSNMPPASSWORD = "Myss123456"
ASM_SYS_PASSWORD="Myss123456"in template file,i put redo file,datafile,spfile and control file in ASM, some diag file and pfile i put in local file system
and i do not know why dbca will complain no permission
and i run the same command on another node
[oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb0.log" for further details.
[oracle@rac1 ~]$ cat "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb0.log"
The directories "[+ORADG/mydb, +ORADG/oradata/mydb]" are not on cluster file system partitions shared across nodes "rac1, rac2".Edited by: 859340 on 2011-7-23 上午12:21Check the permission of dbca.rsp file in /home/oracle by
#ls -l /home/oracle/dbca.rsp
From the error its very clear that oracle user is not having sufficient privilege on this file. -
Problem in create database use dbca in RAC
i setup a two-nodes RAC, and use dbca to create db
here is the output of dbca
[oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
Copying database files
1% complete
3% complete
9% complete
15% complete
21% complete
27% complete
30% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
44% complete
45% complete
48% complete
50% complete
Creating cluster database views
52% complete
70% complete
Completing Database Creation
73% complete
76% complete
79% complete
80% complete
81% complete
90% complete
99% complete
100% complete
Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb/mydb.log" for further details.
and here is the log output:
Failed to retrieve network listener resources required for the Real Application Clusters high
availability extensions configurations on the following nodes: [rac1, rac2].
Do you want listeners on port 1521 with prefix LISTENER to be created on nodes [rac1, rac2]
automatically? If you would like to configure the listener with different properties, run NetCA
before continuing.
PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [CRS-0215: Could not start
resource 'ora.rac1.ASM1.asm'.]
PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [CRS-0215: Could not start
resource 'ora.rac2.ASM2.asm'.]
Could not mount the diskgroup on node: rac2. The ASM instance on node rac2 is not started.
Could not mount the diskgroup on node: rac2. The ASM instance on node rac2 is not started.
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 3%
DBCA_PROGRESS : 9%
DBCA_PROGRESS : 15%
DBCA_PROGRESS : 21%
DBCA_PROGRESS : 27%
DBCA_PROGRESS : 30%
Creating and starting Oracle instance
DBCA_PROGRESS : 32%
DBCA_PROGRESS : 36%
DBCA_PROGRESS : 40%
DBCA_PROGRESS : 44%
DBCA_PROGRESS : 45%
DBCA_PROGRESS : 48%
DBCA_PROGRESS : 50%
Creating cluster database views
DBCA_PROGRESS : 52%
DBCA_PROGRESS : 70%
Completing Database Creation
Failed to start listeners on nodes "[rac1, rac2]" of cluster database "mydb", "CRS-1028: Dependency
analysis failed because of:
CRS-0223: Resource 'ora.rac2.LISTENER_RAC2.lsnr' has placement error.".
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 76%
DBCA_PROGRESS : 79%
ORA-01078: failure in processing system parameters
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ORADG/mydb/spfilemydb.ora'
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15056: additional error message
ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15173: entry 'spfilemydb.ora' does not exist in directory 'mydb'
ORA-06512: at line 4
ORA-01034: ORACLE not available
DBCA_PROGRESS : 80%
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
DBCA_PROGRESS : 81%
ORA-01034: ORACLE not available
DBCA_PROGRESS : 90%
Enterprise manager configuration failed due to the following error -
Invalid username/password.
Refer to the log file at /opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb/emConfig.log for more
details.
You can retry configuring this database with Enterprise Manager later by manually running
/opt/ora/product/10.2.0/db_1/bin/emca script.
DBCA_PROGRESS : 99%
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
PRKP-1001 : Error starting instance mydb1 on node rac1
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.mydb.mydb1.inst' has placement error.
PRKP-1001 : Error starting instance mydb2 on node rac2
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.mydb.mydb2.inst' has placement error.
DBCA_PROGRESS : 100%
Database creation complete. Check the logfiles at
/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb for details.
Database Information:
Global Database Name:mydb
System Identifier(SID) Prefix:mydb
it should be run netca before running dbca?this time i run netca first,and then run dbca to configure the ASM,after that i run dbca to create database
listener and asm instance is online,but when i create DB ,still have error
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 3%
DBCA_PROGRESS : 9%
DBCA_PROGRESS : 15%
DBCA_PROGRESS : 21%
DBCA_PROGRESS : 27%
DBCA_PROGRESS : 30%
Creating and starting Oracle instance
DBCA_PROGRESS : 32%
DBCA_PROGRESS : 36%
DBCA_PROGRESS : 40%
DBCA_PROGRESS : 44%
DBCA_PROGRESS : 45%
DBCA_PROGRESS : 48%
DBCA_PROGRESS : 50%
Creating cluster database views
DBCA_PROGRESS : 52%
DBCA_PROGRESS : 70%
Completing Database Creation
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 76%
DBCA_PROGRESS : 79%
ORA-01078: failure in processing system parameters
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ORADG/mydb/spfilemydb.ora'
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15056: additional error message
ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15173: entry 'spfilemydb.ora' does not exist in directory 'mydb'
ORA-06512: at line 4
ORA-01034: ORACLE not available
DBCA_PROGRESS : 80%
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
DBCA_PROGRESS : 89%
DBCA_PROGRESS : 98%
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
PRKP-1001 : Error starting instance mydb1 on node rac1
CRS-0215: Could not start resource 'ora.mydb.mydb1.inst'.
PRKP-1001 : Error starting instance mydb2 on node rac2
CRS-0215: Could not start resource 'ora.mydb.mydb2.inst'.
DBCA_PROGRESS : 100%
following info from my template file
<MiscParams>
<databaseType>MULTIPURPOSE</databaseType>
<maxUserConn>20</maxUserConn>
<percentageMemTOSGA>40</percentageMemTOSGA>
<customSGA>false</customSGA>
<archiveLogMode>false</archiveLogMode>
<initParamFileName>+ORADG/admin/{DB_UNIQUE_NAME}/pfile/init.ora</initParamFileName>
</MiscParams>
<SPfile useSPFile="true">{ORACLE_HOME}/dbs/spfile{SID}.ora</SPfile>
</InitParamAttributes>
and dbca create +ORADG in /home/oracle dir (why??)
[oracle@rac1 ~]$ ls +ORADG/admin/mydb/pfile/init.ora.6132011173958
+ORADG/admin/mydb/pfile/init.ora.6132011173958
Edited by: 859340 on 2011-7-12 下午7:25 -
Problem creating database in RHEL3 using dbca
I have installed oracle 9iR2 on RHEL3 and applied the patch 3006854
but while installing installing Net Configuration Assistant was not installed it gave an error.
now I am trying to create database using dbca but getting an error as
ORA-12546:TNS:Permission denined.
plz guide me in solving this problemAt which step/stage in DBCA you get this error?
You can try to dump out the creation scripts and run them manually see if you can get through. -
Problem when creating Database (Database, OS and hardware Configuraiton included)
Problem when creating Database:
Below are the problems, which I faced during creation of database. I have mentioned both the problem separately. Plus the log file maintained by Oracle during installation. It might help in diagnosing the error. Plus a little conclusion with I turned up to.
There are two problems, when creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
Problem # 1:
When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
I searched following oracle help for this problem.
ORA-03113: end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Problem # 2:
When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
I searched following oracle help for this problem.
ORA-12571: TNS:packet writer failure
Cause: An error occurred during a data send.
Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Log File Showing Error :
Result code for launching of configuration tool is 0
Launched configuration tool Oracle Database Configuration Assistant
Command which is being spawned is C:\Program Files\Oracle\jre\1.1.7\bin/jrew.exe -Duser.dir=d:\oracle\ora81\assistants\dbca\jlib -classpath ";C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.7\lib\i18n.jar;d:\oracle\ora81\jlib\ewt-3_3_6.jar;d:\oracle\ora81\jlib\share-1_0_8.jar;d:\oracle\ora81\jlib\swingall-1_1_1.jar;d:\oracle\ora81\assistants\dbca\jlib\dbassist.jar;d:\oracle\ora81\assistants\jlib\jnls.jar;d:\oracle\ora81\assistants\jlib\acc.jar;d:\oracle\ora81\jlib\help-3_1_8.jar;d:\oracle\ora81\jlib\ice-4_06_6.jar;d:\oracle\ora81\jlib\netcfg.jar;" DBCreateWizard -progress_only -responseFile NO_VALUE -createtype seed -numusers NO_VALUE -apptype NO_VALUE -cartridges NO_VALUE -options NO_VALUE -demos NO_VALUE -seedloc d:\oracle\ora81\starterdb -sid ora8i -orabase d:\oracle -clususer NO_VALUE -cluspswd Protected value, not to be logged -nodeinfo NO_VALUE -gdbName ora8i
Invalid Exit Code. The following result code will be used for configuration tool: 1
Configuration tool Oracle Database Configuration Assistant failed
The datafiles will be copied from the CD to d:\oracle\oradata\ora8i. The Oracle Database Configuration Assistant will begin creating the database.
An Oracle database will be created for you. The database name will be ora8i. The system identifier for the database will be ora8i. The password for the INTERNAL account will be ******, the SYS account will be change_on_install and the SYSTEM account will be manager.
Log File of Installation:
The above code is a part of the log file, which is generated by Oracle installer at C:\Program Files\Oracle\Inventory\Log\..
I just pasted the part of code, highlighted is the code showing error with Oracle Database Configuration Assistant.
Software & Hardware Configuration are as follow:
Software:
Database
Oracle 8.1.7.0.0 (Oracle8i)
Operating System
Microsoft Windows 2000
5.00.2195
Service Pack 2
Hardware:
x86 Family 6 Model 8 stepping
10
AT/AT COMPITABLE
260,400 KB RAMDont't worry about that. Before you
create a table(or view), it is wise to
drop the table(or view) with the same name.
If the name doesn't exist, of course there
is an error message. See the following script:
-------------------begin-----------
drop table students cascade constraints;
create table students (
sid varchar2(5),
fname varchar2(20),
lname varchar2(20) not null,
minit char,
primary key (sid));
--------------end-----------------
Good day!
null -
9.0.1 create database using dbca fails
Solaris 8, 64-bit SPARC, 528mb RAM, 2 SCSI 9gig. Development box with no other users/processes running except Sendmail.
Installed Oracle 9.0.1 on machine from CDs with no problems, Attempting to create database using Database Configuration Assistant.
Creating 'general purpose' database using dbca with generally default parameters. Progress bar gets to 50% done, "creating & starting instance" is checked in progress window.
CPU utilization goes to 100% and nothing happens for hours. Eventually have to cancel dbca. No control files or init.ora created, (pfile directory is empty) there are a bunch of oracle processes left running which have to be killed.
I've tried this several times, moved stuff to different drives and/or filesystems, no luck. Have 5 gig available on /u01 where the database should install, and 8 gig available on /u02 where the .dbf's go.
If I had any hair left, I'd pull it out. Any help would be greatly appreciated.
Thanks in advance!I am getting this same problem: The DBCA gets to the point where it is installing the database and starting the instance (it says 51% of the way through), and then it just sits there doing nothing. I noticed when I installed Oracle (9.2.0) when it got to the point of the configuration assistants, there was mention of a listener not being able to start and the installer assuming it was already started (the listener that is). When the DBCA started right after, it stalled out at 51%.
I aleady had the Sun JDK installed, but am assuming this is not the issue since the install got that far. Can someone please advise a course of action so that I can trouble shoot this? I am very very new to this side of Oracle. Any assistance is greatly appreciated and will be passed along to others in turn.
Thanks,
BillR -
Problem while Creating Database in 10g
Its very urgent.. Please Help..!!
After installing 10g (Standard Edition) on Windows 2000 Server, I started creating database through Database Configuration Assistant.
Instead of Oracle Home path, different path is specified for Database files.
In 'Step 11 of 12' of the 'Database Configuration Assistant' I specified the 4 new table spaces to create with respective memory sizes.
In 'Step 12' I selected 'Create a Database' and clicked 'Finish' button.
After 7% of the Database creation progress bar, it is giving the following error:
"ORA: 01092 ORACLE instance terminated. Disconnection forced"
And asking for Abort..
What could be the problem. Is it problem with installation or any other services to be started.
After 10g installation I restarted my system.
If required I'll provide some more information.
Its very urgent...
Thanks & Regardshi satish,
this is not the right forum for database questions. please use the following (database) forums:
http://forums.oracle.com/forums/index.jsp?cat=18
regards,
christian -
Problem faced while creating database in oracle 10g
SQL> get C:\Oracle_Docs\ex\dbcreation_script\DBCREATIONSCRIPT
1 create database db_test
2 logfile group 1 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO01.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO02.rdo') size 100 m,
3 group 2 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO03.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO04.rdo') size 100 m
4 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\system01.dbf' size 32m
5 SYSAUX DATAFILE 'C:\oracle\product\10.1.0\oradata\orcl\testdb\SYSAUX.DBF' SIZE 325M
6 undo tablespace testundotbs
7 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\undo01.dbf' size 40 m
8 default temporary tablespace test_temptbls
9 tempfile 'C:\oracledb\testdb\tempo1.dbf' size 40 m
10 character set WE8MSWIN1252
11* national character set AL16UTF16
12 /
create database db_test
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-01504: database name 'DB_TEST' does not match parameter db_name 'orcl'
create spfile = 'C:\oracle\product\10.1.0\db_1\database\spfiledb_test.ora' from pfile = 'C:\oracle\product\10.1.0\admin\orcl\pfile\init.ora'
ERROR at line 1:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file
'C:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL\PFILE\INIT.ORA'
Message was edited by:
user525645i have the init file which contains my database name.i have tries asking one sir regarding this. he checked out my problem but couldnt get the solution.he told he'll check it out and tell...he 's telling ther is 25% chance in installation problem.
my init.ora file
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=db_test
# Diagnostics and Statistics
background_dump_dest=C:\oracle\product\10.1.0\admin\orcl\bdump
core_dump_dest=C:\oracle\product\10.1.0\admin\orcl\cdump
user_dump_dest=C:\oracle\product\10.1.0\admin\orcl\udump
# File Configuration
control_files=("C:\oracle\product\10.1.0\oradata\orcl\testdb\control01.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control02.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control03.ctl")
db_recovery_file_dest=C:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size=2147483648
# Job Queues
job_queue_processes=10
# Miscellaneous
compatible=10.1.0.2.0
# Pools
java_pool_size=50331648
large_pool_size=8388608
shared_pool_size=83886080
# Processes and Sessions
processes=150
# Security and Auditing
remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=orclXDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=65536
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
Message was edited by:
user525645 -
Creating database using DBCA stuck at 85% for about 7minutes~
when i create DB using DBCA , it stuck in 85% for a long time ,and the a waring appears
it says :
EM configuration failed due to the following error
-error starting database control
refer to the log file at emConfig.log for more details
so i checked the log file,and i find this:
Mar 10, 2009 5:02:50 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /u01/app/oracle/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
Mar 10, 2009 5:09:56 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Mar 10, 2009 5:09:56 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://myoracle.localhost.com:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................
................. failed.
starting emctl dbconsole takes about 7 minutes. and it still failed
some guy say it might a bug ,and can fix it using a patch.
in order to use the patch wizard ,i must login to the em. but i cant open it. and also , i dont have metalink account.
also ,there is another error , when i use emctl start dbconsole ,
it says an instance fo oem 10g Database Control is already running
then i use emctl status dbconsole
but it says EM daemon is not running .
my os is RHEL 5.3
and oracle version is Oracle Database 10g Release 2 (10.2.0.1.0) for Linux x86
so i was totally confused....
so ~ if possible give me a reply~ really appreciate~hello,
You can just create database without EM dbconsole and later you can create EM repository manually. Now if you have already configured it and you don't want to repeat the process then you can do this
To Create
$ emca -config dbcontrol db -repos create
To drop
$ emca -deconfig dbcontrol db -repos drop
To recreate
$ emca -config dbcontrol db -repos recreateRegards
Edited by: OrionNet on Mar 12, 2009 9:48 AM -
Problem when creating Database:
There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
Problem # 1:
When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
I searched following oracle help for this problem.
ORA-03113: end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Problem # 2:
When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
I searched following oracle help for this problem.
ORA-12571: TNS:packet writer failure
Cause: An error occurred during a data send.
Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.user563502 wrote:
I am working on Solaris 8. What is Alert_SID.log? where can I find it?
ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
to be honest with you, this is not your work. -
Problem when creating Database with Database, OS and hardware Configuraiton
Problem when creating Database:
There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
Problem # 1:
When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
I searched following oracle help for this problem.
ORA-03113: end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Problem # 2:
When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
I searched following oracle help for this problem.
ORA-12571: TNS:packet writer failure
Cause: An error occurred during a data send.
Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Software & Hardware Configuration are as follow:
Software:
Database
Oracle 8.1.7.0.0 (Oracle8i)
Operating System
Microsoft Windows 2000
5.00.2195
Service Pack 2
Hardware:
x86 Family 6 Model 8 stepping
10
AT/AT COMPITABLE
260,400 KB RAMuser563502 wrote:
I am working on Solaris 8. What is Alert_SID.log? where can I find it?
ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
to be honest with you, this is not your work.
Maybe you are looking for
-
Not a group by expression error
1st column is status codes :StatusCode 2nd column is thier defnition :Definition 3rd column is no of times each code occured in those records :Notimes Example: 302 , moved data, 1260 And now i want to know the % of each code occurence. select status_
-
Hello , I have a plan type PT and two plans P1 and P2 . I already have employees enrolled in P1 and I want move those people to P2 . When I go to Non Flex enrollment screen and try to enroll the person in P2 . I get the following error message : BEN_
-
Hi, can anyone help me please with my phone? Sometimes, while scrolling down, the cursor jumps to the top of the screen. Sometimes while trying to select an app it jumps up one or two. Is there anything that I can do to fix this myself?
-
Random white screen when trying to run applet (Please help)
We have been plagued by this problem for months. We are running a Java applet (that we wrote) requiring JRE 1.3.0_01, where the html file has been created with html converter. RANDOMLY, when loading the applet, the applet will come up (we spawn a new
-
In hotmail & yahoo, I am unable to print copies by clicking on the icon.
If I want to print out an email in either hotmail or yahoo I click on the print icon or the word print and nothing prints. If I go to the "file" and "print" on the tool bar it prints the entire screen as opposed to the email itself. I am trying to si