Solved

Oracle 11gR2 - linux issue

Posted on 2010-08-13
9
1,992 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

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

Suggested Solutions

Title # Comments Views Activity
(Open)LDAP V2.44  search proxy to AD (W2012R2) 37 139
centos linux 65 125
Component is listed with a Protocol more than once 3 28
Create Index on a Materialized View 5 20
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ā€¦
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.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

776 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