Solved

Oracle 11gR2 - linux issue

Posted on 2010-08-13
9
1,990 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
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
 

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

920 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