ORACLE--10G安装问题( error while loading shared libraries)

01,问题描述

问题一:
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root

问题二:
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/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

02,问题一

  这个问题可以忽略

03,问题二

  原因是

  然 而这个系统是5或者以上版本就会出现这个问题

  解决办法:

  修改vipca

进去到¥ORACLE_HOME/bin下面

[root@shlpdbwx02 bin]# ls vipca
vipca
[root@shlpdbwx02 bin]# pwd
/u01/app/oracle/product/10.2.0/db_1/bin 
在这个位置添加一个 unset LD_ASSUME_KERNEL

 

 
 

 

[root@shlpdbwx02 bin]# ./vipca
Error 0(Native: listNetInterfaces:[3])
  [Error 0(Native: listNetInterfaces:[3])]
[root@shlpdbwx02 bin]# ./oifcfg iflist
eth0  192.168.0.0
eth1  172.168.0.0
----ip 地址为自己服务器网段的地址
[root@shlpdbwx02 bin]# ./oifcfg setif -global eth0/192.168.0.0:public
[root@shlpdbwx02 bin]#  ./oifcfg setif -global eth1/172.168.0.0:cluster_interconnect
[root@shlpdbwx02 bin]# ./oifcfg iflist
eth0  192.168.0.0
eth1  172.168.0.0
[root@shlpdbwx02 bin]# ./oifcfg getif
eth0  192.168.0.0  global  public
eth1  172.168.0.0  global  cluster_interconnect
[root@shlpdbwx02 bin]#./vipca

 

 

 

转载于:https://www.cnblogs.com/kingle-study/p/11155643.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
当你遇到 "jps: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory" 错误时,这通常发生在Java程序中,特别是当你运行Java进程(例如使用JPS命令检查Java进程状态)时,系统找不到名为 `libjli.so` 的共享库文件。`libjli.so` 通常与OracleJava Development Kit (JDK) 或者Java运行时环境 (JRE) 中的JavaFX库相关。 解决这个问题,你可以按照以下步骤操作: 1. **确认文件存在**:首先,请确保`libjli.so` 文件确实存在于预期的位置,如`<JAVA_HOME>/jre/lib/amd64/server` 或 `<JAVA_HOME>/jre/lib/`. 2. **检查安装**:如果文件不存在,可能是因为JavaFX没有正确安装,或者你尝试运行的Java程序依赖了JavaFX但系统没有找到它。确认你的系统是否安装JavaFX,如果没有,你需要安装相应的版本。 3. **环境变量设置**:如果你的Java安装路径不是默认的 `/usr/lib/jvm/`,请确保`JAVA_HOME` 和`JRE_HOME` 环境变量已经配置正确,并指向你的Java安装目录。 4. **重新启动Java进程**:关闭并重新启动你的Java应用程序或服务,有时候仅重启就足以解决因加载库顺序问题导致的错误。 5. **更新或修复JDK/JRE**:如果文件缺失,尝试更新你的Java版本到最新稳定版,或者修复已安装的包。 6. **检查依赖和版本冲突**:如果有多个版本的Java或库文件,确保它们之间没有冲突。 如果上述步骤无法解决问题,你可能需要提供更多的上下文信息以便更准确地诊断,比如你在执行哪个具体的Java项目,或者你的系统环境(操作系统、JDK版本等)。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值