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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

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

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.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

705 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