Oracle 11g Manual DB creation

Hi My Friends,
This is my first post here.I installed Oracle 11g software only first and then tried to Connect oracle in command prompt as "sqlplus / as sysdba".
but then prompt ask for a Username and password.when i gave UN=system and PW=mtpw it says "ORA-12560: TNS:protocol adapter error"
listner already strted manually.No DB created yet.
Can some one pls help !
/Lahiru

user9274823 wrote:
can anyone pls help ?Patience, Grasshopper
You posted this follow-up a mere 24 minutes after your previous post.
This forum is not a chat line, and it is not paid support.
Everyone here has a job for which they are paid, and this forum is not it.
No one is responsible for monitoring it and giving a quick response.
Furthermore, it is a global forum. The person with the information you seek may very well live 20 time zones away from you and was going to bed just as you posted. He will not even see your post for several more hours.
Your original post went up in the middle of the night for half the world.
No one with the information you seek is deliberately withholding it until you sound sufficiently desperate.
====
As for your original question, you need to at least tell us what OS you are on. Sounds like you are on Windows and have not yet used oradim to create a db service.
If you are on windows, what version AND EDITION. Oracle is not supported on any "home" edition.

Similar Messages

  • Oracle 9i manual database creation on the Red Hat 9 Linux

    I installed Oracle 9I on the Red Hat 9 Linux successfully with automatic database creation.
    I tried to create second database manually and everything seemed to be fine until I issued create database statement. I got the following error:
    ERROR at line 1
    ORA-01092: ORACLE instance terminated. Disconnection forced.
    Please help me to solve the problem.
    Thank you,

    Ok I am having the same exact problem and I am typing this into the shell before I run the installer.
    export DISPLAY=yourdesktop:0.0
    I thought that would fix the problem but it still hangs and gives the same message as the other guy gets. How can I solve this problem and get the installer running? I would really appreciate any help. This is the message I get:
    [oracle@localhost linux]$ ./runInstaller
    Initializing Java Virtual Machine from /tmp/OraInstall2003-08-02_10-09-53PM/jre/bin/java. Please wait...
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
    at java.awt.Window.<init>(Window.java:188)
    at java.awt.Frame.<init>(Frame.java:315)
    at java.awt.Frame.<init>(Frame.java:262)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
    [oracle@localhost linux]$

  • How to Create Manual Standby for a Oracle 11g RAC with ASM to Single Instan

    Hi All,
    I have a task to configure a Single Instance Standby Database with ASM for 2-node Primary RAC+ASM database.
    Version using : 11.1.0.6 Oracle 11g --- *" STANDARD EDITION "* Please note datagaurd will not be supported in standard edition.
    Primary database - 2 -Node RAC using ASM storage (All datafiles, redologs, controfile and archive logs)
    Need to setup a single instance standby database manually and than using scripts to transfer the archive logs from primary server to standby server to do recovery time to time.
    Please let me know if there are any configuration document(s) which can help me to set the manual standby? or need your kind help to give your valuable ideas how to go in above situation.
    Thanks in advance

    Niall Litchfield wrote:
    El DBA wrote:
    Well if the archive logs are stored in ASM on the primary nodes, you almost definitely want to be using RMAN to access them. Then to transfer between primary and standby there are many options, this is essentially the step that Data Guard takes care of - so if you (and I) are running Standard Edition, this is the part to "worry" about.
    I'm not really sure what you mean by this:
    As in standard edition the archive destination will be on ASMI don't think the Edition of Oracle (Standard or Enterprise) dictates where and how you store your archive logs, but it's possible I've misunderstood what you mean...SE dictates that database storage for RAC will be ASM, including archive log files. Anything else is not officially supported. I haven't tested but it may be that you can use LOG_ARCHIVE_DUPLEX_DEST to specify a local filesystem for archive log files as well.
    If that doesn't work you'll have to script rman "backup as copy" jobs regularly and then transport the results of that.
    Niall Litchfield
    http://www.orawin.info/
    By the way, it seems Robert has been pretty helpful, it's polite to give him some points dude. And since this is your thread, not mine, give him a "helpful" from me too :p
    El DBA
    Incidentally if you are forced down the RMAN backup as copy route then this will likely throw your current backup retention strategy somewhat, you'll need to think carefully about when an archivelog can be deleted following backup, how many times it might be backed up and so on. I do understand, and have argued for, the use of SE RAC. I also understand and have argued for and implemented manually managed standby a number of times. However by the time your primary database is a RAC instance and you need a standby for DR etc then you really have to look very seriously at whether Standard Edition is still the right investment or not. You will be spending a lot of DBA time managing and troubleshooting this, and you will find that it is less reliable than the off the shelf solution. I suspect that you are very close to the point where an EE installation becomes a worthwhile investment here.
    Niall Litchfield
    http://www.orawin.info/

  • How to take a backup manually in oracle 11g express edition?

    how to take a backup manually in oracle 11g express edition? i want to take backup of a database and want to restore later on on a different computer .

    Stop database, and copy all files to another machine.That sounds to me to be the closest answer to the question posted. And perhaps the easiest solution.
    Install XE on the "another machine", shut it down. Shutdown the source database. Copy the datafiles to the new host. Startup your "new" database, it will be an exact clone of the original.
    To find out what files need to be copied, as system (or sysdba) run:
    select name from v$datafile;
    ... file1, file2 ...
    show parameter control
    ... control_files ... file1 ...
    alter database backup controlfile to trace [reset logs];
    show parameter diag;
    ... diagnostic_dest ... <drive:>|/diag_pathTo do a proper database clone its better to recreate the controlfile and reset the archive sequence number- leave out the controlfile copy part. In the diag_path location find the trace file under diag/rdbms/$ORACLE_SID/<db_name>/trace it should be the latest ora*.trc file.
    The trace file has the commands to recreate the controlfile, which includes the datafiles and putting the tempfile back in place. If the datafiles are in a different location, i.e. in Windows going to a different drive, or you want do put datafiles in a different folder location, the create controlfile statement is the easiest time to get the file directories right.
    If you add the "reset logs" qualifier (don't use the brackets!) you'll get just the reset logs version of the create controlfile statement, otherwise you'll get both NORESETLOGS and RESETLOGS versions of a create controlfile statement, run one or the other. Not both. Not the entire trace file, just the create controlfile, alter database open [reset logs], alter tablespace temp add tempfile ... bits. No recovery is needed for a database that is shutdown when datafiles get copied to a new location/host.

  • Creating Oracle 11g Database Manually on ASM on 11g R2 Grid

    Hi:
    Earlier added this issue alongwith Grid installation. Only Jorg replied to me but could not find a complete solution. So thought of starting a new thread.
    Wanted to know if any one of you have successfully created Oracle Database Manually on ASM on Oracle 11g R2 Grid.
    I have installed Oracle 11g R2 grid (grid user) and Oracle 11g R2 DB software succesfully (oracle user).
    Now trying to create a database manually on ASM as Oracle user.
    First I create an pfile in $ORACLE_HOME/dbs
    then I started by db on nomount stage. when I create a spfile on to my ASM diskgroup I get
    I have created 2 diskgroups '+DGASMSPFILE' (ASM Spfile) and '+DGDBDATA' (for database)
    Grid is up and running.
    From Oracle user:
    Have created a sample initDBRAC.ora
    Now I want to create Oracle Database Global Spfile into '+DGASMSPFILE'
    export ORACLE_SID=DBRAC
    $ sqlplus / as sysdba
    SQL> create spfile='+DGASMSPFILE/spfileDBRAC.ora' from pfile;
    ORA-17502:ksfdcre:4 failed to create file +DGASMSPFILE/spfileDBRAC.ora
    ORA-12547: TNS lost contact
    "Oracle user" should have privileges to access ASM diskgroup right? What is the permission set for /dev/sdc* (earlier it was root:oinstall I changed it to grid:oinstall even then no difference.
    Trace output:
    ASM_DISKSTRING= /dev/sdc*
    ***********************************************************************1st trace file
    Fatal NI connect error 12547, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser)(CONNECT_DATA=(CID=(PROGRAM=oracle@skyit6)(HOST=skyit6)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 01-JUN-2011 01:27:07
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 01-JUN-2011 01:27:07
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 517
    TNS-00517: Lost contact
    nt secondary err code: 32
    nt OS err code: 0
    ERROR: Failed to connect with connect string: (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser))
    Wed Jun 01 01:27:07 2011
    ERROR: slave communication error with ASM; terminating process 16772
    Errors in file /oraeng/app/oracle/product/diag/rdbms/dbrac/DBRAC/trace/DBRAC_ora_16772.trc:
    Regards
    Dinesh

    Hi Sebastian:
    When I installed grid software, oracle db software and created oracle db manually things worked fine.
    When I restart the RAC environment I found the following issues:
    1) all the resources does not come up automatically, once i issue crs_start -all all the services comes up. (most of the resources related to node1 comes up but cluster resources related to node2 does not come up) crsctl check crs shows that things are online.
    2) wanted to recreate a database manually after restarting the RAC enviroment. To start of as usual tried to create a spfile in ASM disk "Create spfile='+DGDBSPFILE' from pfile'
    I get ORA-17502:ksfdcre:4 failed to create file +DGDBSPFILE'
    12547: TNS: lost contact
    looks like permission problem.
    The same command worked before restarting the RAC environment. Pls let me know if I am missing out anything.
    Is it because i am unable to access ASM instance.
    3) As you had mentioned tried to set the sbit by executing the following statement:
    $ /opt/grid/bin/setasmgidwrap o=/opt/oracle/product/11.2.0/db/bin/oracle
    should this be put into "rc" folder in linux so that it gets set everytime linux starts up. because once i restart the permission get changed.
    I should execute it from grid user to change the permission of 'oracle' binary in 'oracle user' right?
    Can you explain me why is this required (sbit).
    Thanks.
    Regards
    Dinesh

  • /dev/shm on Oracle Linux 6.x to run Oracle 11g R2 - manual configuration?

    Hello
    We are building a server to run Oracle 11g R2 database (11.2.0.3 x64) on Oracle Linux 6.2 with UEK R2.
    Our preference is to use AMM to have Oracle 11g R2 manage memory. We may impose some minium SGA and PGA memory allocations but basically aim to use MEMORY_TARGET to manage overall memory.
    By default Linux makes the size of /dev/shm ~50% of server physical RAM, as far as I can tell.
    Here is the /etc/fstab entry created by the installation:
    tmpfs /dev/shm tmpfs defaults 0 0
    Given this Linux server will only run Oracle 11g R2 database and some monitoring software, almost application code will run on the server. The application code will run on the separate application server and is Java based.
    Can I change the */etc/fstab* entry for /dev/shm to manually increase the size to take up ~80-90% of the server physical RAM ? Is it a good idea?
    The server is 64-bit, the RAM = 64 GB, so I am thinking to manually make /dev/shm to be = ~55GB, leaving ~8GB for other purposes.
    Right now it's about 32GB (50%?) if I leave the /dev/shm 'defaults' on.
    many thanks

    thanks,
    I have read the doc (what little there is on this topic).
    I have asked on the database forum......
    just FYI - below is the proof:
    SQL> show parameter mem
    NAME                    TYPE     VALUE
    hi_shared_memory_address     integer     0
    memory_max_target          big integer 4G
    memory_target          big integer 0
    shared_memory_address     integer     0
    SQL> show parameter ga
    NAME                    TYPE     VALUE
    lock_sga               boolean     FALSE
    pga_aggregate_target          big integer 1600M
    pre_page_sga          boolean     FALSE
    sga_max_size          big integer 3G
    sga_target               big integer 1600M
    still does not work.
    And I cant change memory_max_target = 0 because I get error on startup:
    SQL> alter system set memory_max_target=0 scope=spfile;
    System altered.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup;
    ORA-01078: failure in processing system parameters
    ORA-00843: Parameter not taking MEMORY_MAX_TARGET into account
    ORA-00849: SGA_TARGET 3221225472 cannot be set to more than MEMORY_MAX_TARGET 0.
    BUT if memory_max_target is > 0 then alert log says hugepages can not be used
    it feels like catch-22.....
    thanks
    Edited by: yurib on Jun 1, 2012 4:53 PM

  • Creation of two databases in oracle 11g on linux

    HI,
    I need to create two databases in oracle 11g on linux.
    how to set SID'S in .bash_profile and change the init.ora file.
    pls anyone let me know
    thanks
    srinivas

    If you have different databases on same node you could choose to not set ORACLE_SID in shell init file but use instead interactive oraenv Oracle script to set the right ORACLE_SID.
    Please read Configuring the Operating System Environment Variables in http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/em_manage.htm#ADMQS12369
    To create easily a database (ie without using your own scripts) try to use DBCA that will automatically take care of database initialization file: http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/install.htm#BABEIAID
    Edited by: P. Forstmann on 5 août 2011 12:01

  • TIN Creation algorithms in Oracle 11g

    In the Oracle 11g Developers Guide http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/sdo_intro.htm#sthref99 it mentions that "Oracle TIN generation software uses the Delaunay triangulation algorithm, but it is not required that TIN data be formed using only Delaunay triangulation techniques." I was wondering how would one go about implementing other TIN Algorithms such as Bowyer-Watson for the updating of existing TIN data in the SDO_TIN feature type.
    The fact that other Algorithms can be selected is also mentioned in the Oracle 11g Spatial book but no guideance on how. Has anyone implemented this either for 2.5D TIN or for full 3D TINs
    Regards
    Sean

    If you have different databases on same node you could choose to not set ORACLE_SID in shell init file but use instead interactive oraenv Oracle script to set the right ORACLE_SID.
    Please read Configuring the Operating System Environment Variables in http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/em_manage.htm#ADMQS12369
    To create easily a database (ie without using your own scripts) try to use DBCA that will automatically take care of database initialization file: http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/install.htm#BABEIAID
    Edited by: P. Forstmann on 5 août 2011 12:01

  • Oracle 11g R2 on HP and Solaris

    Hello All,
    In the Last Week i was installing Oracle 11R2 on two HP servers and one Solaris server. i faced common issues on the three servers and i posted threads about some of these issues.
    But i want to summarize it so i know the solution of each one in order not to face it again.
    Below is the info
    I have 3 servers, two of them are HP where Oracle 10g is installed and one Solaris server where i am doing the Oracle installation for the first time.
    On the 3 servers and when i was installing Oracle 11g R2 the installation failed at the end when it was trying to create the db with this error: the file Seed_Database.dfb containing the datafiles information is missing.
    knowing that i download it Oracle 11g R2 from the Oracle website for the three server. Why this file is always missed ? and even now and after i created a custom database manually (Not during the installation) i can't create a "general purpose db" through dbca because it needs this template file.
    while creating the database on the 3 servers and on step 4 of 12 of the tab related to OEM is disabled. and the emctl is not automatically configured after the creation of the db. why this tab is always disabled on step 4 of 12?
    Regards.

    schavali wrote:
    On the download pages (such as http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-sparc64soft-088481.html) you will see cksums listed - you need to verify cksums to ensure that your download is not corrupted.
    http://en.wikipedia.org/wiki/Cksum
    HTH
    SriniI would think if the download were corrupted, as evidenced by a mis-match in the checksum, he probably never could have unzipped it, much less actually ran an install that simply didn't create some of the stuff he wanted.
    ;-)

  • Oracle 11g Installation How to select Database Character Set

    Hi,
    I am Installing oracle 11g R2. After installation I had verified the character set it was AL16UTF16 but I wants to set AL32UTF8 charater set at the time of oracle installation only. I can't see the character set setting opetion at the time of installation because I am selecting the installation option " Install database softerware only" and after installation of oracle software manually I am creating the database. Please help me how can I set the character set at the time of oracle installation or at the time of database creation.
    My question is-
    How can I set the AL32UTF8 character set in above scenario?
    Why It is showing AL16UTF16 character set even I did not define any thing?

    But is there any choice to set the NLS_CHARACTERSET at the time of manually database creation. Actually For creating the database i am using one shell script for seting the parameter values in init.ora file so can I set the parameter at that level(at the time of creating init.ora using manually database creation). like
    ## Original init.ora file created by manual database creation tool on ${DATE}.
    *.aq_tm_processes=0
    *.background_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/bdump'
    *.compatible='10.2.0'
    *.control_files='/$db_file_loc/oradata/$ORACLE_SID/control01.ctl','/$db_file_loc/oradata/$ORACLE_SID/control02.ctl','/$db_file_loc/oradata/$ORACLE_SID/control03.ctl'
    *.core_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/cdump'
    *.db_block_size=8192
    *.db_cache_size=104857600
    *.db_domain='$server_name'
    *.db_file_multiblock_read_count=8
    *.db_name='$ORACLE_SID'
    *.fast_start_mttr_target=300
    *.instance_name='$ORACLE_SID'
    *.java_pool_size=16777216
    *.job_queue_processes=4
    *.large_pool_size=16777216
    *.log_archive_dest='/u05/oradata/$ORACLE_SID'
    *.log_archive_format='$ORACLE_SID_%s_%t_%r.arc'
    *.olap_page_pool_size=4194304
    *.open_cursors=500
    *.optimizer_index_cost_adj=50
    *.pga_aggregate_target=536870912
    *.processes=1500
    *.query_rewrite_enabled='TRUE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.shared_pool_size=83886080
    *.sort_area_size=1048576
    *.sga_max_size=1048576000
    *.sga_target=536870912
    *.star_transformation_enabled='TRUE'
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/udump'
    *.utl_file_dir='/export/home/oracle/utlfiles'
    **.nls_characterset='AL32UTF8'*
    EOF
    Is it correct?

  • Can't connect to MySQL from Oracle 11g R1

    Hello Oracle's guru.
    Sorry for my English it's not my native langauge
    Enviroments: Oracle 11g R1, Windows 7, ODBC Driver 5.1.8
    I have a some problem with creation gateway to connection to MySQL, and I hope somebody can help me.
    So,
    1) ODBC name - MYSQLDSN
    2) initMYSQLDSN.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = MYSQLDSN
    HS_FDS_TRACE_LEVEL = 0
    3) listener.ora
    # listener.ora Network Configuration File: E:\app\voxa\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=MYSQLDSN)
    (ORACLE_HOME=E:\app\voxa\product\11.1.0\db_1)
    (PROGRAM=dg4odbc)
    4) tnsnames.ora
    # tnsnames.ora Network Configuration File: E:\app\voxa\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    CXWH =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CXWH)
    MYSQLDSN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (CONNECT_DATA =(SID = MYSQLDSN))
    (HS = OK)
    Then I trying to connect to MySQL using sql*plus:
    C:\Windows\system32>sqlplus
    SQL*Plus: Release 11.1.0.6.0 - Production on Ср Июн 1 12:13:39 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    login: system
    pass:
    Connect to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> create public database link MYSQLDSN
    2 connect to DEMO identified by "DEMO" using 'MYSQLDSN';
    Channel was created
    SQL> select * from items@MYSQLDSN;
    select * from items@MYSQLDSN
    Error in line 1:
    ORA-28500: connection with ORACLE with other system return message:
    [MySQL][ODBC 5.1 Driver][mysqld-5.5.12]You have an error in your SQL syntax;
    check the manual that corresponds to your MySQL server version for the right
    syntax to use near
    '"ITEMS_KEY",A1."ITEM_NAME",A1."ITEM_CATEGORY",A1."ITEM_VENDOR",A1."ITEM_SKU",A1
    .' at line 1
    ORA-02063: предшествующий 2 lines из MYSQLDSN
    If I trying create new ODBC mobule via OWB, I had next error:
    [MySQL][ODBC 5.1 Driver][mysqld-5.5.12]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"DUAL"' at line 1
    ORA-02063: предшествующий 2 lines из OWB_56
    What I do wrong? Please help me

    Hi,
    You can download the 11.1.0.7 patchset from My Oracle Support -
    support.oracle.com
    as patch 6890831.
    Once logged in click on 'Patches and Updates' and enter the patch number as 6890831 and choose whichever platform you are running.
    the readme explains how to apply the patch to an existing 11.1.0.6 install.
    The url you posted is only for complete product installs, but 11.1.0.7 is only a patchset that must be applied to an existing install.
    Regards,
    Mike

  • Migration Microsoft SQL Sever 2005 to Oracle 11g cascade on delete problem

    Hi, I'm trying to migrate a sql server 2005 database to oracle 11g version with the lastest version of Oracle SQL Developer. All works fine but there is a little thing that I can't migrate. I have a few tables in the sql server database that has cascade on delete but I can't migrate this through Oracle Sql Developer.
    I know that Oracle database server supports it, then I can manually change the resulting database creation sql script but I'd like to know how I can do it with Oracle Sql Developer.
    Thanks in advance :)

    Hello,
    sorry for the delay.
    Even after some more research I couldn't find this problem described anywhere. I can confirm your observations, the problem is easy to reproduce. Thus I reported it to SQL Developer development as this looks like a bug.
    One workaround is to edit the generated DDL script and to add the ON DELETE CASCADE clause to the ALTER TABLE statement. If you don't like that: apply the scripts as they are and finish the migration. Then, in SQL Developer, right-click the table in your Oracle RDBMS schema, and click on Edit. In the pop-up window, select "Foreign Key". Then, in the lower right corner, there appears a small scroll-down menu where you can change the delete option from RESTRICT to CASCADE.
    Best regards
    Wolfgang

  • Installing Oracle 11g R2 on RHEL 5.9 server

    Hi,
        I've been trying to install Oracle 11g R2 on a Red Hat Enterprise Linux 5.9 server but have not succeeded thus far. The server meets all the software and hardware requirements for Oracle 11g Release 2 and when it also has all the prerequisite packages/ RPM's on it, when checked manually. I have set up the various kernel, semaphore and local port range parameters in accordance with the Oracle guides for installing Oracle on RHEL 5. I also followed the online guides to create the "oracle" user and set up the groups (oinstall, dba, oper and asm).
        However, when I run the installer, it shows "Failed" for all the prerequisite checks. I tried to ignore this and install Oracle but it failed at 37% and gave multiple errors, related to invoking target 'XYZ' of different files including makefile and gcc.
         I suspect that either the installer is unable to detect these packages as they already exist on our server or it is something to do around permissions to the groups. I read on these forums that it might be because of a "cvu" folder created inside /tmp that requires '777' permission but am not sure if that's what's causing our installation to fail.
         Please let me know how to proceed with the installation and guide me through this.
    Thanks.

    Hi, its Oracle 11g R2 -  2.0.3.6 .
    The O.S is Linux x86_64
    server: RHEL 5.9 (Takinga) with kernel: 2.6.18
    I've been working on this all day today and have managed to overcome the errors regarding the missing/ failed packages. I've also verified that my kernel parameters are correct; I had missed the kernel shmmni parameter yesterday.
    The installer now detects all the packages & runs till 86% when it gives the error: "error invoking target client_sharedlib of makefile".
    Kindly let me know how to proceed. Thanks in advance !

  • What should i do with an Oracle 11g Database, MySQL database and a dump file.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
    I have another Sever test that already set up MySQL database, and a dump file from the system.
    So I want to ask these 2 questions :
    1. How to create an new Oracle Database from that dump file ?
    2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
    Thanks alot.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
    As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision

  • Oracle 11g RAC on CentOS 5.2 - Node isnt working after hardware failure

    Hi,
    We have a 2-node Oracle RAC 11g running on identical nodes with Centos 5.2 as operating system.
    Due to a drive failure and a reboot yesterday, the ASM disk, which is onnected via iSCSI, changed from sdd to sdc in name - (the faulty raid drive was removed, thus the change).
    The oracle services didnt start, which appeard perfectly logical at the time, given that the ASM disk suddenly wasnt where it was supposed to be, but even today after a replacement disk was inserted, the RAID rebuilt + with the ASM disk back to its original naming in /dev/; the node doesnt seem to work properly. Some of the oracle services are running, but there seems to be a problem with the listener, which might also explain why the node does not set it's virtual ip after starting up.
    Luckily, the other one is unaffected and is working perfectly fine..
    I'm far from having a clue about oracle, it was sheer luck (that, and the very usable documentation by oracle) that i managed to get that cluster running in the first place... I know my way around linux, so if it's a operating system related problem i'll be able to fix it, but i cant figure out what the problem with oracle is.
    The listener doesnt seem to be running
    [oracle@serv-211 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 08-JUN-2010 11:12:00
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    Manual starting works, but not with the result i hoped for
    [root@serv-211 oracle]# lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 08-JUN-2010 11:32:16
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 08-JUN-2010 11:30:42
    Uptime 0 days 0 hr. 1 min. 34 sec
    Trace Level support
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File /opt/oracle/11g/diag/tnslsnr/serv-211/listener/alert/log.xml
    Listener Trace File /opt/oracle/11g/diag/tnslsnr/serv-211/listener/trace/ora_22694_140227439994592.trc
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=serv-211)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    [root@serv-211 oracle]#
    While other services appear to be fine
    [oracle@serv-211 ~]$ crsctl check crs
    Cluster Synchronization Services appears healthy
    Cluster Ready Services appears healthy
    Event Manager appears healthy
    I feel a little lost in the vast amount of logfiles, a point in the right direction might actually be enough. I cant image it can be that serious.
    Please assist
    Regards
    Edited by: user9134821 on 08.06.2010 02:39

    Hi,
    As usual, as soon as i post a problem in some board, i find the solution myself.
    Although this way isnt really "linuxy", deleting the listener with the netCA tool and adding a new one solved it.
    Regards.

Maybe you are looking for

  • How do I change the cover photo of an album in the Photos App?

    Hi, in iPhoto you can change the cover art of an album or journal (but apparently not of a shared photo stream?!). But how do I change the cover photo of a shared photo stream I created in the iOS 6 Photos app? It seems to be the first photo in that

  • External optical drive - recommendation

    Hello Could someone recommend an external optical drive for my Intel iMac? My internal drive is failing.... Thanks in advance! Julie

  • Mysterious yellow behind text--not an underline

    Hi, I'm cleaning up a file from another designer (converted from Quark) and I've run into something odd with a Zapf Dingbats character. No matter what I do, a yellow background appears behind all Zapf Dingbats characters in this document. It looks li

  • AUTHORISE A OLD APPLE ID

    i cant acces my old email to change my apple id , ive donre it via my new id but when i put in the password it wont let me log on saying i have wrong password

  • New Z table updation

    Hi Gurus We have created new Z table. Also a new Tcode for the report genetaion for COPA. Let me know how do we update the table with daily data.  Is there any standard job SAP has provided. Replies are highly appreciated. Regards SAP only.