Forgot your password?    
+ Reply to Thread
Results 1 to 3 of 3

Thread: Error while running dbca or netca & also on relink all

  1. #1
    Oracle DBA
    Join Date
    Oct 2011
    Posts
    17

    Error while running dbca or netca & also on relink all

    After fresh istallation i am getting this error

    bash-4.1$ dbca
    UnsatisfiedLinkError exception loading native library: njni10
    Exception in thread "main" java.lang.UnsatisfiedLinkError: get
    at oracle.net.common.NetGetEnv.get(Native Method)
    at oracle.net.config.Config.getNetDir(Unknown Source)
    at oracle.net.config.Config.initConfig(Unknown Source)
    at oracle.net.config.Config.<init>(Unknown Source)
    at oracle.sysman.assistants.util.NetworkUtils.<init>( NetworkUtils.java:222)
    at oracle.sysman.assistants.util.step.StepContext.<in it>(StepContext.java:255)
    at oracle.sysman.assistants.dbca.backend.Host.<init>( Host.java:682)
    at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIH ost.java:205)
    at oracle.sysman.assistants.dbca.ui.InteractiveHost.< init>(InteractiveHost.java:54)
    at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.ja va:160)
    at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.ja va:94)
    at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java: 180)

    As i ran relink all it also give me an error

    DBASE/ORACLE_HOME/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/sysliblist` -Wl,-rpath,/u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib -lm `cat /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/sysliblist` -ldl -lm -L/u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib
    /usr/bin/ld: skipping incompatible /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib//libirc.a when searching for -lirc
    /usr/bin/ld: skipping incompatible /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/libirc.a when searching for -lirc
    /usr/bin/ld: cannot find -lirc
    collect2: ld returned 1 exit status
    make: *** [/u01/accounts/b8deepak/DBASE/ORACLE_HOME/rdbms/lib/dbv] Error 1

  2. #2
    Oracle DBA
    Join Date
    Oct 2011
    Posts
    17

    Installation log of the above installed oracle_home

    /usr/bin/ar rv /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/libn10.a /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/nnfgt.o ;
    INFO: fi)

    INFO: (if [ "compile" = "binary" ] ; then \
    /u01/accounts/b8deepak/DBASE/ORACLE_HOME/bin/gennfgt > nnfgt.c ;\
    TARGET_BINARY_INTERFACE= ;\
    export TARGET_BINARY_INTERFACE ;\
    /usr/bin/gcc -c nnfgt.c ;\
    -rm -f /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/nnfgt.o ;\
    -mv nnfgt.o /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/ ;\
    /usr/bin/ar rv /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/libn10.a /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/nnfgt.o ; fi)

    INFO: End output from spawned process.
    INFO: ----------------------------------
    INFO: Calling Action unixActions10.2.0.1.0 make
    installMakePath = /usr/bin/make
    installMakeFileName = /u01/accounts/b8deepak/DBASE/ORACLE_HOME/network/lib/ins_net_client.mk
    installTarget = client_sharedlib
    installArguments = ORACLE_HOME=/u01/accounts/b8deepak/DBASE/ORACLE_HOME,
    undoMakeFileName = null
    undoTarget = null
    undoArguments = null
    logFile = /u01/accounts/b8deepak/DBASE/ORACLE_HOME/install/make.log
    progMsg = Building client shared libraries

    INFO: The output of this make operation is also available at: '/u01/accounts/b8deepak/DBASE/ORACLE_HOME/install/make.log'
    INFO:

    INFO: Start output from spawned process:
    INFO: ----------------------------------
    INFO:

    INFO: /u01/accounts/b8deepak/DBASE/ORACLE_HOME/bin/genclntsh

    INFO: /
    INFO: usr
    INFO: /
    INFO: bin
    INFO: /
    INFO: ld
    INFO: :
    INFO:
    INFO: skipping
    INFO:
    INFO: incompatible
    INFO:
    INFO: /
    INFO: u01
    INFO: /
    INFO: accounts
    INFO: /
    INFO: b8deepak
    INFO: /
    INFO: DBASE
    INFO: /
    INFO: ORACLE_HOME
    INFO: /
    INFO: lib
    INFO: /
    INFO: libxml10.a when searching for -lxml10
    /usr/bin/ld: cannot find -lxml10
    collect2:
    INFO: ld returned 1 exit status

    INFO: genclntsh: Failed to link libclntsh.so.10.1

    INFO: make: *** [client_sharedlib] Error 1

    INFO: End output from spawned process.
    INFO: ----------------------------------
    INFO: Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target 'client_sharedlib' of makefile '/u01/accounts/b8deepak/DBASE/ORACLE_HOME/network/lib/ins_net_client.mk'. See '/u01/accounts/b8deepak/DBASE/oraInventory/logs/installActions2011-12-05_10-44-59AM.log' for details.
    Exception Severity: 1
    INFO: Exception handling set to prompt user with options to Retry Ignore
    User Choice: Retry
    INFO: The output of this make operation is also available at: '/u01/accounts/b8deepak/DBASE/ORACLE_HOME/install/make.log'
    INFO:

    INFO: Start output from spawned process:
    INFO: ----------------------------------
    INFO:

    INFO: /u01/accounts/b8deepak/DBASE/ORACLE_HOME/bin/genclntsh

    INFO: /usr/bin/ld: skipping incompatible /u01/accounts/b8deepak/DBASE/ORACLE_HOME/lib/libxml10.a when searching for -lxml10
    /usr/bin/ld: cannot find -lxml10
    collect2:
    INFO: ld returned 1 exit status

    INFO: genclntsh: Failed to link libclntsh.so.10.1

    INFO: make: *** [client_sharedlib] Error 1

    INFO: End output from spawned process.
    INFO: ----------------------------------
    INFO: Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target 'client_sharedlib' of makefile '/u01/accounts/b8deepak/DBASE/ORACLE_HOME/network/lib/ins_net_client.mk'. See '/u01/accounts/b8deepak/DBASE/oraInventory/logs/installActions2011-12-05_10-44-59AM.log' for details.
    Exception Severity: 1

  3. #3
    Expert Oracle Administrator
    Join Date
    Oct 2011
    Location
    New Delhi, India
    Posts
    427
    Incompatible errors like the ones you have encountered , take place on account of 32 bit oracle and 64 bit OS
    or if you are using 32 bit OS libraries with 64 bit Oracle

    Please try the following on a new session
    ================================
    export ORACLE_HOME=/u01/accounts/b8deepak/DBASE/ORACLE_HOME
    cd $ORACLE_HOME/bin
    ./relink all

    Please send the errors that you encounter.

    - Also send

    echo $LD_LIBRARY_PATH

+ Reply to Thread

Similar Threads

  1. RW50004 : Error code received when running externel process ?????
    By pkumar in forum Oracle Apps Patching and Cloning, Installation , Migration,Upgrades
    Replies: 5
    Last Post: 09-25-2012, 09:10 PM
  2. RW50004 : Error code received when running externel process
    By himsinha in forum Oracle Apps Patching and Cloning, Installation , Migration,Upgrades
    Replies: 2
    Last Post: 08-07-2012, 04:36 AM
  3. Applied CU2 Patch running autoconfig afterwards getting error!! Listing the error
    By dbaANKIT in forum Oracle Apps Patching and Cloning, Installation , Migration,Upgrades
    Replies: 1
    Last Post: 01-30-2012, 12:21 AM
  4. RW-50004: Error code received when running external process
    By Jitendra in forum Oracle Apps Patching and Cloning, Installation , Migration,Upgrades
    Replies: 2
    Last Post: 01-04-2012, 11:12 PM
  5. Getting error while running Perl adcfgclone.pl appsTier
    By tirath in forum Oracle Apps Patching and Cloning, Installation , Migration,Upgrades
    Replies: 7
    Last Post: 11-26-2011, 11:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training


Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics