Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Execute srvctl error report: error while loading shared libraries: libpthread.so.0:

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Execute srvctl to report an error error while loading shared libraries: libpthread.so.0: [oracle@rac02 ~] $srvctl / opt/ora10g/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 view the srvctl command, the correct one should be? / crs/bin directory, while the local [oracle@rac02 ~] $which srvctl/opt/ora10g/product/10.2.0/db_1/bin/srvctl view variable setting [oracle@rac02 ~] $more .bash _ profile# .bash _ profile# Get the aliases and functionsif [- f ~ / .bashrc]; then. ~ / .bashrcfi # User specific environment and startup programsPATH=$PATH:$HOME/binexport PATHexport TMP=/tmpexport TMPDIR=$TMPexport ORACLE_BASE=/opt/ora10gexport ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1export ORACLE_SID=RACDB1export ORACLE_TERM=xtermexport PATH=/usr/sbin:$PATHexport PATH=$ORACLE_HOME/bin:$PATHexport LD_LIBRARY_PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlibulimit-u 16384- N 65536umask 022 this column export PATH=$ORACLE_HOME/bin:$PATH does not have crs_home so you will find srvctl $vi / home/oracle/.bash_profile under $ORACLE_HOME/bin add the following information export CRS_HOME=$ORACLE_BASE/product/10.2.0/crs modify export PATH=$ORACLE_HOME/bin:$PATH to export PATH=$CRS_HOME/bin:$ORACLE_HOME/bin:$ path [oracle @ rac02 ~] $source .bash _ profile [oracle@rac02 ~] $which srvctl/opt/ora10g/product/10. 2.0/crs/bin/srvctl found the correct srvctl command $vi / opt/ora10g/product/10.2.0/crs/bin/vipca comment out LD_ASSUME_KERNEL=2.4.19 export LD_ASSUME_KERNEL as follows: # Remove this workaround when the bug 3937317 is fixed arch= `uname-m`if ["$arch" = "i686"-o "$arch" = "ia64"-o "$arch" = "x86x64"] then # LD_ ASSUME_KERNEL=2.4.19 # export LD_ASSUME_ Kernel [oracle @ rac02 bin] $srvctl usage: srvctl [] Command: enable | disable | start | stop | relocate | status | add | remove | modify | getenv | unsetenv | config object: database | instance | service | nodeapps | asm | listener for detailed help on each command and object Please use: srvctl-h to execute srvctl to view the database information registered by OCR [oracle@rac02 ~] $srvctl config databaseRACDB indicates that a database, RACDB, is registered in OCR.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report