1. 程式人生 > >INS-40725 Failed to run "oifcfg"

INS-40725 Failed to run "oifcfg"

問題描述:
[INS-40725] Unable to determine the existence of an interface with a subnet matching the SCAN VIP subnet.
Cause - A failure has occurred during the determination of the existence of an interface with a subnet matching the SCAN VIP subnet.
Action - Be sure there is a public interface with a subnet matching the SCAN VIP or choose a SCAN VIP with a subnet matching the public interface.
PRCT-1011 : Failed to run "oifcfg"

解決方法(主要是檢視各個環境變數,使變數報錯最小)
一、
windows登錄檔修改
win+R regedit 確定
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters 下新建
Value Name: DisableDHCPMediaSense
Data Type: DWORD
Value: 1

二、root使用者,
vi /etc/profile
##只保留jdk配置資訊,查詢報錯原因。


source /etc/profile
javac ###檢視是否配置成功。

三、切換到grid使用者
source ~/.bash_profile