新手求助,suse RAC双机静默安装oracle11gR2的grid报错了
The specified interface information is incorrect.CAUSE: Either the format of the information entered was incorrect, or the interface name or subnet information was incorrect.
ACTION: Enter the correct interface information before proceeding
The specified interface information is incorrect.
CAUSE: Either the format of the information entered was incorrect, or the interface name or subnet information was incorrect.
ACTION: Enter the correct interface information before proceeding
Interface [] has multiple subnets associated with it.
CAUSE: Interface [] has been marked as both Public and Private.
ACTION: Designate interface [] either as Public or Private, but not both Public and Private.
请大家帮忙解答一下,都愁死了,谢谢各位了 请大家帮帮忙,真的很着急 已经找到答案了
INS-41101、INS-41103都与grid.rsp中的oracle.install.crs.config.networkInterfaceList这个配置错误有关系 INS-41101、INS-41103可能会与两处有关系,
1、检查/etc/hosts是否配置正确
2、grid.rsp中的oracle.install.crs.config.networkInterfaceList这个配置错误有关系(大部分情况出现在此)
#!/usr/bin/expect -f
# vi:set ts=8 sw=4 noet sta:
#
# Author: dearvoid (MSN: dearvoid@263.net)
#
# $Source: /AS_ATAE_CVS/ATAEV100R002C01/Code/SOLUTION/ora11g_x64_rac/rac-conf/enable_auto_ssh.exp,v $
# $Revision: 1.1 $
#
## variables
set prefix "\033\[1;31m>>>\033\[0m"
proc usage {} {
regsub ".*/" $::argv0 "" name
send_user "Usage:\n"
send_user " $name \host password\n"
send_user "\n"
send_user "Report bugs to <\033\31mdearvoid@263.net\033\[0m>\n"
exit 1
}
proc check_id_files {} {
if {! } {
send_user "$::prefix id file not found, try creating ...\n"
if {} {
send_error "$::prefix $error\n"
exit 1
}
expect -nocase -re "\(.*\):"
send -- "\r"
expect -nocase -re "passphrase.*:"
send -- "\r"
expect -nocase -re "passphrase.*again:"
send -- "\r"
expect eof
send_user "$::prefix id file successfully created\n"
}
}
proc remove_known_hosts_entry {host} {
regsub ".*/" $::argv0 "" name
set tmp_file "/tmp/$name.tmp"
set known_hosts "$::env(HOME)/.ssh/known_hosts"
send_user "$::prefix trying to remove '$host' from ~/.ssh/known_hosts ... "
if {[catch {
set fd_known_hosts
set fdTmp
while 1 {
gets $fd_known_hosts line
if {
break
}
if +,)*${host}(,\[^, ]+)* " $line] {
continue
}
puts $fdTmp $line
}
close $fd_known_hosts
close $fdTmp
file rename -force $tmp_file $known_hosts
send_user "OK\n"
} error]} {
send_user "failed\n"
send_user "$::prefix $error\n"
exit 1
}
}
## get host and password from command line parameters
if { != 2} {
usage
}
set user@host
set passwd
## create public key file if not found
set id_file "$env(HOME)/.ssh/id_rsa.pub"
check_id_files
## ssh to host
set yes_no 0
set ok_string SUCCESS
set timeout 5
set done 0
while {!$done} {
spawn ssh ${user@host} echo $ok_string
expect {
-nocase -re "yes/no" {
set yes_no 1
send -- "yes\r"
set done 1
}
-nocase -re "password: " {
set done 1
}
$ok_string {
send_user "$prefix ok\n"
exit 0
}
"@@@@@@@@@@@@@@@@@@@@" {
expect eof
set indexOfAtSign
incr indexOfAtSign
set hostname
remove_known_hosts_entry $hostname
}
eof {
send_error "$prefix failed\n"
exit 1
}
timeout {
send_error "$prefix timeout\n"
#modified by z60006453 for problem AB6D00409 and AB6D00410 start
exit 16
#exit 1
#modified by z60006453 for problem AB6D00409 and AB6D00410 end
}
}
}
if {$yes_no} {
expect {
$ok_string {
send_user "$prefix ok\n"
exit 0
}
-nocase -re "password: " {}
}
}
send -- "$passwd\r"
expect {
-nocase "try again" {
send_error "$prefix passwd error\n"
#袁乐林修改密码错误退出码开始
#exit 1
exit 11
#袁乐林修改密码错误退出码结束
}
#李博修改问题单A01D71511开始,解决密码输入错误时,再次输入密码的烦琐,改为仅有一次输入机会
-nocase "password:" {
send_error "$prefix passwd error\n"
#袁乐林修改密码错误退出码开始
#exit 1
exit 11
#袁乐林修改密码错误退出码结束
}
#李博修改问题单A01D71511结束
$ok_string {}
}
expect eof
## append public key file to remote host's ~/.ssh/authorized_keys
if {[catch {
set IDFILE
set pub_key
close $IDFILE
} error]} {
send_error "$prefix $error\n"
exit 1
}
set pub_key
spawn ssh ${user@host} "cd; mkdir .ssh 2> /dev/null; echo '$pub_key' >> .ssh/authorized_keys"
expect -nocase -re "password:"
send -- "$passwd\r"
expect eof
send_user "$prefix gook luck\n"
## THE END
请帮忙解释下
页:
[1]