Blogs >> Education & Books >>
exec(): 0509-036 Cannot load program /oracle/db/bin/crsctl.bin because of the following errors:
[root@CNDAOSIDDBOT51:/oracle/db/bin]$ ./localconfig add
exec(): 0509-036 Cannot load program /oracle/db/bin/crsctl.bin because of the following errors:
0509-150 Dependent module libhasgen10.a(shr_hasgen10.o) could not be loaded.
0509-022 Cannot load module libhasgen10.a(shr_hasgen10.o).
0509-026 System error: A file or directory in the path name does not exist.
exec(): 0509-036 Cannot load program /oracle/db/bin/clscfg.bin because of the following errors:
0509-150 Dependent module libhasgen10.a(shr_hasgen10.o) could not be loaded.
0509-022 Cannot load module libhasgen10.a(shr_hasgen10.o).
0509-026 System error: A file or directory in the path name does not exist.
Configuration for local CSS has been initialized
Failed configure CSS. Fix the problem and rerun this script from destination Oracle home with 'reset' argument
******************** Solution ********************************
export LIBPATH=/oracle/db/lib:/usr/dt/lib:/usr/openwin/lib:/oracle/db/ctx/lib:/oracle/db/lib32
export LD_LIBRARY_PATH=/oracle/db/lib:/usr/dt/lib:/usr/openwin/lib:/oracle/db/ctx/lib
Make symbolic link for each of the following files in /usr/lib from $ORACLE_HOME/lib
Example: ln -s /oracle/db/lib/libttsh10.a libttsh10.a
libhasgen10.a -> /oracle/db/lib/libhasgen10.a
libhasgen10.so -> /oracle/db/lib/libhasgen10.so
libttsh10.a -> /oracle/db/lib/libttsh10.a
libocr10.a -> /oracle/db/lib/libocr10.a
libocr10.so -> /oracle/db/lib/libocr10.so
libocrutl10.a -> /oracle/db/lib/libocrutl10.a
libocrutl10.so -> /oracle/db/lib/libocrutl10.so
libuini10.so -> /oracle/db/lib/libuini10.so
libuini10.a -> /oracle/db/lib/libuini10.a
libocrb10.a -> /oracle/db/lib/libocrb10.a
libocrb10.so -> /oracle/db/lib/libocrb10.so
exec(): 0509-036 Cannot load program /oracle/db/bin/crsctl.bin because of the following errors:
0509-150 Dependent module libhasgen10.a(shr_hasgen10.o) could not be loaded.
0509-022 Cannot load module libhasgen10.a(shr_hasgen10.o).
0509-026 System error: A file or directory in the path name does not exist.
exec(): 0509-036 Cannot load program /oracle/db/bin/clscfg.bin because of the following errors:
0509-150 Dependent module libhasgen10.a(shr_hasgen10.o) could not be loaded.
0509-022 Cannot load module libhasgen10.a(shr_hasgen10.o).
0509-026 System error: A file or directory in the path name does not exist.
Configuration for local CSS has been initialized
Failed configure CSS. Fix the problem and rerun this script from destination Oracle home with 'reset' argument
******************** Solution ********************************
export LIBPATH=/oracle/db/lib:/usr/dt/lib:/usr/openwin/lib:/oracle/db/ctx/lib:/oracle/db/lib32
export LD_LIBRARY_PATH=/oracle/db/lib:/usr/dt/lib:/usr/openwin/lib:/oracle/db/ctx/lib
Make symbolic link for each of the following files in /usr/lib from $ORACLE_HOME/lib
Example: ln -s /oracle/db/lib/libttsh10.a libttsh10.a
libhasgen10.a -> /oracle/db/lib/libhasgen10.a
libhasgen10.so -> /oracle/db/lib/libhasgen10.so
libttsh10.a -> /oracle/db/lib/libttsh10.a
libocr10.a -> /oracle/db/lib/libocr10.a
libocr10.so -> /oracle/db/lib/libocr10.so
libocrutl10.a -> /oracle/db/lib/libocrutl10.a
libocrutl10.so -> /oracle/db/lib/libocrutl10.so
libuini10.so -> /oracle/db/lib/libuini10.so
libuini10.a -> /oracle/db/lib/libuini10.a
libocrb10.a -> /oracle/db/lib/libocrb10.a
libocrb10.so -> /oracle/db/lib/libocrb10.so
|