Solved

Oracle 11gR2 - linux issue

Posted on 2010-08-13
9
1,987 Views
Last Modified: 2013-12-15
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.
0
Comment
Question by:el123
  • 5
  • 2
  • 2
9 Comments
 
LVL 11

Expert Comment

by:PlatoConsultant
Comment Utility

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




0
 

Author Comment

by:el123
Comment Utility
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.
 
0
 
LVL 25

Expert Comment

by:madunix
Comment Utility
did you install 64bit or 32bit?
show me #env |grep LD_LIBRARY_PATH.
0
 

Author Comment

by:el123
Comment Utility
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:~>

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 25

Expert Comment

by:madunix
Comment Utility
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.
0
 

Accepted Solution

by:
el123 earned 0 total points
Comment Utility
thanks madunix ... but it was an environment variable problem, the .bashrc was having some problem, as I removed it, it worked fine, thanks for you help, but it was just a bad environment variable, which was causing this problem.

0
 
LVL 11

Expert Comment

by:PlatoConsultant
Comment Utility
did u cut and paste the environment variables into the bash profile ?
0
 

Author Comment

by:el123
Comment Utility
yes ... :-(
0
 

Author Comment

by:el123
Comment Utility
with some modifications
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

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 post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Via a live example, show how to take different types of Oracle backups using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

772 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

11 Experts available now in Live!

Get 1:1 Help Now