Database creation using ant/maven/liqubase

Dear ALL:
I am creating the database instance using the ant/maven scripts and following are the things I tried but some how it is not creating the database.
I have installed the 64bit oracle 11gR2 on windows 7 and configured the default database (ORCL). after installation I opened up the command prompt and tried sqlplus and it get connected and I can see the tables. However when I tries to do it using the build script it fails. Following are few things I tried out.
I plan to created 'orcl as the database with sid=orclusing the ant command 'ant -Denv=dev clean create-db -d' but it failed saying orcl is already running and you need to shut down it and I think it is expected because I am creating the database named orcl which is already created. Then I changed database name to dms and sid=dms then it throws error that you cant connect to the server with following error.
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 12 16:17:11 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
SP2-0640: Not connected
ORA-12560: TNS:protocol adapter error
more information about listener: the output of - lsnrctl stat
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-JAN-2011 16:18:04
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 12-JAN-2011 16:16:51
Uptime 0 days 0 hr. 1 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\santosh\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File c:\oracle\santosh\diag\tnslsnr\unknown\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 2 handler(s) for this service...
Service "qc_dms" has 1 instance(s).
Instance "qcdms", status READY, has 1 handler(s) for this service...
Service "qcdmsXDB" has 1 instance(s).
Instance "qcdms", status READY, has 1 handler(s) for this service...
The command completed successfully
Can someone help me out ? how ever the same thing is working fine on the oracle virtual box running on ubuntu 10.04.
thank,
Santosh

I didnt used ORADIM in the script. here is the script that I am using .
<target name="create-db-oracle"     >
          <echo>creating database ([${database.name}])</echo>
          <exec dir="${target.script.dir}" executable="sqlplus" output="${target.log.dir}/create-db.log" failonerror="true">
               <arg line="/nolog @create-db_${database.flavor}.sql" />
          </exec>
</target>
with following connection properties
<properties>
          <db.version>1.0</db.version>
          <liquibase.remote.db.prompt>true</liquibase.remote.db.prompt>
          <db.migrate>all</db.migrate>
          <database.driver>oracle.jdbc.driver.OracleDriver</database.driver>
          <database.url>jdbc:oracle:thin:@${database.host}:${database.port}/${database.name}</database.url>
          <database.user>santosh</database.user>
          <database.schema.user>project</database.schema.user>
          <database.admin.user>system</database.admin.user>
          <database.flavor>oracle-11g</database.flavor>
          <database.name>dcm</database.name>
     </properties>
<properties>
     <database.host>localhost</database.host>
<database.port>1521</database.port>
     <database.password>A_Pass123</database.password>
     <database.schema.password>projectpassword</database.schema.password>
     <database.admin.password>oracle#</database.admin.password>
</properties>
Edited by: user548284 on Jan 12, 2011 5:56 PM

Similar Messages

  • Jdbc creation using ANT

    Hi All,
    If any one knows the ANT Script to create datasource along with jndi name plz let me know...Plz ASAP
    Thanks in Advance,
    :)

    I didnt used ORADIM in the script. here is the script that I am using .
    <target name="create-db-oracle"     >
              <echo>creating database ([${database.name}])</echo>
              <exec dir="${target.script.dir}" executable="sqlplus" output="${target.log.dir}/create-db.log" failonerror="true">
                   <arg line="/nolog @create-db_${database.flavor}.sql" />
              </exec>
    </target>
    with following connection properties
    <properties>
              <db.version>1.0</db.version>
              <liquibase.remote.db.prompt>true</liquibase.remote.db.prompt>
              <db.migrate>all</db.migrate>
              <database.driver>oracle.jdbc.driver.OracleDriver</database.driver>
              <database.url>jdbc:oracle:thin:@${database.host}:${database.port}/${database.name}</database.url>
              <database.user>santosh</database.user>
              <database.schema.user>project</database.schema.user>
              <database.admin.user>system</database.admin.user>
              <database.flavor>oracle-11g</database.flavor>
              <database.name>dcm</database.name>
         </properties>
    <properties>
         <database.host>localhost</database.host>
    <database.port>1521</database.port>
         <database.password>A_Pass123</database.password>
         <database.schema.password>projectpassword</database.schema.password>
         <database.admin.password>oracle#</database.admin.password>
    </properties>
    Edited by: user548284 on Jan 12, 2011 5:56 PM

  • Database creation using backups files

    Hi,
    I would like to create a test database from backup of my production database.
    I am new to this task.
    Please correct me if I am wrong.
    in production server
    1.Login as sysdba in the and issue
    "alter database backup controlfile to trace" command
    in test server
    2.Create a user oratest
    2.Copy all the data files from production server
    3.Copy the Oracle home
    4.Edit the trace file
    i.CREATE CONTROLFILE SET DATABASE "prod" RESETLOGS
    in place of
    CREATE CONTROLFILE REUSE DATABASE "test" NORESETLOGS
    ii.Remove the recover database and alter database open lines.
    iii.Edit the data files with new path in test server.
    iv.save as db_create.sql
    5.create the new database by executing
    i.sqlplus '/as sysdba'
    ii.startup nomount
    iii.@db_create.sql
    iv.alter database open.
    What changes I have to do after copying initprod.ora to inittest.ora?
    Thanks,

    Your question is lacking the 4-digit version of the database, and the O/S.
    For Oracle 10g and higher, using database control, it would be much more easy to duplicate the database to another server, using rman.
    The procedure you describe is incomplete and incorrect and will fail for several reasons.
    2.Create a user oratest -- why?
    2.Copy all the data files from production server -- obviously the production database needs to be shutdown for this, or all files will be inconsistent
    3.Copy the Oracle home -- if you created a new user oratest, and the user on the production server is oracle, this is not going to work, as the user and group info is linked into the Oracle executable. Also the O/S and version must be identical.
    If you created a new user, you need to reinstall Oracle, if your O/S version is not identical you need to relink Oracle.
    4 i is incorrect
    Obviously, in inittest.ora all occurrences of prod need to replaced by test.
    But then again: use RMAN and the only command you need is duplicate database, and the production database can stay online.
    Sybrand Bakker
    Senior Oracle DBA

  • Database creation using DBCA silent installation

    Hi,
    I have installed oracel 11g release 2.
    but when i create database using dbca slient installation . I am getting below error.
    Copying database files
    DBCA_PROGRESS : 1%
    DBCA_PROGRESS : 2%
    ORA-12547: TNS:lost contact
    ORA-12547: TNS:lost contact
    DBCA_PROGRESS : 4%
    DBCA_PROGRESS : 37%
    Creating and starting Oracle instance
    ORA-12547: TNS:lost contact
    DBCA_PROGRESS : 38%
    ORA-12547: TNS:lost contact
    DBCA_PROGRESS : 40%
    ORA-12547: TNS:lost contact
    DBCA_PROGRESS : 45%
    DBCA_PROGRESS : 50%
    DBCA_PROGRESS : 51%
    ORA-12547: TNS:lost contact
    DBCA_PROGRESS : 56%
    ORA-12547: TNS:lost contact
    ORA-12547: TNS:lost contact
    ORA-12547: TNS:lost contact
    DBCA_PROGRESS : 57%
    ORA-12547: TNS:lost contact
    Please suggest reason of it.
    Thanks in advance

    cpp = 4.1.2-51.el5 is needed by gcc-4.1.2-51.el5.i386
    glibc-devel >= 2.2.90-12 is needed by gcc-4.1.2-51.el5.i386
    libgcc >= 4.1.2-51.el5 is needed by gcc-4.1.2-51.el5.i386
    libgomp >= 4.1.2-51.el5 is needed by gcc-4.1.2-51.el5.i3
    I am getting above error ... how to find dependent rpm file..As it is already mention in error . So first install cpp rpm then glibc-dlevel rpm and so on as mention above in your message.
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Database creation using DBCA

    Hi,
    when i am creating database using DBCA then i get error
    I am using Linux NL2 2.6.18-84.el5xen #1 SMP Fri Feb 29 16:42:34 EST 2008 x86_64 x86_64 x86_64 GNU/Linux.
    [oracle@NL2 ~]$ dbca
    DISPLAY not set.
    Set DISPLAY environment variable, then re-run.
    when
    [oracle@NL2 ~]$ echo $DISPLAY then it has given blank ..
    i do not know how to set DISPLAY variable?
    your early response is appericiated.
    thanks in advance
    Edited by: user647572 on Sep 9, 2010 5:58 AM
    Edited by: user647572 on Sep 9, 2010 6:02 AM

    Hi -
    I cannot get dbca to display on my xp machine.
    I installed xming and have xclock running.
    Started putty and enabled X11, and this is the result:
    echo $DISPLAY
    localhost:11.0
    When I start running dbca, I basically get no response.
    It is running on the linux server, but I get no display (X window)
    to work from. My colleague has experienced the exact same
    issue.
    Thanks for your attention,
    Mark

  • Database Creation using OCI

    Is there a way to create a database using OCI?
    Using the Database Configuration Assistant is one way. But I want to create a database while installing my application(using Install Shield). I have seen some installations do that, could somebody throw some light on the topic.
    TIA!
    regards,
    -Satish

    Go to <http://tahiti.oracle.com>, the Oracle documentation repository, and do a search on "create database". There are a number of pages of the Administrator's Guide devoted to the commands you'd need to issue to create a new database.
    Justin

  • Database creation: use machine name instead of ip address.

    I am creating a new database using the Database Configuration Assistant. After the install, it tells me that the EM can be approached through http://192.168.198.128:1158/em. However, since the ip-address is dynamic, i'd prefer to refer to the machine name instead of the ip address. During the setup I could not see where to change this.
    Regards,
    Rick

    user10064100 wrote:
    Thanks for your replies, I will try that. Version info: 10.2.0, on a Windows Server 2k3. The server runs in a virtual machine, which is pretty much the root of the problem: it tends to change ip addresses when restarting it. I will now install the loopback adapter and see what happens.
    Edited by: user10064100 on 8-dec-2008 7:48Ah, a server on a virtual machine. Why didn't you say that in your initial posting? I would think that would be much different situation than the usual 'changing ip' configuration of placing a sandbox database on a DHCP desktop or laptop machine...
    I don't have any experience with VM's, so I'll leave that to those that do. At the least, I'd expect the loopback adapter to not necessarily be your solution. That's for the assumptions that I clearly stated in my first response. If those assumptions don't match your situation (and it is now clear that they don't) then you need consider that before taking any advice based on those assumptions.

  • Physical database creation using Grid Control fail

    I have tried several times to create a physical standby using Grid Control. Everytime, the job failed at the step "DBClone -> Destination Preparation". The log file indicated the following error message:
    PLS-00553: character set name is not recognized.
    When I check the spfile, I find that an extra word "PuTTY" was inserted into the spfile as shown in the following spfile, therefore, the instance cannot be started. In addition, everytime when issuing the command "cat spfilermslag.ora", the word "PuTTY" will automatically appear in the command line after the "cat spfilermslag.ora" command.
    $ cat spfilermslag.ora
    gé ú&PuTTYrmslag.__db_cache_size=150994944
    rmslag.__large_pool_size=4194304
    rmslag.__shared_pool_size=71303168
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/u01/app/oracle/admin/rmslag/udump'
    [oracle@wppnode2 dbs]$ PuTTY
    What is going on here? How can I fix the problem?
    Thanks!

    You might just have to do it the old fashioned way. At least it will be a good learning experience.

  • Cannot populate Example Database using ant create-tables

    I encounter the problem like this [t-5362238]. But I've tried to do any thing, but I still cannot populate database. Somebody has another way to populate the database (not use ant) ?
    And more. I can't use ant to deploy the *.WAR file. The terminal shows the message like the message when I perform ant create-tables

    I encounter the problem like this [t-5362238]. But I've tried to do any thing, but I still cannot populate database. Somebody has another way to populate the database (not use ant) ?
    And more. I can't use ant to deploy the *.WAR file. The terminal shows the message like the message when I perform ant create-tables

  • DataSource is getting created without desired JNDI Name using ANT task

    Hi,
    While referring to http://weblogic-wonders.com/weblogic/2010/07/24/datasource-creation-using-ant-task-wlconfig/ when we try to create a DataSource using ANT Task <taskdef name=”wlconfig” classname=”weblogic.ant.taskdefs.management.WLConfig”/>
    We are unable to provide the Desired JNDI Name for our DataSource. It takes the DataSource Name itself as the JNDI Name of the DataSource. If we specify anyother JNDI Name then it doesnt reflect in the AdminConsole. But still the DataSource testing succeeds from the AmdinConsole.
    Is there anything Missing in the Ant Script?
    Thanks
    Jay SenSharma

    I think the attribute name should be JNDINames instead of JNDIName, this is also the name I always use in WLST (and is probably also used by wlconfig), for example,
    videotheekDataSource = cmo.createJDBCSystemResource('VideotheekDataSource');
    jdbcResource = videotheekDataSource.getJDBCResource();
    names = ['jdbc/exampleDS'];
    dataSourceParams = jdbcResource.getJDBCDataSourceParams();
    dataSourceParams.setJNDINames(names);
    Good luck and keep up the good work.

  • Problem in database fields creation using default class of B1DE Wizard

    Hi Experts
    In an AddOn I am creating database fields in default class "Project_DB'. It does not give any message weather it creates fields or not. My code for database creation is given below
    Namespace FormARE
        Public Class FormARE_Db
            Inherits B1Db
            Public Sub New()
                MyBase.New
                B1Connections.theAppl.StatusBar.SetText("Please wait. AddOn is updating database", BoMessageTime.bmt_Long, BoStatusBarMessageType.smt_None)
                Columns = New B1DbColumn() {New B1DbColumn("OCRD", "BondNo", "Bond No.", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None, 20, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OCRD", "BFrDate", "Bond From Date", BoFieldTypes.db_Date, BoFldSubTypes.st_None, 10, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OCRD", "BTDate", "Bond To Date", BoFieldTypes.db_Date, BoFldSubTypes.st_None, 10, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OINV", "Cntner_no", "Container No.", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None, 20, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OINV", "Cntnr_Seal", "Container Seal No.", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None, 20, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OINV", "Cust_Seal", "Custom Seal No.", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None, 20, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OINV", "ctryOrgn", "Country of Origin", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None, 20, New B1WizardBase.B1DbValidValue(-1) {}, -1)}
                GC.Collect()
                B1Connections.theAppl.StatusBar.SetText("Successfully updated database", BoMessageTime.bmt_Short, BoStatusBarMessageType.smt_Success)
            End Sub
        End Class
    End Namespace
    It does not give first message. and second message come properly and immediately when I start the AddOn. I checked it makes all fields accuratly. But when I open the related form it gives error message "Data Source not found". I checked fields name are same as used in form and database .What can the reason? Should I use a simple function for creation of database fields which will run when a button is pressed? Is it fine to using default class for database fields creation?
    Thanks
    Best Regards
    Jitender

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Can we get database creation script using any packages?

    Hi Friends,
    we will get table creation script using dbms_metadata.get_ddl package. just like that is there any way to get database creation script? i know that we can add some lines to controlfile trace to convert it into database creation script. but i would like to know whether it is possible through packages?
    thanks in advance.

    I think there's no package to use it for getting database creation script. But anyway, you can search it in [Oracle Database PL/SQL Packages and Types Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/toc.htm]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Error while Executing stored procedure using ant

    Hi,
    I am trying to execute a stored procedure using ant ..
    My build.xml is like this...
    <project name="myproject" default="db.build">
    <target name="db.build">
    <sql driver="oracle.jdbc.driver.OracleDriver"
    url="jdbc:oracle:thin:@idm.orademo.com:1521:orcl"
    userid="test"
    password="oracle11g"
    print="yes"
    classpath="E:\\ojdbc14.jar"
    src="E:\\upg_9102BP07.sql" />
    <!--
    <classpath>
    <pathelement path=""\\>
    <\\classpath> -->
    </target>
    </project>
    I have my stored procedure in upg_9102BP07.sql as shown in above src..
    When im executing ant cmd I got the following exception
    E:\>ant -f test.xml
    Buildfile: test.xml
    db.build:
    *[sql] Executing resource: E:\upg_9102BP07.sql*
    *[sql] Failed to execute: declare cnt int*
    BUILD FAILED
    E:\test.xml:12: java.sql.SQLException: ORA-06550: line 1, column 15:
    PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    *:= . ( @ % ; not null range default character*
    Total time: 44 seconds
    I have no clue.. But this sql ran successfully when did manually..
    Please help me in solving the issue...
    -- Marias

    Here is my script bit lengthy...
    Rem
    Rem $Header: oim/server/Database/Oracle/Upgrade/Release91x/910x/List/9102_ddl_AddcolumnToRCE_Oracle.sql st_oim_devjain_bug-9003841/1 2009/10/09 02:24:19 devjain Exp $
    Rem
    Rem 9102_ddl_AddcolumnToRCE_Oracle.sql
    Rem
    Rem Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
    Rem
    Rem NAME
    Rem 9102_ddl_AddcolumnToRCE_Oracle.sql - <one-line expansion of the name>
    Rem
    Rem DESCRIPTION
    Rem Create a new column 'RCE_DELETE' in RCE table
    Rem
    Rem MODIFIED (MM/DD/YY)
    Rem blaksham 09/30/09 - Created
    Rem
    declare cnt int;
    Begin
         Select Count(1) into cnt From User_Tab_Columns Where TABLE_NAME='RCM' And COLUMN_NAME='RCM_DELETE';
         IF cnt=0 Then
         Begin
              Execute Immediate 'ALTER TABLE RCM ADD RCM_DELETE VARCHAR2(1)';
         End;
         Else
              DBMS_OUTPUT.PUT_LINE('Column already exists in the DB');
         End IF;
    End;
    Rem
    Rem $Header: oim/server/Database/Oracle/Upgrade/Release91x/910x/List/9102_dml_odf_source_name.sql st_oim_devjain_bug-9003841/1 2009/10/09 02:44:45 devjain Exp $
    Rem
    Rem 9103_dml_odf_source_name.sql
    Rem
    Rem Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
    Rem
    Rem NAME
    Rem 9103_dml_odf_source_name.sql - <one-line expansion of the name>
    Rem
    Rem DESCRIPTION
    Rem <short description of component this file declares/defines>
    Rem
    Rem NOTES
    Rem <other useful comments, qualifications, etc.>
    Rem
    Rem MODIFIED (MM/DD/YY)
    Rem vpotukuc 09/17/09 - Bug8796435: Increase the size of odf_source-name
    Rem vpotukuc 09/17/09 - Created
    Rem
    SET ECHO ON
    SET FEEDBACK 1
    SET NUMWIDTH 10
    SET LINESIZE 80
    SET TRIMSPOOL ON
    SET TAB OFF
    SET PAGESIZE 100
    declare
    collen NUMBER := 0;
    begin
    select char_length into collen from user_tab_columns where table_name = 'ODF' and column_name = 'ODF_SOURCE_NAME';
    IF (collen < 400) then
    execute immediate 'alter table ODF modify ODF_SOURCE_NAME varchar2(400)';
    END IF;
    END;
    File name: 91_dml_update_reviewers_With_NoEmail_attestation.sql
    Purpose: Modify the email template to replace the 'Delegated By Last Name' with 'Reviewer Last Name' and 'Delegated By User Id' to 'Reviewer User Id'.
    Author: Babu Lakshamanaiah
    Description: Modify the email template 'Attestation Reviewers With No E-mail Addresses Defined'
    declare
    cnt int;
    begin
    Select Count(1) into cnt From emd Where emd_name='Attestation Reviewers With No E-mail Addresses Defined' and emd_language='en' and emd_country='US';
    IF cnt=0 Then
    Begin
    DBMS_OUTPUT.PUT_LINE('There is no record with emd_name Attestation Reviewers With No E-mail Addresses Defined ');
    End;
    Else
    update emd set emd_body='The following attestation reviewers do not have email addresses defined. Attestation requests have been generated for these reviewers and can be accessed by loging in to Oracle Identity Manager. However, notification emails were not sent.' ||chr(10) || chr(10) ||
    'Attestation process: <Attestation Definition.Process Name>' || chr(10) ||
    'Attestation Request ID: request <Attestation Request.Request Id>' || chr(10) ||
    'Request date: <Attestation Request.Request Creation Date>' || chr(10) || chr(10) ||
    'Reviewers Without E-mail Address: <reviewers> ' || chr(10) ||
    '<Attestation Task.Reviewer First Name> <Attestation Task.Reviewer Last Name> [<Attestation Task.Reviewer User Id>]' Where emd_name='Attestation Reviewers With No E-mail Addresses Defined' and emd_language='en' and emd_country='US';
    End IF;
    commit;
    end;
    Please help me out.....
    --Marias                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Database creation problem on Windows XP

    Hello Readers
    I have installed ORACLE Database Engine on windows XP.
    I am facing problem in database creation.
    I have tryed wizard as well as mannual method.
    in wizard at 90% it gives an error "END-OF-FILE ON COMMUNICATION CHANNEL"
    although CD drive is in CR Rom drive.
    Please help me ....
    Rashid Masood Ashraf
    email: [email protected]

    After going to the properties as you suggested:
    Right now the Obtain an IP address automatically is checked
    I need to check the Use the following IP address:
    What should I enter for
    IP address:
    Subnet mask:
    Default gateway:
    Please help.
    Edited by: Nel Marcus on Dec 2, 2008 3:49 PM

  • While Installation of 11g database creation time error ORA-28056: Writing audit records to Windows Event Log failed Error

    Hi Friends,
    OS = Windows XP 3
    Database = Oracle 11g R2 32 bit
    Processor= intel p4 2.86 Ghz
    Ram = 2 gb
    Virtual memory = 4gb
    I was able to install the oracle 11g successfully, but during installation at the time of database creation I got the following error many times and I ignored it many times... but at 55% finally My installation was hanged nothing was happening after it..... 
    ORA-28056: Writing audit records to Windows Event Log failed Error  and at 55% my Installation got hung,,,, I end the installation and tried to create the database afterward by DBCA but same thing happened....
    Please some one help me out, as i need to install on the same machine .....
    Thanks and Regards

    AAP wrote:
    Thanks Now I am able to Create a database , but with one error,
    When I created a database using DBCA, at the last stage I got this error,
    Database Configuration Assistant : Warning
    Enterprise Manager Configuration Failed due to the Following error Listener is not up or database service is not registered with it.  Start the listener & Registered database service & run EM Configuration Assistant again....
    But when I checked the listener was up.....
    Now what was the problem,  I am able to connect and work through sqlplus,
    But  I didnt got the link of EM and when try to create a new connection in sql developer it is giving error ( Status : failure - Test Failed the Network Adapter could not establish the connection )
    Thanks & Regards
    Creation of the dbcontrol requires a connection via the listener.  When configuring the dbcontrol as part of database creation, it appears that the dbcontrol creation step runs before the dynamic registration of the databsase with the listener is complete.  Now that the database itself is completed and enough time (really, just a minute or two) has passed to allow the instance to register, use dbca or emca to create the dbcontrol.
    Are you able to get a sqlplus connection via the listener (sqlplus scott/tiger@orcl)?  That needs to be the first order of business.

Maybe you are looking for

  • What is the difference between apps and applications?

    I have an application that I've been running on my older Mac. Now that I have a new MacBook Pro, I have to reinstall new software that is compatible. When I go to the vendor website I see an application I can download or a link to the Mac App Store.

  • Confused - whats the difference between K8N Neo4 SLI Platinum and Diamond??

    MSI web page says the Diamond has: "Silicon Image's SATA RAID supports another 2 SATA II ports. Transfer rate is up to 300MB/s." http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=638 their Platinum page doesn't list the Sili

  • Oracle 10g editions features

    for oracle 10g different editions, regarding Maximum CPUs feature, it is mentioned that for Standard Edition One - Maximum CPUs - 2 Standard Edition - Maximum CPUs - 4 Enterprise Edition - Maximum cPUs - Unlimited. does this means that Server on whic

  • Java.io.File causes "access denied" exception in a signed applet

    Hi, New to these forums and not entirely where it's appropriate to post this issue, so I'll stick it here for now until told otherwise. The problem: My applet throws the following exception. INFO: Exception Message: access denied (java.io.FilePermiss

  • BEx query characteristic description change

    Hi all, We have some BEx queries that we have changed one of the characteristic description - title only (by dragging the characteristic to the rows, right click, attributes, description). Lately when we try to refresh the queries the description tha