zoukankan      html  css  js  c++  java
  • error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file

    安装rac10g,出现例如以下错误:

    [root@rac2 oracle]#  /u01/product/crs/root.sh 
    WARNING: directory '/u01/product' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    /etc/oracle does not exist. Creating it now.
    
    Setting the permissions on OCR backup directory
    Setting up NS directories
    Oracle Cluster Registry configuration upgraded successfully
    WARNING: directory '/u01/product' is not owned by root
    clscfg: EXISTING configuration version 3 detected.
    clscfg: version 3 is 10G Release 2.
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: rac1 rac1-priv rac1
    node 2: rac2 rac2-priv rac2
    clscfg: Arguments check out successfully.
    
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Oracle Cluster Registry for cluster has already been initialized
    Startup will be queued to init within 90 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    CSS is active on these nodes.
            rac1
            rac2
    CSS is active on all nodes.
    Waiting for the Oracle CRSD and EVMD to start
    Waiting for the Oracle CRSD and EVMD to start
    Oracle CRS stack installed and running under init(1M)
    Running vipca(silent) for configuring nodeapps
    /u01/product/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory


    处理办法:

    1、加入unset LD_ASSUME_KERNEL <<<== Line to be added
    操作例如以下:

    /u01/product/crs/bin
    vi vipca
    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         <<<== Line to be added

    2、设置ip:

    root@rac2 bin]# ./oifcfg getif
    [root@rac2 bin]# ./oifcfg setif -global eth0/192.168.10.0:public
    [root@rac2 bin]# ./oifcfg setif -global eth1/192.168.20.0:cluster_interconnect
    [root@rac2 bin]# ./oifcfg getif
    eth0  192.168.10.0  global  public
    eth1  192.168.20.0  global  cluster_interconnect


    在oui运行vipca命令,(注意在root下)
    [root@rac2 bin]# ./vipca
    须要把两个节点都加入进去,然后填写vip地址
    ./crs_stat -t

  • 相关阅读:
    SEO工作中如何增加用户体验?10个细节要注意!
    网站优化不等于搜索引擎优化SEO
    新站不收录内页的原因及解决办法
    网站搜索引擎优化(SEO)的18条守则
    网站优化(SEO)的10大误区
    网页设计师必知的10则SEO
    站内SEO规范
    影响SEO 搜索引擎优化的网页制作细节
    推荐两个国外网站-帮你优化网站SEO和预测下期的PR值
    简单介绍百度与谷歌关于收录的不同之处
  • 原文地址:https://www.cnblogs.com/mfrbuaa/p/4054508.html
Copyright © 2011-2022 走看看