Solved

dbca not installed

Posted on 2013-02-02
4
1,723 Views
Last Modified: 2013-02-20
[oracle@term ~]$ cd $ORACLE_HOME
[oracle@term db_1]$ ls
apex         deinstall         jdev     OPatch       scheduler
assistants   demo              jdk      opmn         slax
bin          diagnostics       jlib     oracore      sqldeveloper
ccr          dv                ldap     oraInst.loc  sqlj
cdata        emcli             lib      ord          sqlplus
cfgtoollogs  has               log      oui          srvm
clone        hs                md       owb          sysman
config       ide               mesg     owm          timingframework
crs          install           mgw      perl         ucp
csmig        install.platform  network  plsql        uix
css          instantclient     nls      precomp      utl
ctx          inventory         oc4j     racg         wwg
cv           j2ee              odbc     rdbms        xdk
dbs          javavm            olap     relnotes
dc_ocm       jdbc              ons      root.sh
[oracle@term db_1]$ 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@term db_1]$


I installed oracle 11g

unfortunately I am not seeing dbca or netca here..

How will you bring here that...
0
Comment
Question by:walkerdba
4 Comments
 
LVL 73

Expert Comment

by:sdstuber
ID: 38847623
based on your error, it looks like dba did run, but you're missing other pieces that the dbca script invokes

try reinstalling the product, there's no good reason I can think of that you'd have dbca without its component pieces
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38849499
>>unfortunately I am not seeing dbca or netca here..

That is because you did the ls in ORACLE_HOME.  The binary files are in $ORACLE_HOME/bin

I believe the issue is in your environment variables.  Looks like you might have more than one Oracle product installed.

Notice the error message:  /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

If found dbca in the db_1 folder.  The file it cannot find is in dbhome_1.

Get everything pointing to the same HOME and it should work.
0
 
LVL 34

Accepted Solution

by:
johnsone earned 500 total points
ID: 38850977
Based on the the message where /u01/app/oracle/product/11.2.0/db_1/bin/dbca is looking for  /u01/app/oracle/product/11.2.0/dbhome_1/bin/platform_common

My guess is that this home was copied from somewhere else and on the other server it was in the second directory.  Or it was moved on the same machine.  The ideal solution is to properly install Oracle in /u01/app/oracle/product/11.2.0/db_1.  However, to get around your current problem, I believe that a symbolic link should do the trick

ln -s /u01/app/oracle/product/11.2.0/db_1 /u01/app/oracle/product/11.2.0/dbhome_1

That of course assumes that /u01/app/oracle/product/11.2.0/dbhome_1 does not already exist.
0
 

Author Closing Comment

by:walkerdba
ID: 38912464
yes
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
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, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now