Link to home
Start Free TrialLog in
Avatar of el123
el123Flag for United States of America

asked on

Oracle 11gR2 - linux issue

Hi guys,

I'm configuring my Oracle 11gR2 RAC @ SUSE 10 Enterprise Server, all was good, until yesterday, when I installed asmlib and then created 2 diskgroups too, still all well.

Don't know what went wrong on node1 that I'm continuously getting this error:
Last login: Fri Aug 13 16:58:51 2010
oracle@oracle-node1:~> ls
ERROR: ld.so: object '/home/oracle/libcwait.so' from LD_PRELOAD cannot be preloa ded: ignored.
authorized_keys Desktop Documents oradiag_oracle PROFILE tmp

node2 is good and no issues at all, can see all my ASM disks from both the servers, but when trying to install Grid, it is failing at ssh connectivity, because whenever I run a command it gives this error ...
oracle@oracle-node1:~>
oracle@oracle-node1:~> ssh node2 date
ERROR: ld.so: object '/home/oracle/libcwait.so' from LD_PRELOAD cannot be preloaded: ignored.
ssh: node2: Name or service not known
oracle@oracle-node1:~>

Have tried a lot ... but still no clue, and interesting part is this that there is no libcwait.so on node2 ... at /etc or /lib or /usr/lib too ... don't know, why it is looking for this file now.

Please any suggestion, advice or help will be highly appreciated and admired.
Thanks in advance.
Avatar of PlatoConsultant
PlatoConsultant
Flag of United States of America image


did u set the Environment variables
  ORACLE_HOME
  ORACLE_SID in the user profile.


  another  problem can be of having GLIBC wrong version please check it


 try to post last 2 or 3 errors from the alert_log file




Avatar of el123

ASKER

but there is no alert log yet ... as nothing has been done, I'm stuck at Grid installation, step before db installation, and it is also stopping where it is trying to ssh ... from node 1 to node 2 and vice verse ...

but keep in mind that it was working fine and suddenly only one node (node1) is having this issue, where as node2 is good, no problem at all.

Do advice how to fix, this annoying problem ... thanks.
 
Avatar of madunix
madunix

did you install 64bit or 32bit?
show me #env |grep LD_LIBRARY_PATH.
Avatar of el123

ASKER

64 bit

and here is the output

oracle@oracle-node1:~> env | grep LD_LIBRARY_PATH
ERROR: ld.so: object '/home/oracle/libcwait.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/home/oracle/libcwait.so' from LD_PRELOAD cannot be preloaded: ignored.
LD_LIBRARY_PATH=/opt/oracle/product/10.2/db_1/lib:/opt/oracle/product/10.2/db_1/ctx/lib:/u01/app/oracle/product/9.2.0.1.0/lib:/u01/app/oracle/product/9.2.0.1.0/network/lib
oracle@oracle-node1:~>

to solve it, get the library libcwait.so (or a patch, can't remember the no. XXX) from metalink...
You can download patch from OracleMetaLink (http://metalink.oracle.com). This patch creates the /usr/lib/libcwait.so library and creates entry in /etc/ld.so.preload file so  the /usr/lib/libcwait.so library is always preloaded.
ASKER CERTIFIED SOLUTION
Avatar of el123
el123
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
did u cut and paste the environment variables into the bash profile ?
Avatar of el123

ASKER

yes ... :-(
Avatar of el123

ASKER

with some modifications