addNode的错误NullPointException

No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

Exception java.lang.NullPointerException occurred..
java.lang.NullPointerException
        at oracle.sysman.oii.oiic.OiicAddNodeSession.initialize(OiicAddNodeSession.java:564)
        at oracle.sysman.oii.oiic.OiicAddNodeSession.<init>(OiicAddNodeSession.java:135)
        at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:860)
        at oracle.sysman.oii.oiic.OiicSessionWrapper.<init>(OiicSessionWrapper.java:186)
        at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:481)
        at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:928)
        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

 

oraInst.loc的权限由问题

 

[oracle@inthrac01 ~]$ ls /etc/oraInst.loc -al
-rwxr-x---  1 root root 63 Jun 20 08:21 /etc/oraInst.loc

 

[oracle@inthrac01 ~]$ su -
Password:
[root@inthrac01 ~]# chmod 777 /etc/oraInst.loc

 

[oracle@inthrac01 ~]$ ls /etc/oraInst.loc -al
-rwxrwxrwx  1 root root 63 Jun 20 08:21 /etc/oraInst.loc

 

就可以了。

 

有这个导致的问题,还包括Opatch的时候

出现

Oracle Home       : /u01/app/oracle/product/10.2.0/db_1
Central Inventory : n/a
   from           :
OPatch version    : 10.2.0.1.0
OUI version       : 10.2.0.1.0
OUI location      : /u01/app/oracle/product/10.2.0/db_1/oui
Log file location : n/a
 
OPatch cannot find a valid oraInst.loc file to locate Central Inventory.
java.lang.RuntimeException: OPatch cannot find a valid oraInst.loc file to locate Central Inventory.
        at oracle.opatch.OPatchEnv.printOPatchHeader(OPatchEnv.java:3071)
        at oracle.opatch.OPatchSession.main(OPatchSession.java:685)
        at oracle.opatch.OPatch.main(OPatch.java:506)

 

 

Oracle技术论坛  http://www.oraforum.net

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

inthirties

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值