在静默安装gi时遇到[FATAL] [INS-30001] The ASMSNMP password is empty.报错。
$ ./runInstaller -responseFile /grid/app/grid/grid_install.rsp -silent -ignorePrereq -showProgress
********************************************************************************
Your platform requires the root user to perform certain pre-installation
OS preparation. The root user should run the shell script 'rootpre.sh' before
you proceed with Oracle installation. rootpre.sh can be found at the top level
of the CD or the stage area.
Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle
installation.
Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.
********************************************************************************
Has 'rootpre.sh' been run by root on all nodes? [y/n] (n)
y
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 190 MB. Actual 2722 MB Passed
Checking swap space: must be greater than 150 MB. Actual 16384 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-06-05_03-48-28PM. Please wait ...$ [WARNING] [INS-30011] The SYS password entered does not conform to the Oracle recommended standards.
CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
ACTION: Provide a password that conforms to the Oracle recommended standards.
[FATAL] [INS-30001] The ASMSNMP password is empty.
CAUSE: The ASMSNMP password should not be empty.
ACTION: Provide a non-empty password.
--解决办法
response文件grid_install.rsp中添加密码,再次安装就可以通过了
oracle.install.asm.monitorPassword=oracle
$ ./runInstaller -responseFile /grid/app/grid/grid_install.rsp -silent -ignorePrereq -showProgress
********************************************************************************
Your platform requires the root user to perform certain pre-installation
OS preparation. The root user should run the shell script 'rootpre.sh' before
you proceed with Oracle installation. rootpre.sh can be found at the top level
of the CD or the stage area.
Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle
installation.
Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.
********************************************************************************
Has 'rootpre.sh' been run by root on all nodes? [y/n] (n)
y
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 190 MB. Actual 2373 MB Passed
Checking swap space: must be greater than 150 MB. Actual 16384 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-06-05_04-02-02PM. Please wait ...$ [WARNING] [INS-30011] The SYS password entered does not conform to the Oracle recommended standards.
CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
ACTION: Provide a password that conforms to the Oracle recommended standards.
[WARNING] [INS-30011] The ASMSNMP password entered does not conform to the Oracle recommended standards.
CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
ACTION: Provide a password that conforms to the Oracle recommended standards.
[WARNING] [INS-41813] OSDBA for ASM, OSOPER for ASM, and OSASM are the same OS group.
CAUSE: The group you selected for granting the OSDBA for ASM group for database access, and the OSOPER for ASM group for startup and shutdown of Oracle ASM, is the same group as the OSASM group, whose members have SYSASM privileges on Oracle ASM.
ACTION: Choose different groups as the OSASM, OSDBA for ASM, and OSOPER for ASM groups.
[WARNING] [INS-32018] The selected Oracle home is outside of Oracle base.
CAUSE: The Oracle home selected was outside of Oracle base.
ACTION: Oracle recommends installing Oracle software within the Oracle base directory. Adjust the Oracle home or Oracle base accordingly.
You can find the log of this install session at:
/oracle/oracle/oraInventory/logs/installActions2018-06-05_04-02-02PM.log
Prepare in progress.
.................................................. 9% Done.
Prepare successful.
Copy files in progress.
.................................................. 19% Done.
.................................................. 24% Done.
Shell will time out in 60 seconds.
$ .................................................. 29% Done.
.................................................. 34% Done.
.................................................. 39% Done.
.................................................. 44% Done.
..............................
Copy files successful.
.................................................. 57% Done.
Link binaries in progress.
Link binaries successful.
.................................................. 73% Done.
Setup files in progress.
Shell will time out in 60 seconds.
$ .................................................. 89% Done.
Setup files successful.
The installation of Oracle Grid Infrastructure 11g was successful.
Please check '/oracle/oracle/oraInventory/logs/silentInstall2018-06-05_04-02-02PM.log' for more details.
.................................................. 94% Done.
Execute Root Scripts in progress.
As a root user, execute the following script(s):
1. /grid/app/11.2.0/grid/root.sh
.................................................. 100% Done.
Execute Root Scripts successful.
As install user, execute the following script to complete the configuration.
1. /grid/app/11.2.0/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=
Note:
1. This script must be run on the same host from where installer was run.
2. This script needs a small password properties file for configuration assistants that require passwords (refer to install guide documentation).
Successfully Setup Software.
参考资料:
https://community.oracle.com/thread/2406166