dbca not working

Posted on 2014-12-19
Last Modified: 2014-12-30
I cannot create a database using.

Here is the error.

[oracle@term2 bin]$
[oracle@term2 bin]$ ls
adapters                    dropjava               gennttab              nmei                    racgwrap
adrci                       dsml2ldif              genoccish             nmei0         
adrciO                      dumpsga                genorasdksh           nmhs                    rawutl           dumpsga0               gensyslib             nmhs0                   rawutl0                dvca                   gnsd                  nmhs.0                  rconfig                  e2eme                  grdcscan              nmo                         e2eme0                 hsalloci              nmo0                    relink            echodo                 hsallociO             nmo.0                   renamedg
agtctl                      emagent                hsdepxa               nmocat                  renamedg0
agtctlO                     emagent0               hsdepxaO              nmocat0                 repo_mig
amdu                     hsots                 nmosudo                 rman
amduO                     hsotsO                nmosudo0                rmanO
aqxmlctl                       imp                   nmupm                   runclass                 emagtm                 impdp                 nmupm0        
asmcmd                      emagtm0                impdpO                odisrvreg               sbttest
asmcmdcore                  emagtmc                impO                  oerr                    sbttestO
bndlchk                     emagtmc0               jssu                  oidca                   schema
chopt                       emca                   kfed                  oidprovtool             schemasync
chopt.ini            kfedO                 ojmxtool                     kfod                  ojmxtool0     
cluvfy                      emctl                  kfodO                 ojvmjava      
commonenv                  kgmgr                 ojvmtc        
commonenv.template               kgmgrO                okdstry                 setasmgid              emctl.template      okdstry0                setasmgid0            emdctl         okinit                       emdctl0                lbuilder              okinit0                 sqlldr          EMDeploy               lcsscan               oklist                  sqlldrO
coraenv                     EMDeploy.bat           ldapadd               oklist0                 sqlplus                    ldapaddmt             olsadmintool            srvconfig
csscan                      emdfail.command        ldapbind              olsoidsync              srvctl
ctxkbtc                         ldapcompare     
ctxkbtc0                    ldapdelete               statusnc
ctxlc                       emdwgrd                ldapmoddn                 symfind
ctxlcO                      emdwgrd.bat            ldapmodify            onsctl                  sysresv
ctxload                        ldapmodifymt          orabase                 sysresv0
ctxloadO                     ldapsearch            oracg         
cursize                      ldifmigrator          oracle                  tkprof
cursizeO             linkshlib             oracleO                 tkprofO
db2gc                       emtgtctl               lmsgen                oradism                 tnnfg
dbca                        emtgtctl2              loadjava              oraenv                  tnslsnr          emtgtctl20             loadpsp               orajaxb                 tnslsnr0       emutil                 loadpspO              orapipe                 tnsping                emutil.bat.template    lsnodes               orapki                  tnsping0                lsnrctl               orapwd                  transx
dbfs_client                 eusm                   lsnrctl0              orapwdO                 trcasst
dbfsize                     exp                    lxchknlb              oraxml                  trcldr
dbfsizeO                    expdp                  lxegen                oraxsl                  trcroute         expdpO                 lxinst                orion                   trcroute0
dbhome                      expO                   mapsga                osdbagrp                trcsess
dbshut                      extjob                 mapsga0               osdbagrp0               tstshm
dbstart                     extjobo                maxmem                osh                     tstshmO
dbua                        extjobO                maxmemO               ott                     uidrvci
dbv                         extjoboO               mkpatch               owm                     uidrvciO
dbvO                        extproc                mkpatchO              pafctl                  umu  extprocO               mkstore               pafctl.bat              unzip  extusrupgrade          ncomp                 PARDeploy               wrap
deploync            netca                 PARDeploy.bat           wrapO
dg4odbc                     fmputl            wrc
dg4odbcO                    fmputlhp               netmgr                       wrcO
dg4pwd                      genagtsh          platform_common         xml
dg4pwdO                     genclntsh              nid                   plshprof                xmlcg
dgmgrl                      genclntst              nidO                  plshprofO               xmlwf
dgmgrlO                     genezi                 nmb                   proc                    xsl
diagsetup                   geneziO                nmb0                  purgeDeploymentLibrary  xsql                genksms                nmb.0                 racgeut                 xvm
diskmon.bin                 gennfgt                nmcbufp               racgmain                zip
[oracle@term2 bin]$ pwd
[oracle@term2 bin]$
[oracle@term2 bin]$ dbca
/u01/app/oracle/product/11.2.0/db_1/bin/dbca: line 122: /u01/app/oracle/product/11.2.0/dbhome_1/bin/platform_common: No such file or directory
[oracle@term2 bin]$
Question by:jeevan mathew
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 29

Expert Comment

ID: 40509906
If it's true it cannot find that file, then perhaps you have a corrupt Oracle Home?
If the file does exist, then the issue may be found between the chair and the keyboard.
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40510165
Did you look at the error?

It is looking in /u01/app/oracle/product/11.2.0/dbhome_1/bin

You performed the 'ls' command in: /u01/app/oracle/product/11.2.0/db_1/bin

Look like your ORACLE_HOME environment variable is pointing to a different HOME than you think it is.

Author Comment

by:jeevan mathew
ID: 40510392
Could you help to find out where oracle_home is pointing to
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

LVL 22

Expert Comment

by:Steve Wales
ID: 40510465
Do this:  


You can also check the contents of /etc/oratab and see where it's pointing (assuming your login environment is set to call oraenv on login
LVL 77

Accepted Solution

slightwv (䄆 Netminder) earned 500 total points
ID: 40511143
>>Could you help to find out where oracle_home is pointing to

The echo above will tell you what your environment is pointing to.

The oratab file is on the database server and should tell you what database is using what ORACLE_HOME.

If you have client installs there is no way to 'show' them.

Ask your DBA or System Administrator what the correct environment is for what database and application.  They will be the ones that know.

Author Closing Comment

by:jeevan mathew
ID: 40524647
This is good.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sum of columns in a row in oracle 3 60
oracle differnce between two timestamps 5 51
oracle sqlplus query delimiter 8 52
Oracle SQL Developer equivalent MS SQL 6 34
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to take different types of Oracle backups using RMAN.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question