Friday, 23 December 2011

Make RAC off

Disable RAC

While Cloning RAC to single instance we need to make the RAC off.Sometimes while making the RAC off we got few error.Below is the Step of making the RAC off ,error message and solution.

$ cd $ORACLE_HOME/rdbms/lib

$ make -f ins_rdbms.mk rac_off

rm -f /orahome/app/oracle/product/11.2.0/dbhome_1/lib/libskgxp11.so

cp /orahome/app/oracle/product/11.2.0/dbhome_1/lib//libskgxpg.so /orahome/app/oracle/product/11.2.0/dbhome_1/lib/libskgxp11.so

rm -f /orahome/app/oracle/product/11.2.0/dbhome_1/lib/libskgxn2.a

cp /orahome/app/oracle/product/11.2.0/dbhome_1/lib//libskgxnr.a  /orahome/app/oracle/product/11.2.0/dbhome_1/lib/libskgxn2.a

rm -f /orahome/app/oracle/product/11.2.0/dbhome_1/lib/libskgxn2.a

cp /orahome/app/oracle/product/11.2.0/dbhome_1/lib//libskgxns.a  /orahome/app/oracle/product/11.2.0/dbhome_1/lib/libskgxn2.a

cp: /orahome/app/oracle/product/11.2.0/dbhome_1/lib//libskgxns.a: A file or directory in the path name does not exist.

make: 1254-004 The error code from the last command is 1.

Stop.

 

$ make -f ins_rdbms.mk ioracle

chmod 755 /orahome/app/oracle/product/11.2.0/dbhome_1/bin

- Linking Oracle

rm -f /orahome/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/oracle

ld -b64 -o /orahome/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/oracle -L/orahome/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/

-L/orahome/app/oracle/product/11.2.0/dbhome_1/lib/  -bbigtoc -bnoipath -bI:/orahome/app/oracle/product/11.2.0/dbhome_1/lib/ksms.imp

/orahome/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/opimai.o /orahome/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/ssoraed.o

/orahome/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/ttcsoi.o   -lperfsrv11 /orahome/app/oracle/product/11.2.0/dbhome_1/lib/nautab.o

/orahome/app/oracle/product/11.2.0/dbhome_1/lib/naeet.o /orahome/app/oracle/product/11.2.0/dbhome_1/lib/naect.o

/orahome/app/oracle/product/11.2.0/dbhome_1/lib/naedhs.o /orahome/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/config.o  -lserver11 -lodm11

-lcell11  -lnnet11  /orahome/app/oracle/product/11.2.0/dbhome_1/lib/libskgxp11.so -lsnls11 -lnls11  -lcore11 -lsnls11  -lnls11 -lcore11

-lsnls11 -lnls11 -lxml11  -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11  -lclient11  -lvsn11  -lcommon11 -lgeneric11  -lknlopt `if

/bin/ar -X64 tv /orahome/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap11

-bE:/orahome/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/olap.exp" ; fi`  -lslax11 -lpls11  -lrt -lplp11 -lserver11 -lclient11  -lvsn11

-lcommon11 -lgeneric11 `if [ -f /orahome/app/oracle/product/11.2.0/dbhome_1/lib/libavserver11.a ] ; then echo "-lavserver11" ; else echo

. . . .

. . . .

. . . .

. . . .

. . .

grep '^'kcsm.o > /dev/n                                             lities/cldomain" ]; then echo "-lha_gs_r -lpthreads"; fi; fi`   -lld -lm

`cat /o                                             /sysliblist`  -lm   -bI:/usr/lib/aio.exp -bE:/orahome/app/oracle/product/11.2.0/

p/oracle/product/11.2.0/dbhome_1/rdbms/lib//libcorejava.exp -bpT:0x100000000 -bp

-L /orahome/app/oracle/product/11.2.0/dbhome_1/srvm/lib

ld: 0706-006 Cannot find or open library file: -l skgxn2

ld:open(): A file or directory in the path name does not exist.

ld: 0706-006 Cannot find or open library file: -l skgxn2

ld:open(): A file or directory in the path name does not exist.

make: 1254-004 The error code from the last command is 255.

 

So,if you want to make RAC off just follow below mentioned steps

Solution:

$ cd $ORACLE_HOME

$ cd rdbms/lib

$ ls -lrt libskgxns.a

-rw-r--r--    1 oradr    oinstall      12844 Aug 11 17:13 libskgxns.a

$ cp libskgxns.a $ORACLE_HOME/lib

$ cd $ORACLE_HOME/rdbms/lib

$ make -f ins_rdbms.mk rac_off

$ make -f ins_rdbms.mk ioracle

It will gives many warnings but we can IGNORE these warnings

 ld: 0711-319 WARNING: Exported symbol not defined:

No comments:

Post a Comment