Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Oracle 11gR2 - linux issue

Posted on 2010-08-13
9
Medium Priority
?
2,004 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
9 Comments
 
LVL 11

Expert Comment

by:PlatoConsultant
ID: 33435141

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
ID: 33439755
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
ID: 33449760
did you install 64bit or 32bit?
show me #env |grep LD_LIBRARY_PATH.
0
Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

 

Author Comment

by:el123
ID: 33449783
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
 
LVL 25

Expert Comment

by:madunix
ID: 33465259
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
ID: 33468727
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
ID: 33471052
did u cut and paste the environment variables into the bash profile ?
0
 

Author Comment

by:el123
ID: 33471768
yes ... :-(
0
 

Author Comment

by:el123
ID: 33471771
with some modifications
0

Featured Post

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to recover a database from a user managed backup
Suggested Courses

705 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