Oracle Error While Loading Shared Libraries Libpthread.so.0
open shared object file: No such file ordirectory Posted on October 29, 2012 by Sher khan executing roo@rac-node1 bin]#./vipca Error while loading shared libraries: libpthread.so.0 [root@rac3 bin]# cp vipca vipca1 edit vipca (in the CRS bin directory on all nodes) to undo the setting of LD_ASSUME_KERNEL. After the IF statement around line 120 add an unset command to ensure LD_ASSUME_KERNEL is not set as follows: if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
then
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
fi unset LD_ASSUME_KERNEL and same to be unset in the srvctl.sh script. Share this:TwitterFacebookLike this:Like Loading... Related About Sher khan Senior Oracle DBA, Oracle 10g and 11g OCE and OCS, Oracle 11g OPN certified Specialist, OCP Certified in Oracle 9i,10g and 11g. I am working in Oracle technology since 2004. Currently working in U.A.E Email: sher487@hotmail.com View all posts by Sher khan → This entry was posted in Oracle RAC. Bookmark the permalink. ← Failed to upgrade Oracle Cluster Registryconfiguration How To Configure SSH for a RAC Installation /Oracle userequalance → Leave a Reply Cancel reply Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using your Twitter account. (LogOut/Change) You are commenting using your Facebook account. (LogOut/Change) You are commenting using your Google+ account. (LogOut/Change) Cancel Connecting to %s Notify me of new comments via email. Search for: Recent Posts RMAN Backup On Remote Machine Disk OnWindows Find a session which are generating more archivelogs ARCH wait onSENDREQ Stop and Start Recover managed StandbyDatabase Oracle EBS 11i Installationlogs Archives October 2014 September 2014 August 2014 July 2014 June 2014 May 2014 April 2014 September 2013 August 2013 July 2013 May 2013 April 2013 March 2013 January 2013 December 2012 November 2012 October 2012 September 2012 August 2012 Categories ASM Configuration Database administration Database Corruption Database Locks EBS Exadata Linux commands for DBA Materialized view Ocfs2 Oracle Application server Oracle backup & recovery Oracle
receive new blogpostsYour email: Counter Calendar March 2011 M T W T F S S « Feb Apr » 123456 78910111213 14151617181920 21222324252627 28293031 Blogroll Alex Nuijten's Blog All Oracle Blogs Aman Sharma's Oracle Blog Arju's Oracle Blog Ask Anantha AskTom Christian Antognini's Oracle Blog Coskan's Oracle Blog Dion Cho's Oracle Blog Documentation Gökhan Atil's Oracle blog Hemant's Blog Joel Goodman's Oracle Blog Julian Dontcheff's Oracle Blog Laurent Schneider OCP Advisor's Blog Oracle by Madrid Oracle Forum Plugins Richard Foote’s Oracle Blog Rob Van Wijk's Blog Sami Malik's Blog Stan Repetta's Blog Suggest Ideas Support Forum Surachart Opun's Blog Syed https://oracleracdba1.wordpress.com/2012/10/29/error-while-loading-shared-libraries-libpthread-so-0-cannot-open-shared-object-file-no-such-file-or-directory/ Jaffar Hussain Themes Tonguc Yilmaz’s Blog Turkish Oracle Forum Uwe Hesse WordPress Blog WordPress Planet Zekeriye Besiroqlu's Blog Categories Administration DBA scripts Expert Interviews Interview questions My abstracts from Documentation 10gR2 Oracle on Linux Oracle Utilities Qafqaz University RAC issues RMAN Backup and Recovery SQL and PL/SQL TimesTen Uncategorized Video Tutorials Archive October 2016(1) January 2016(1) October 2015(2) August 2015(2) June 2015(1) January 2015(2) December 2014(3) September 2014(1) http://kamranagayev.com/2011/03/17/error-while-loading-shared-libraries-libpthread-so-0-cannot-open-shared-object-file/ July 2014(1) June 2014(1) May 2014(2) March 2014(2) January 2014(1) September 2013(3) August 2013(3) July 2013(2) May 2013(1) April 2013(1) March 2013(2) January 2013(3) December 2012(2) November 2012(4) August 2012(2) July 2012(9) June 2012(3) May 2012(2) April 2012(1) March 2012(1) February 2012(5) January 2012(3) October 2011(4) September 2011(5) July 2011(3) June 2011(3) May 2011(1) April 2011(4) March 2011(7) February 2011(2) January 2011(3) December 2010(2) November 2010(1) October 2010(2) September 2010(2) August 2010(3) July 2010(1) June 2010(4) May 2010(2) April 2010(5) March 2010(4) February 2010(1) December 2009(2) November 2009(10) October 2009(4) September 2009(5) August 2009(3) July 2009(6) June 2009(5) May 2009(2) April 2009(2) March 2009(1) February 2009(3) January 2009(1) December 2008(8) November 2008(2) Meta Log in Subscribe Entries (RSS) Comments (RSS) Kamran Agayev A. My Book - Expert secrets for using RMAN and Data Pump My ebook TROUG Yoga Retreats Recent Posts “Oracle Certified Master 11g Study Guide” – www.ocmguide.com - Free Ebook RMAN "Catalog start with" returns "no files found to be unknown to the database" Oracle 11g Clusterware failure scenarios with practical demonstrations - Webinar Interim patch apply best practices in Oracle ORA-02298: cannot enable name - parent keys not found ORA-00304: requested INSTANCE_NUMBER is busy Wrong parallelism degree for the
RAC Installation Error: error while loading shared libraries -libpthread.so.0 Posted by Milind Koyande on April 15, 2012 2 Comments Read Next → Linux Tips http://eitwebguru.com/oracle-10gr2-rac-installation-error-error-while-loading-shared-libraries-libpthread-so-0/ How Linux Has Influenced the Development of Web Open Source Technology 1) VIPCA Configuration Error 1: error while loading shared libraries -libpthread.so.0 While installing Oracle 10gR2 RAC (Cluster) on http://stackoverflow.com/questions/31833666/error-while-loading-shared-libraries-libsqlplus-so-cannot-open-shared-object-f Redhat Enterprise Linux 5 or CentOS 5 you will get following error when you execute root.sh (After Cluster Installation) on last node. This Error is thrown when root.sh execute oracle error VIPCA which Virtual IP configuration Tool. Running vipca(silent) for configuring nodeapps /u01/app/oracle/product/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory [root@rac2 crs]# To fix this issue edit /u01/app/oracle/product/10.2.0/clust/bin/vipca and add following (Green colored or on line number 124): if [ "$arch" = "i686" -o "$arch" = "ia64" ] then LD_ASSUME_KERNEL=2.4.19 export oracle error while LD_ASSUME_KERNEL fi unset LD_ASSUME_KERNEL Error 2: Error 0(Native: listNetInterfaces:[3]) Once above changes made and when you run /u01/app/oracle/product/10.2.0/clust/bin/vipca you will get following Error [root@rac2 bin]# /u01/app/oracle/product/10.2.0/clust/bin/vipca Error 0(Native: listNetInterfaces:[3]) [Error 0(Native: listNetInterfaces:[3])] Now you will have to configure Virtual IP's Manually. You can configure it using following commands [root@rac2 bin]# pwd /u01/app/oracle/product/10.2.0/clust/bin [root@rac2 bin]# ./oifcfg setif -global eth0/115.124.120.0:public [root@rac2 bin]# ./oifcfg setif -global eth1/10.10.10.1:cluster_interconnect [root@rac2 bin]# ./oifcfg getif eth0 115.124.120.0 global public eth1 10.10.10.0 global cluster_interconnect [root@rac2 bin]# Now Run VIPCA 2) Srvctl Error: While checking status of RAC using command srvctl you will again get the following error: [oracle@rac2 ~]$srvctl config database -d RAC /u01/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory To fix this bug edit following files /u01/app/oracle/product/clust/bin/srvctl /u01/app/oracle/product/10.2.0/db_1/bin/srvctl and add following (Green colored): #Remove this workaround when the bug 3937317 is fixed LD_ASSUME_KERNEL=2.4.19 export LD_ASSUME_KERNEL unset LD_ASSUME_KERNEL Now Execute srvctl commands to check the current configuration and status of the RAC database [oracle@rac1 ~]$ srvctl config database -d RAC rac1 RAC1 /u01/app/oracle/
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory up vote 1 down vote favorite I am running into a peculiar issue for last few days. Here are the details. I am trying to install oracle xe client on an EC2 (redhat like) instance. I am doing this using cloudformation provided by aws which basically first starts the instance and then runs all the script that we provide as root user. While installing it prints the following error message : case 1 ) when i try to run it using full path - /opt/oracle/product/11.2.0/xe/bin/sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory case 2 ) when i run it using sqlplus keyword only sqlplus: command not found Cloudformation will provision the instance first after starting and then only , i can log into the instance. Now when i log in to the instance sqlplus command works perfectlty without any issue. When i echo the environment variables etc, i get proper outputs. i also get everything at proper place too. While provisioning i have created multiple users and they can access the sqlplus too without any problem. Below is the way i am trying to install oracle xe because i had similar requirement. a) Download Oracle 11.2 XE for Linux 64 in your $HOME b) Unzip the zip file you get c) Unpack the content of the rpm file without installing it (we don't need the Oracle RDBMS to be running on the server) and then mkdir ~/Oracle11XE-binaries cd ~/Oracle11XE-binaries # extract all the binaries from the RPM (rather than installing the RPM) rpm2cpio ../Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm | cpio -idmv sudo mkdir /opt/oracle sudo mv u01/app/oracle/product /opt/oracle # clean up downloaded and extracted files (they are BIG) cd rm -rf Disk1 oracle-xe-11.2.0-1.0.x86_64.rpm.zip echo 'export ORACLE_HOME=/opt/oracle/product/11.2.0/xe export PATH=$PATH:$ORACLE_HOME/bin ex