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

Similar Messages

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Remove Database (Not using DBCA)

    Hello!
    I have tried creating a database on my 10g instance, using DBCA. Halfway through creation, the process stopped, giving me error ORA-01092.
    I'd like to remove the database and start again, however using DBCA, when I try to remove the database, I get error ORA-01078 - and cannot continue any further.
    How can I remove all traces of this database without using DBCA?
    Thanks for any help.
    Chris.

    ORA-01078: failure in processing system parameters
    Cause
    This error indicates that Oracle had a problem processing the database initialisation file. It will normally be accompanied by another error that will give more specific details about the problem.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Examine alert.log file to find out what caused the DBCA fail. If there's unknown problem in your system, the next DBCA will likely fail again even after clean up.
    What's in your initial parameter file? What's your OS?
    You need to clean up following files,
    datafiles, control files, redo logfiles, spfile files and better clean all files under dump destination as well (of course after troubleshooting)

  • Database creation (via dbca) results in tns-04414 error

    All
    I am having a problem in that when I am trying to create a standalone database using dbca it results in an error of tns-04414: file error. I have checked the tnsnames and listener files for any oddities, and nothing standing out. Does anyone have any ideas what causes this error? Unfortunately, I had this happen previously and I worked my way through it, but no longer remember the fix.
    Any help is greatly appreciatted.
    Thanks.

    Have you checked that tns entry ??Hmmm, as fas as I know while creating a NEW database using DBCA, DBCA doesn't use any TNS entry so why its so??
    Correct me if i am wrong.
    Daljit Singh

  • DB Instance creation using DBCA Gives ERROR

    Hi All,
    I am getting below error while creating a new DB instance using DBCA. Initially I thought it could be a problem of the oracle version. But I checked it is Oracle 10G server version 10.2.0.1. I got it re-installed 3 times, but still same issue. Please help !!!
    ORA-31011: XML parsing failed
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
    ORA-06512: at line 143

    I remember that issue from long long ago, for that old version, although I didn't encounter it that often.
    If I am not mistaken, I solved it by running @?/rdbms/admin/catqm after creation (a multiple times?) and @?/rdbms/admin/utlrp
    Maybe the following will help/assist in solving the issue: http://www.liberidu.com/blog/2009/07/13/howto-clean-xml-db-install/

  • 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

  • Database Creation through DBCA

    Sir,
    I m trying to create a database through DBCA but before creation of database, occurs an error ORA-12560: TNS:protocol adapter error. So what is the Problem.
    I m using oracle 10g.
    Thanks in advance
    Ram

    If this is not related to EBS, pl post your question in the database forums http://forums.oracle.com/forums/category.jspa?categoryID=18
    HTH
    Srini

  • 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 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.

  • Paraller Query Server Error while creating the database using DBCA on UNIX

    Hi All,
    I am try to create the database on UNIX PLATFORM database 11g R1.
    At the end of database creation using DBCA i got the errors:
    ORA-12801:error signaled in parallel query server P077
    ORA-00018: maximun number of sessions exceeded
    ORA-06512:at"SYS.UTL_RECOMP",line 760
    ORA-06512:at"SYS.UTL_RECOMP",line 773
    ORA-06512:at line 1
    Please suggest what can i do to remove this issue.
    Regards
    Girish Sharma

    user12104101 wrote:
    Hi All,
    I am try to create the database on UNIX PLATFORM database 11g R1.
    At the end of database creation using DBCA i got the errors:
    ORA-12801:error signaled in parallel query server P077
    ORA-00018: maximun number of sessions exceeded
    ORA-06512:at"SYS.UTL_RECOMP",line 760
    ORA-06512:at"SYS.UTL_RECOMP",line 773
    ORA-06512:at line 1
    Please suggest what can i do to remove this issue.
    Regards
    Girish SharmaIncrease value of SESSIONS(also processes) parameter as
    sqlplus "/as sysdba"
    show parameter sessions
    alter system set sessions =<new big value> scope=spfile;
    shutdown immediate;
    startup;

  • Database Storage location using DBCA

    I'm trying to create a database. I would like to put the database on drive M and the logs on drive N.
    I'm getting that if I want to do it during creation using DBCA I need to define the location on step 11 - Database Storage.
    When I click on Datafile I then click on File Location Variables do I change ORACLE_BASE, ORACLE_HOME or both?
    When I click on Redo Log Groups I then click on File Location Variables do I change ORACLE_BASE, ORACLE_HOME or both?
    Do I do anything with the Control files location?

    In that step you got File Name and File Directory menu.
    Change the paths in File Directory menu.
    Suppose you have create oradata folder in both M and N drives.
    System01.dbf M:\oradata
    redolog01a.log N:\oradata
    suggestion:- Please multiplex controlfiles and redo log files.

  • Database creation failure

    Hi all.
    While dbca was creating the database power went down and it did not end. I was in windows with an ssh session connected to the server (solaris). The server took a lot of time to answer for all the commands and we reboot it. Can I try to create the db again? or must I make some verification before?
    It is a 9.2.0.6 version.
    Thanks in advantage.
    David.

    Connect to the Solaris server and see if the Instance is still running. if so,
    shutdown the instance.
    delete the database files
    start with the fresh creation using DBCA.

  • How to create another instance on linux without using dbca?

    I have an oracle database (or instance) named viton1 on my linux.
    Now I want to create another instance (or database) named viton2 on my linux without using dbca.
    I know I can create a database by runing a sql script : create database ......
    But my problem is:
    before I can run the script for create database, I must startup nomount database.
    Before I can startup nomount the instance, I have to connect the instance.
    So I do it:
    $sqlplus /nolog
    sql > conn sys/password as sysdba;
    sql >
    then I connected to viton1, that's not what I expected.
    In order not to connect to viton1, I set ORACLE_SID=viton2. Then it show error: insufficient privilege.
    Who can tell me the right way to create another database without using dbca?
    Thanks in advance.

    In $ORACLE_BASE/admin you should have a directory structure for the viton1 instance : create a similar directory structure for the viton2 instance.
    In the pfile subdirectory create the initviton2.ora file : you can copy it from initviton1.ora file and change all occurrences of viton1 to viton2.
    At OS prompt : export ORACLE_SID=viton2, then
    sqlplus /nolog
    conn / as sysdba
    startup nomount pfile=$ORACLE_BASE/admin/viton2/pfile/initviton2.ora
    then CREATE DATABASE.....

Maybe you are looking for

  • Dvi to hdmi with sound support

    I was looking for a way to watch movies from my MBP (mid-2011 13") on a HD LCD TV, and I found an HDMI port in the back of the TV. I went to the Apple store and picked up a Kanex "Mini DisplayPort to HDMI Cable (with sound support)." The picture look

  • A new Encore user's experience.

    Being as this is a louge this might be a place to share. First, I am not a pro, but I have been using Premiere since 4.2 to produce simple teaching videos and over time have gotten to where I have done more fun stuff and even a couple of events, for

  • Time-out on the Answers server to be increased

    The Current situation is User is running a query, it takes sometime to to fetch the results and after sometime the request errors out saying that Query time out. Though the session remains active. Is there any paramter in instanceconfig to increase t

  • My apple TV is not connecting to my tv what might be wrong

    When I turn on my apple TV box my television says no signal. Every couple of minutes the apple TV home screen will flash up on the screen. Any idea what the problem might be.

  • How do I watch shows downloaded to ATV under husbands account on my iPad on my account?

    How do I watch shows downloaded to apple tv under husbands account on my iPad under my account?