首页 > Linux操作系统 > Linux操作系统 > oracle10g RAC srvctl 出错:error while loading shared libraries: libpthread.s
解决方法
/u01/oracle/product/10.2.0/crs_1/bin/srvctl
/u01/oracle/product/10.2.0/crs_1/inventory/Templates/bin/srvctl
/u01/oracle/product/10.2.0/db_1/bin/srvctl
/u01/oracle/product/10.2.0/db_1/inventory/Templates/bin/srvctl
随便打开一个,以/u01/oracle/product/10.2.0/crs_1/bin/srvctl 为例,在第165行,有这样的语句
#Remove this workaround when the bug 3937317 is fixed
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
"Remove this workaround when the bug 3937317 is fixed"这句注释很重要,意思是这段话是为了解决 bug 3937317 而临时添加进来的。现在的问题是RHEL5上已经修复这个Bug了,所以注释掉这两行就行了。
#Remove this workaround when the bug 3937317 is fixed
#LD_ASSUME_KERNEL=2.4.19
#export LD_ASSUME_KERNEL
保存退出。然后再运行 srvctl ,就没有错误了
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7958405/viewspace-689515/ ,如需转载,请注明出处,否则将追究法律责任。