CREATE DATABASE failed

Hello,
I am attempting to create a database. When I issue the CREATE DATABASE statment, I get the following errors:
CREATE DATABASE test
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00449: background process 'DBW0' unexpectedly terminated with error 7446
ORA-07446: sdnfy: bad value '' for parameter .
Any idea what could be the problem here? And how do I determine for which parameter I have supplied a bad value?
The trace files in bdump and udump were not helpful.
Thanks,
Rob

Hi Rob,
The create database command shud be accompanied by the temporary and default tablespace names also the identified by clause shouldbe included , pls try this and feedback.
Regds

Similar Messages

  • 9.2 create Database fails in sql.bsq

    I have installed Oracle 9.2.0.1.0. It appears to have installed correctly.
    I am attempting to create a new database. The script sql.bsq in %ORACLE_HOME%\rdbms\admin appears to be trying to create a cluster around line 1329. I don't use clusters (per se).
    I am rcving an the following error a trace file.
    *** SESSION ID:(10.1) 2003-09-08 16:59:56.000
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01569: data file too small for system dictionary tables
    Offending statement at line 1332
    create cluster c_cobj# (obj# number)
    pctfree 0 pctused 50
    /* space for: update cdef$ set condition = 'col IS NOT NULL' at // */
    size 300
    storage (initial 50K) /* avoid space management during IOR I */
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 1332
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01569: data file too small for system dictionary tables
    Can someone point me to an answer for this?
    I have 2 95MB files being created in the system tablespace. and I can provide you either my create database script and/or my init.ora file, if they will assist.
    Thnak you

    Thank you.
    I have changed the create database statement several times to try different possiblities.
    I have put maxsize unlimited. That failed.
    I have put maxsize 200M (with a second file of maxsize 200M) that failed.
    I have added the temp storage syntax. That failed.
    All of these failed in sql.bsq and all used the ORA 1569 error about a data file being too small.
    WHAT DATA FILE? The system tablespace data file(s) have never been increased (by Oracle) from the original size value I provided (whether that size was 500K, or 95M). So what data file is Oracle complaining about?
    In addition, I have seen the following message in the alert_project.log:
    ========================================
    Assigning activation ID 2846189359 (0xa9a5672f)
    Thread 1 opened at log sequence 1
    Current log# 1 seq# 1 mem# 0: D:\DATA\ORACLE\ORADATA\BURKE\LOGS\LOGFILE1.LOG
    Current log# 1 seq# 1 mem# 1: D:\ORACLE\ORADATA\BURKE\LOGS\LOGFILE1.LOG
    Successful open of redo thread 1.
    Tue Sep 09 11:42:39 2003
    SMON: enabling cache recovery
    Tue Sep 09 11:42:39 2003
    create tablespace SYSTEM datafile 'd:\data\Oracle\oradata\burke\system01.dbf' size 500K REUSE
              autoextend on next 500K maxsize 200M,
    'd:\data\Oracle\oradata\burke\system02.dbf' size 500k REUSE
              autoextend on next 500K maxsize 200M
    default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
    Tue Sep 09 11:42:39 2003
    Completed: create tablespace SYSTEM datafile 'd:\data\Oracle
    Tue Sep 09 11:42:39 2003
    create rollback segment SYSTEM tablespace SYSTEM
    storage (initial 50K next 50K)
    Completed: create rollback segment SYSTEM tablespace SYSTEM
    Tue Sep 09 11:42:40 2003
    Errors in file d:\data\oracle\admin\burke\udump\project_ora_1324.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01569: data file too small for system dictionary tables
    ========================================
    The line that says
    default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
    is not in my create database statement. Can it be a portion of my problem?
    I don't see it in the 9.2 SQL manual for create database.
    I appreciate the assistance that has been provided, but I still need some more.
    Thanks you all again.

  • Create database fails with error ORA-01505: error in adding log files

    hi all,
    hope someone can help me out, I'm trying to create a database using a SQL script, the content of the script is:
    create database testora
    user sys identified by oracle
    user system identified by oracle
    logfile group 1 ('/u01/app/oracle/oradata/testora/redo01a.log', '/u02/app/oracle/oradata/testora/redo01b.log') size 100m blocksize 512 reuse,
         group 2 ('/u01/app/oracle/oradata/testora/redo02a.log', '/u02/app/oracle/oradata/testora/redo02b.log') size 100m blocksize 512 reuse,
         group 3 ('/u01/app/oracle/oradata/testora/redo03a.log', '/u02/app/oracle/oradata/testora/redo03b.log') size 100m blocksize 512 reuse,
    maxlogfiles 5
    maxlogmembers 5
    maxdatafiles 100
    character set US7ASCII
    national character set AL16UTF16
    extent management local
    datafile '/u01/app/oracle/oradata/testora/system01.dbf' size 400m reuse
    sysaux datafile '/u01/app/oracle/oradata/testora/sysaux01.dbf' size 400m reuse
    default tablespace users
         datafile '/u02/app/oracle/oradata/testora/users01.dbf' size 500m reuse autoextend on maxsize unlimited
    default temporary tablespace tempts1
         tempfile '/u01/app/oracle/oradata/testora/temp01.dbf' size 20m reuse autoextend on maxsize 4g
    undo tablespace undotbs1
         datafile '/u01/app/oracle/oradata/testora/undotbs01.dbf' size 200m reuse autoextend on maxsize unlimited
    It fails in creating the database with the following output:
    SQL> @/home/oracle/Oracle_Scripts/testora_db_script.sql
    create database testora
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-01501: CREATE DATABASE failed
    ORA-01505: error in adding log files
    ORA-01184: logfile group 1 already exists
    Process ID: 3486
    Session ID: 1 Serial number: 3

    sorry to revive this thread but i have one more issue with this. I created a database with DBCA insetead of CREATE DATABASE command and selected option for Fast Recovery Area space. This automatically set initialization parameter db_recovery_file_dest and db_recovery_file_dest_size, but did not create a OMF redo log group, but instead created three redo log groups with 1 member each.
    select * from v$logfile returns:
    1          ONLINE     /u01/app/oracle/oradata/testdb2/redo01.log     NO
    2          ONLINE     /u01/app/oracle/oradata/testdb2/redo02.log     NO
    3          ONLINE     /u01/app/oracle/oradata/testdb2/redo03.log     NO
    Any idea why if creating a database with create database command and specifying db_recovery_file_dest creates an OMF redo log group and with DBCA it doesn't?

  • ORA-01501: CREATE DATABASE failed in asm

    i am trying to create manual database using asm
    and i am using oracle SID
    and when i create manual database i am getting the below error
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '+ASMDG/manual/control1.ctl'
    ORA-17502: ksfdcre:4 Failed to create file +ASMDG/manual/control1.ctl
    ORA-15001: diskgroup "ASMDG" does not exist or is not mounted
    and when i use asm SID +asm and if i create a manual database i am getting the below error
    ERROR at line 1:
    ORA-15000: command disallowed by current instance type
    please help me to resolve this

    Hi Friend,
    Please check the following permissions for all the below :
    Grid Infrastructure Home Owner : grid
    Primary Group : oinstall
    Secondary Groups : asmadmin, asmdba, asmoper
    RDBMS Home Owner : oracle
    Primary Group : oinstall
    Secondary Groups : dba, oper, asmdba
    In case of stand alone set up, if the 11.2 Database be managed by Oracle Restart ( srvctl stop/start ), then 'grid' user should also be a part of 'dba' group.
    The ASM Disks would be owned by grid:asmadmin
    Please check once again...Before starts
    Hope it helps...
    Thanks
    LaserSoft

  • Create database fails

    hi,
    im trying to create a small instance on linux using 9.2.0.1
    & this is the error
    CREATE DATABASE nssan01d
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    looking at the trace log in udump i see the following
    *** SESSION ID:(8.1) 2002-10-20 20:54:44.077
    ORA-00604: error occurred at recursive SQL level 1
    ORA-30012: undo tablespace 'UNDOTBS' does not exist or of wrong type
    Offending statement at line 5161
    CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE '/opt/Oracle/Database/nssan01d/data/undotbs01.dbf' SIZE
    200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 5161
    ORA-00604: error occurred at recursive SQL level 1
    ORA-30012: undo tablespace 'UNDOTBS' does not exist or of wrong type
    this is a plain vanilla script generated by dbca..
    anyone run into this before ?
    regards
    pete

    Hi,
    it seems, there is a mismatch between your CREATE DATABASE statement and the the corresponding entry in the init.ora file. Check init.ora and search for UNDO_TABLESPACE= ... . I assume you will find UNDO_TABLESPACE=UNDOTBS (according to the error stack), but the CREATE DATABASE statement contains UNDOTBS1 and this does not match the init.ora entry.
    Regards
    Werner

  • Oracle 816 for Linux "CREATE DATABASE failed"

    svrmgr>startup nomount
    svrmgr>create database "ora1"
    CREATE DATABASE "ora1"
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 401
    ORA-00604: error occurred at recursive SQL level 1
    ORA-27102: out of memory
    Linux Error: 1100: Unknown error 1100
    Additional information: 1373184436
    Additional information: 6154254
    Additional information: 8
    trace listing:
    *** SESSION ID:(11.1) 2000-10-23 15:32:59.153
    ORA-00604: error occurred at recursive SQL level 1
    ORA-27102: out of memory
    Linux Error: 1100: Unknown error 1100
    Additional information: 1373184436
    Additional information: 6154254
    Additional information: 8
    Offending statement at line 401
    create tablespace SYSTEM datafile '/u01/app/oracle/oradata/ora1/system01.dbf' S
    IZE 54M AUTOEXTEND ON NEXT 640K
    default storage (initial 10K next 10K) online
    linux kernel 2.2-14
    glibc-2.1.3

    Don't run dbassist or shell script
    "create database generated dbassist" under
    mc (midnight commander )
    Use shell promt only

  • Create database fail for RedHat 7.1

    Hi,could somebody help me on the following problem.
    I try to create the starter database.But when the creating database process come to the initializing database part,it just hang over there.
    I already try a lot of time. The problem still the same.
    Thanks.
    Conquorer

    ur implementation should work but not sure whether the resource thing is fine.
    Try putting the ImageIcon object onto some other Dialog or InternalFrame and see? Lets see what happens.

  • Create database fails with ORA-27102 -out of memory

    Hi,
    I have Solaris 10 server with 16 GB ram. On it there are 10 databases (8 of them 9.2.0.7, and 2 of them 10.2.0.4) running -but they have small SGAs -300 mb each (some even smaller 200 mb or so). Now I have to create two more database on it. When I try to create the db, it fails with the error:
    Connected to an idle instance.
    ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    And alert log has meesages as below:
    Starting ORACLE instance (normal)
    Tue May 26 07:37:39 2009
    WARNING: EINVAL creating segment of size 0x0000000029002000
    fix shm parameters in /etc/system or equivalent
    Also see the output of this command :
    prctl -n project.max-shm-memory -i project user.root
    project: 1: user.root
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    project.max-shm-memory
    privileged      3.92GB      -   deny                                 -
    system          16.0EB    max   deny                                 -
    Now I tried to change this with this command (as suggested in installation guide):
    prctl -n project.max-shm-memory -v 8gb -r -i project user.root
    but still I get teh same error. So I refer to Metalink document 399895.1. It says that manually change the settings in /etc/system. this needs a reboot and I got premission to do this reboot tomorrow. But my question is: What are the values that I should be putting in this file?+As suggested in the note, should I put the below values? -
    For example, a sample value (mentioned in the note) are: for /etc/system entry setting SHMMAX = 6GB.
    set shmsys:shminfo_shmmax=6442450944
    set semsys:seminfo_semmni=1024
    set semsys:seminfo_semmsl=1024
    set shmsys:shminfo_shmmni=100
    or should I put some other values (for all the parameters like semmni, semmsl etc) ? I am not clear which values I should be specifying.
    Thanks
    Edited by: orausern on May 26, 2009 7:24 AM
    Edited by: orausern on May 26, 2009 7:27 AM

    Wow! your help comes like an angles' helping hand! thank you so much. I am not very knowledgable on solaris so a few questions :
    Currently there is no project set up for oracle on this server, so the steps I need to do -to make the changes permanent are:
    # projadd -c "Oracle" 'user.oracle'
    # projmod -s -K "project.max-shm-memory=(privileged,8GB,deny)" 'user.oracle'
    correct?
    thanks a lot again

  • Phase Create Database Error in ECC 6.0 EHP5 Installation on SuSe10/Oracle11

    Hi,
    I have following  error ecnounter During Create Databse Phase. Have applied the latest patch after Oracle Installtion.
    /oracle file system has the permissions 755.
    Environment : ECC 6.0 EHP5 Installation on SuSe10/Oracle11.
    Please advise
    sapinst_log:-
    INFO 2011-08-27 20:36:38.900
    Creating file /install/dev_sap_kernel_test_27_Aug_2011_20_36_38.
    INFO 2011-08-27 20:36:38.901
    Removed file /install/dev_sap_kernel_test_27_Aug_2011_20_36_38.
    INFO 2011-08-27 20:36:38.908
    Working directory changed to /install/sapinst_exe.26397.1314448526.
    INFO 2011-08-27 20:36:38.915
    Working directory changed to /Media/IM_LINUX_ORACLE/IM_LINUX_X86_64.
    INFO 2011-08-27 20:36:38.927
    Creating file /install/dev_sap_kernel_test_27_Aug_2011_20_36_38.
    INFO 2011-08-27 20:36:38.927
    Removed file /install/dev_sap_kernel_test_27_Aug_2011_20_36_38.
    INFO 2011-08-27 20:36:38.933
    Real group ID set to 1001.
    INFO 2011-08-27 20:36:39.497
    Creating file /install/sapinst_instdir/x.
    INFO 2011-08-27 20:36:39.498
    Removed file /install/sapinst_instdir/x.
    INFO 2011-08-27 20:36:39.510
    Authorizations set for /install/sapinst_instdir.
    INFO 2011-08-27 20:36:39.510
    Working directory changed to /install/sapinst_exe.26397.1314448526.
    INFO 2011-08-27 20:36:39.543
    Working directory changed to /Media/IM_LINUX_ORACLE/IM_LINUX_X86_64.
    INFO 2011-08-27 20:37:58.173
    Creating file /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/x.
    INFO 2011-08-27 20:37:58.174
    Removed file /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/x.
    INFO 2011-08-27 20:38:02.167
    Creating file /install/sapinst_instdir/x.
    INFO 2011-08-27 20:38:02.168
    Removed file /install/sapinst_instdir/x.
    INFO 2011-08-27 20:38:02.172
    Authorizations set for /install/sapinst_instdir.
    INFO 2011-08-27 20:38:02.190
    Removed file /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/dev_sap_kernel.
    INFO 2011-08-27 20:38:02.192
    Removed file /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/dev_sap_kernel.
    INFO 2011-08-27 20:38:02.198
    Copied file '/Media/IM_LINUX_ORACLE/IM_LINUX_X86_64/dev_sap_kernel' to '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/dev_sap_kernel'.
    INFO 2011-08-27 20:38:02.217
    Authorizations set for /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/dev_sap_kernel.
    INFO 2011-08-27 20:38:02.217
    Removed file /Media/IM_LINUX_ORACLE/IM_LINUX_X86_64/dev_sap_kernel.
    INFO 2011-08-27 20:38:04.407
    Copied file '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/keydb.xml' to '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/keydb.3.xml'.
    INFO 2011-08-27 20:38:06.213
    Copied file '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/statistic.xml' to '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/statistic.2.xml'.
    INFO 2011-08-27 20:39:33.662
    Working directory changed to /install/sapinst_exe.26397.1314448526.
    INFO 2011-08-27 20:39:33.670
    Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
    INFO 2011-08-27 20:39:33.674
    Working directory changed to /install/sapinst_exe.26397.1314448526.
    INFO 2011-08-27 20:39:33.686
    Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
    INFO 2011-08-27 20:39:34.589
    Working directory changed to /install/sapinst_exe.26397.1314448526.
    INFO 2011-08-27 20:39:34.600
    Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
    INFO 2011-08-27 20:39:39.720
    Working directory changed to /install/sapinst_exe.26397.1314448526.
    INFO 2011-08-27 20:39:39.733
    Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
    INFO 2011-08-27 20:39:41.685
    Copied file '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/inifile.xml' to '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/inifile.2.xml'.
    INFO 2011-08-27 20:39:51.367
    Execute step createDatabase of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|std|0|NW_OraDbBuild|ind|ind|ind|ind|5|0
    INFO 2011-08-27 20:39:57.971
    Working directory changed to /install/sapinst_exe.26397.1314448526.
    INFO 2011-08-27 20:39:58.1
    Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
    INFO 2011-08-27 20:39:58.26
    Working directory changed to /install/sapinst_exe.26397.1314448526.
    INFO 2011-08-27 20:39:58.71
    Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
    INFO 2011-08-27 20:40:00.256
    Working directory changed to /install/sapinst_exe.26397.1314448526.
    INFO 2011-08-27 20:40:00.278
    Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
    ERROR 2011-08-27 20:40:08.434
    CJS-00084  SQL statement or script failed. DIAGNOSIS: Error message: ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/oracle/JE1/origlogA/cntrl/cntrlJE1.dbf'
    ORA-27041: unable to open file
    Linux-x86_64 Error: 13: Permission denied
    Additional information: 2
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    . SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.
    ERROR 2011-08-27 20:40:08.437
    MUT-03025  Caught ESAPinstException in module call: .
    ERROR 2011-08-27 20:40:08.585
    FCO-00011  The step createDatabase with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|std|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step: SQL statement or script failed. DIAGNOSIS: Error message: ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/oracle/JE1/origlogA/cntrl/cntrlJE1.dbf'
    ORA-27041: unable to open file
    Linux-x86_64 Error: 13: Permission denied
    Additional information: 2
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    . SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.).
    INFO 2011-08-27 20:40:09.446
    Creating file /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/__instana_tmp.xml.

    ora_sql results log:::
    2011-08-27, 19:40:31 SAPINST ORACLE start logging for
    CREATE DATABASE JE1 CONTROLFILE REUSE  MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    LOGFILE GROUP 1 ('/oracle/JE1/origlogA/log_g11m1.dbf',
    '/oracle/JE1/mirrlogA/log_g11m2.dbf') SIZE 50M  REUSE ,
    GROUP 2 ('/oracle/JE1/origlogB/log_g12m1.dbf',
    '/oracle/JE1/mirrlogB/log_g12m2.dbf') SIZE 50M  REUSE ,
    GROUP 3 ('/oracle/JE1/origlogA/log_g13m1.dbf',
    '/oracle/JE1/mirrlogA/log_g13m2.dbf') SIZE 50M  REUSE ,
    GROUP 4 ('/oracle/JE1/origlogB/log_g14m1.dbf',
    '/oracle/JE1/mirrlogB/log_g14m2.dbf') SIZE 50M  REUSE
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 19:40:31 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    CREATE DATABASE JE1 CONTROLFILE REUSE  MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/oracle/JE1/origlogA/cntrl/cntrlJE1.dbf'
    ORA-27041: unable to open file
    Linux-x86_64 Error: 13: Permission denied
    Additional information: 2
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-08-27, 19:40:31 SAPINST ORACLE stop logging
    2011-08-27, 20:27:43 SAPINST ORACLE start logging for
    SHUTDOWN IMMEDIATE;
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:27:43 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-08-27, 20:27:50 SAPINST ORACLE stop logging
    ================================================================================
    2011-08-27, 20:27:50 SAPINST ORACLE start logging for
    STARTUP NOMOUNT;
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:27:50 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
    ORACLE instance started.
    Total System Global Area 2338463744 bytes
    Fixed Size              2228600 bytes
    Variable Size           1174408840 bytes
    Database Buffers      1140850688 bytes
    Redo Buffers             20975616 bytes
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
    2011-08-27, 20:27:52 SAPINST ORACLE stop logging
    ================================================================================
    2011-08-27, 20:27:52 SAPINST ORACLE start logging for
    CREATE DATABASE JE1 CONTROLFILE REUSE  MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    LOGFILE GROUP 1 ('/oracle/JE1/origlogA/log_g11m1.dbf',
    '/oracle/JE1/mirrlogA/log_g11m2.dbf') SIZE 50M  REUSE ,
    GROUP 2 ('/oracle/JE1/origlogB/log_g12m1.dbf',
    '/oracle/JE1/mirrlogB/log_g12m2.dbf') SIZE 50M  REUSE ,
    GROUP 3 ('/oracle/JE1/origlogA/log_g13m1.dbf',
    '/oracle/JE1/mirrlogA/log_g13m2.dbf') SIZE 50M  REUSE ,
    GROUP 4 ('/oracle/JE1/origlogB/log_g14m1.dbf',
    '/oracle/JE1/mirrlogB/log_g14m2.dbf') SIZE 50M  REUSE
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:27:52 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    CREATE DATABASE JE1 CONTROLFILE REUSE  MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/oracle/JE1/origlogA/cntrl/cntrlJE1.dbf'
    ORA-27041: unable to open file
    Linux-x86_64 Error: 13: Permission denied
    Additional information: 2
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-08-27, 20:27:52 SAPINST ORACLE stop logging
    ================================================================================
    2011-08-27, 20:40:00 SAPINST ORACLE start logging for
    SHUTDOWN IMMEDIATE;
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:40:00 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-08-27, 20:40:05 SAPINST ORACLE stop logging
    ================================================================================
    2011-08-27, 20:40:05 SAPINST ORACLE start logging for
    STARTUP NOMOUNT;
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:40:05 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
    ORACLE instance started.
    Total System Global Area 2338463744 bytes
    Fixed Size              2228600 bytes
    Variable Size           1174408840 bytes
    Database Buffers      1140850688 bytes
    Redo Buffers             20975616 bytes
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
    2011-08-27, 20:40:07 SAPINST ORACLE stop logging
    ================================================================================
    2011-08-27, 20:40:08 SAPINST ORACLE start logging for
    CREATE DATABASE JE1 CONTROLFILE REUSE  MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    LOGFILE GROUP 1 ('/oracle/JE1/origlogA/log_g11m1.dbf',
    '/oracle/JE1/mirrlogA/log_g11m2.dbf') SIZE 50M  REUSE ,
    GROUP 2 ('/oracle/JE1/origlogB/log_g12m1.dbf',
    '/oracle/JE1/mirrlogB/log_g12m2.dbf') SIZE 50M  REUSE ,
    GROUP 3 ('/oracle/JE1/origlogA/log_g13m1.dbf',
    '/oracle/JE1/mirrlogA/log_g13m2.dbf') SIZE 50M  REUSE ,
    GROUP 4 ('/oracle/JE1/origlogB/log_g14m1.dbf',
    '/oracle/JE1/mirrlogB/log_g14m2.dbf') SIZE 50M  REUSE
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:40:08 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    CREATE DATABASE JE1 CONTROLFILE REUSE  MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/oracle/JE1/origlogA/cntrl/cntrlJE1.dbf'
    ORA-27041: unable to open file
    Linux-x86_64 Error: 13: Permission denied
    Additional information: 2
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-08-27, 20:40:08 SAPINST ORACLE stop logging

  • Can't create database using ASM (SOLVED)

    Hi all
    I'm trying to use ASM for the first time, on Oracle 10.2.0.1 on Solaris x64.
    I have installed the ASM instance into /opt/oracle/asm/10.2.0 and created disk groups. I have cssd running OK. I am able to start and stop the ASM instance without problems, and I can select from v$asm_diskgroup to confirm that disks are mounted OK.
    I have then installed Oracle EE separately into /opt/oracle/server/10.2.0. I first did a software only install, and now I am trying to create a DB.
    The problems come when I try to use this ASM instance to host a new database. I first tried to use DBCA to create a new database, but on database creation I got the following errors:
    ORA-00200: control file could not be created
    ORA-00202: control file: '+DBLIVE1'
    ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
    ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
    ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
    ORA-01031: insufficient privileges
    I then told DBCA just to create the DB creation scripts, and I tried manually running these with SQL*Plus.
    When doing it with SQL*PLus, I initially got the same error as shown above. But then something changed (sorry, not sure what), and now the error I get is:
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    I've put some debug info below, showing me succesfully connecting to the ASM instance and then attempting to create the DB using the db creation scripts, showing the error at the end. You can see that the oracle OS user is able to connect fine to ASM, then I swithc ORACLE_SID and ORACLE_HOME to the EE install and try to create the DB, at which point it apparently can't connect to ASM any more.
    I've tried the DB creation many times, and in between attempts I completely empty $ORACLE_HOME/admin/<dbname> and delete the files related to the attempted install from $ORACLE_HOME/dbs/ . I've also stopping/starting ASM, rebooting, and I've done the install of ASM and EE a couple of times over in case I made any mistakes in my earlier attempts.
    Any help would be much appreciated!
    Tom
    ##### CHECKING ASM
    oracle@neonrcom-db1:~$ uname -a
    SunOS neonrcom-db1 5.10 Generic_127128-11 i86pc i386 i86pc
    # css is running
    oracle@neonrcom-db1:~$ ps -ef | grep css
    oracle 498 1 0 21:46:40 ? 0:01 /opt/oracle/asm/10.2.0/bin/ocssd.bin
    # listener is running in the ASM instance
    oracle@neonrcom-db1:~$ ps -ef | grep tnsl
    oracle 1332 1 0 21:49:59 ? 0:00 /opt/oracle/asm/10.2.0/bin/tnslsnr LISTENER -inherit
    # ASM is only entry in /var/opt/oracle/oratab
    oracle@neonrcom-db1:~$ grep -v "^#" /var/opt/oracle/oratab
    +ASM:/opt/oracle/asm/10.2.0:N
    # I can connect to ASM fine, and it has diskgroups mounted.
    oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/asm/10.2.0
    oracle@neonrcom-db1:~$ export ORACLE_SID='+ASM'
    oracle@neonrcom-db1:~$ sqlplus "sys as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 20:53:10 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> set line 150
    SQL> select name, block_size, state, type, total_mb, free_mb from v$asm_diskgroup;
    NAME BLOCK_SIZE STATE TYPE TOTAL_MB FREE_MB
    DBARCH1 4096 MOUNTED EXTERN 2096856 2096784
    DBLIVE1 4096 MOUNTED EXTERN 4193904 4193812
    #### Contents of init.ora for new DB
    db_create_file_dest=+DBLIVE1
    db_recovery_file_dest=+DBARCH1
    db_recovery_file_dest_size=2147483648
    ##### DB INSTALLATION ATTEMPT
    oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/server/10.2.0
    oracle@neonrcom-db1:~$ export ORACLE_SID='NEONREL1'
    oracle@neonrcom-db1:~$ export PATH=$ORACLE_HOME/bin:$PATH
    oracle@neonrcom-db1:~$ /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/NEONREL1.sh
    You should Add this entry in the /var/opt/oracle/oratab: NEONREL1:/opt/oracle/server/10.2.0:Y
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 22:10:54 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    specify a password for sys as parameter 1
    Enter value for 1: xxx
    specify a password for system as parameter 2
    Enter value for 2: xxx
    specify a password for sysman as parameter 3
    Enter value for 3: xxx
    specify a password for dbsnmp as parameter 4
    Enter value for 4: xxx
    specify ASM SYS user password as parameter 6
    Enter value for 6: xxx
    Connected to an idle instance.
    SQL> spool /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/CreateDB.log
    SQL> startup nomount pfile="/opt/oracle/server/10.2.0/admin/NEONREL1/scripts/init.ora";
    ORACLE instance started.
    Total System Global Area 1.9294E+10 bytes
    Fixed Size 2054976 bytes
    Variable Size 2264925376 bytes
    Database Buffers 1.7012E+10 bytes
    Redo Buffers 14721024 bytes
    SQL> CREATE DATABASE "NEONREL1"
    2 MAXINSTANCES 8
    3 MAXLOGHISTORY 1
    4 MAXLOGFILES 16
    5 MAXLOGMEMBERS 3
    6 MAXDATAFILES 100
    7 DATAFILE SIZE 300M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    8 EXTENT MANAGEMENT LOCAL
    9 SYSAUX DATAFILE SIZE 120M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    10 SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE SIZE 20M AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    11 SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE SIZE 200M AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    12 CHARACTER SET AL32UTF8
    13 NATIONAL CHARACTER SET UTF8
    14 LOGFILE GROUP 1 SIZE 51200K,
    15 GROUP 2 SIZE 51200K,
    16 GROUP 3 SIZE 51200K
    17 USER SYS IDENTIFIED BY "&&sysPassword" USER SYSTEM IDENTIFIED BY "&&systemPassword";
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    Message was edited by:
    tjobbins

    Update: I've worked out the difference between the two sets of errors I get.
    The basic error is this:
    ORA-00200: control file could not be created
    ORA-00202: control file: '+DBLIVE1'
    ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
    ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
    ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
    ORA-01031: insufficient privileges
    However if my init.ora contains the line:
    control_files=/opt/oracle/server/10.2.0/dbs/cntrlNEONREL1.dbf
    then I instead get the second error:
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    So basically these must be the same error, just in the second case I'm not trying to put the control file on the ASM so it fails at a different point.
    But both errors must be because of the same cause, I suppose.

  • Error while creating database manually

    hi guru's i am getting error while creating database manually
    my sql is SQL>create database lily
      logfile   group 1 ('C:\oracle\product\10.2.0\oradata\lily\redo1.log') size 10M,
                group 2 ('C:\oracle\product\10.2.0\oradata\lily\redo2.log') size 10M,
                group 3 ('C:\oracle\product\10.2.0\oradata\lily\redo3.log') size 10M
      character set          WE8ISO8859P1
      national character set utf8
      datafile 'C:\oracle\product\10.2.0\oradata\lily\system.dbf'
                size 50M
                autoextend on
                next 10M maxsize unlimited
                extent management local
      sysaux datafile 'C:\oracle\product\10.2.0\oradata\lily\sysaux.dbf'
                size 10M
                autoextend on
                next 10M
                maxsize unlimited
      undo tablespace undo
                datafile 'C:\oracle\product\10.2.0\oradata\lily\undo.dbf'
                size 10M
      default temporary tablespace temp
                tempfile 'C:\oracle\product\10.2.0\oradata\lily\temp.dbf'
                size 10M;and i am getting following error
    create database lily
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\LILY\CONTROL01.CTL'
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists
    code}
    Edited by: CHETAN YADAV on Jul 19, 2011 6:55 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    create database lily
      logfile   group 1 ('C:\oracle\product\10.2.0\oradata\lily\redo1.log') size 10M,
              group 2 ('C:\oracle\product\10.2.0\oradata\lily\redo2.log') size 10M,
                group 3 ('C:\oracle\product\10.2.0\oradata\lily\redo3.log') size 10M
      datafile 'C:\oracle\product\10.2.0\oradata\lily\system.dbf'  size 150M
    sysaux datafile 'C:\oracle\product\10.2.0\oradata\lily\sysaux.dbf' 150 M
      undo tablespace undo  datafile 'C:\oracle\product\10.2.0\oradata\lily\undo.dbf'  size 10M
    default temporary tablespace temp tempfile 'C:\oracle\product\10.2.0\oradata\lily\temp.dbf' size 10M;
    remove the SQL> from the a.sql script also change the system datafile size to minimum of 100mb size
    ALSO check/change the undotablespace name with your init parameter file it should match as it is in the init parameter file
    Edited by: rajeysh on Jul 19, 2011 6:59 PM

  • Error while creating database on 10.2 enterprise eidition

    Hi,
    When i trying to create database through batch file on oracle version 10.2 enterprise edition, its giving error.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Following error message logged in log file:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-00942: table or view does not exist
    Offending statement at line 7032
    create unique index apply$_conf_hdlr_columns_unq1
    on apply$_conf_hdlr_columns(object_number, column_name)
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 7032
    ORA-00604: error occurred at recursive SQL level 2
    ORA-00942: table or view does not exist
    The same script is working fine on Oracle 10.1 Enterprise edition But its giving error on Oracle 10.2 Enterprise edition while creating database.
    Please help.
    Thanks in advance

    Hi,
    Content of PFILE:
    # Basic Initialization Parameters
    cluster_database=false
    compatible=10.1.0.2.0
    control_files = ("F:/oracle/oradata/DTO/ctrl01.ctl", "F:/oracle/oradata/DTO/ctrl02.ctl")
    db_block_size=8192
    # db_create_file_dest               # only used in OMF mode
    # db_create_online_log_dest_n          # only used in OMF mode
    db_domain=""
    db_name=DTO
    db_recovery_file_dest=F:/oracle/oradata/DTO/flash_recovery_area
    db_recovery_file_dest_size=2G
    db_unique_name=DTO_01
    # instance_number               # RAC parameter
    job_queue_processes=10
    # log_archive_dest_n               # NOARCHIVELOG mode
    # log_archive_dest_state_n          # NOARCHIVELOG mode
    # nls_language                    # OS dependant
    # nls_territory                    # OS dependant
    open_cursors=50
    pga_aggregate_target=10M
    processes=50
    # remote_listener               # RAC parameter
    remote_login_passwordfile=EXCLUSIVE
    # rollback_segments               # UNDO_MANAGEMENT mode
    # sessions                    # derived from processes
    sga_target=100M
    shared_servers=0
    star_transformation_enabled=FALSE
    undo_management=AUTO
    # undo_tablespace               # first UNDO tablespace
    # Other Parameters
    background_dump_dest=F:/oracle/admin/DTO/bdump
    core_dump_dest=F:/oracle/admin/DTO/cdump
    cursor_sharing=SIMILAR
    db_file_multiblock_read_count=64          
    db_files=400
    db_writer_processes=2
    instance_name=DTO
    log_buffer = 8192
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 0
    os_authent_prefix=""
    service_names=DTO
    statistics_level=typical
    timed_statistics=true
    user_dump_dest=F:/oracle/admin/DTO/udump
    utl_file_dir=*
    Command in batch script:
    CONNECT sys/oracle AS SYSDBA
    STARTUP NOMOUNT PFILE=&ADMN_DIR/pfile/init&ORA_INST..ora
    CREATE DATABASE &ORA_INST
         CONTROLFILE REUSE
         LOGFILE
              GROUP 1 ('&REDO_DIR_1/redo11.log','&REDO_DIR_2/redo12.log') SIZE 10M REUSE,
              GROUP 2 ('&REDO_DIR_1/redo21.log','&REDO_DIR_2/redo22.log') SIZE 10M REUSE,
              GROUP 3 ('&REDO_DIR_1/redo31.log','&REDO_DIR_2/redo32.log') SIZE 10M REUSE,
              GROUP 4 ('&REDO_DIR_1/redo41.log','&REDO_DIR_2/redo42.log') SIZE 10M REUSE
         DATAFILE
              '&DATA_DIR/syst01.dbf' SIZE 40M REUSE AUTOEXTEND ON NEXT 40M MAXSIZE 2G
              EXTENT MANAGEMENT LOCAL
         SYSAUX DATAFILE
              '&DATA_DIR/saux01.dbf' SIZE 40M REUSE AUTOEXTEND ON NEXT 40M MAXSIZE 2G
         DEFAULT TEMPORARY TABLESPACE temp
              TEMPFILE '&TEMP_DIR/temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 2G
              EXTENT MANAGEMENT LOCAL UNIFORM SIZE 10M
         UNDO TABLESPACE undo
              DATAFILE '&UNDO_DIR/undo01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 2G,
                   '&UNDO_DIR/undo02.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 2G
         CHARACTER SET AL32UTF8
         SET TIME_ZONE = 'Europe/Warsaw';

  • 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 getting this error while creating Database manually.

    SQL> @anupam.sql
    create database anupam
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '?/rdbms/admin/dtxnspc.bsq' near line 20
    ORA-00604: error occurred at recursive SQL level 1
    ORA-19502: write error on file "/home/oracle/anupam/users02.dbf", block number
    24704 (block size=8192)
    ORA-27072: File I/O error
    Linux Error: 25: Inappropriate ioctl for device
    Additional information: 4
    Additional information: 24704
    Additional information: 53248
    Process ID: 21047
    Session ID: 1 Serial number: 3

    is your directory /home/oracle/anupam/ 100% full can you paste df -kh output

  • CREATE DATABASE cannot create a control file

    I know, it's not supported. Please refrain from reminding me.
    I am trying to install a second database on an Oracle 8i installation (8.1.7.4) on a Windows 2003 server. I cannot use DBCA because it doesn't work, so I create the databases manually using the script produced by DBCA.
    So I run the following:
    connect INTERNAL@TEST
    startup nomount pfile="C:\oracle\admin\COHPTEST\pfile\initTEST.ora"
    CREATE DATABASE TEST
    LOGFILE 'D:\oracle\oradata\TEST\redo01.log' SIZE 1024K,
    'D:\oracle\oradata\TEST\redo02.log' SIZE 1024K,
    'D:\oracle\oradata\TEST\redo03.log' SIZE 1024K
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXLOGHISTORY 1
    DATAFILE 'D:\oracle\oradata\TEST\system01.dbf' SIZE 264M REUSE AUTOEXTEND ON NEXT 10240K
    MAXDATAFILES 254
    MAXINSTANCES 1
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET WE8ISO8859P1;
    I receive the following error:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: controlfile could not be created
    ORA-00202: controlfile: 'D:\oracle\oradata\TEST\ctrl01.ctl'
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    More information:
    1) Added the "Everyone" account to full control on the D: drive, to eliminate the possibility of access issues.
    2) The control files, the alertLog, and just about every other file do not exist before, or after the error.
    3) I cannot produce more detailed information other than what you see. I do not know of a trace that will track this, which would be helpful.
    4) I've tried from both SQLPLUS and SVRMGRL, as well as using INTERNAL, SYS accounts as well as adding sysdba privileges.
    I would love to upgrade this instance, but it has other databases on it, and only one box to run this DB on.
    SO, just to be sure, telling me to upgrade isn't what I am hoping to learn. I would appreciate some insight on how to display the account svrmgrl runs under, or how to get it to run under another user ID that would be great, or why it can't create the file, or a manual way to create the file (CREATE CONTROLFILE is for existing db's only right? )

    Hello, my name is stupid.
    I was using a remote file in my TNS_ADMIN environment value. It was pointing to the old database the whole time. The old database was up and down all day, but no one was on it to notice.
    Answer: Please check your TNS_ADMIN file, to make sure that you do not have any naming conflicts with the database you are creating, and another database with the same name in your collection of databases.
    What happened:
    The reason it could not create the files: There was another TEST database, which was what was connected to, and I tried to create the files on another server which did not have a D: Drive.
    When I switched to C: it stated the files were already in existence, which I knew wasn't true, and what led me to look at what I was connecting to.
    When I checked my TNSNames.Ora file, I noticed the 2nd entry for a database also named "TEST" that a previous DBA had left in there, I realized I was working on the wrong database because it connected to the first database in the TNSNames listed for that SID.
    I removed the entry from the TNSNames file, and the database was created successfully (Manually, DBCA still doesn't work).
    Thanks for all that tried to help, but introspection was the only solution.

Maybe you are looking for

  • Oil ownership by different company codes

    Dear experts, We have a scenario in our client. There are 3 company codes in the group. One explores, one transports and one sells oil. Now the oil always belongs to company which explores it. After exploration oil goes to the company code which tran

  • How to get the held documents

    Hi Experts, How can we get held documents without knowing temporary number? Please suggest.

  • Reg: gl account vs document type

    hi guru's,          how to find out wat r all the gl accounts available for a particular document type.which table contains all the gl accounts????? plz help me with this.                   thx in advance.... regards, balaji.s

  • ABAP MAPPING steps

    hi all, Iam just trying to do ABAP mapping,but iam confused with the steps. can anyone explain me ,what is the significance of those steps. Message was edited by:         venugopal tummala Message was edited by:         venugopal tummala

  • Billing Plan Flow

    Hello, Suppose we have a contract with a sales plan that comprises a milestone plan (3 invoices with different percentages 30%, 40% and 40%). Is it possible to split the billing plan in different sales orders wichi will end up in one of those invoice