The "/u01/app/oracle/agent10g/cfgtoollogs/configToolAllCommands" script contains all commands to be executed by the configuration assistants. This file may be used to run the configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
--------------------------------------
The installation of Oracle Management Agent was successful, but some optional configuration assistants failed, were cancelled or skipped.
Please check '/u01/app/oracle/oraInventory/logs/silentInstall2015-01-10_10-35-23AM.log' for more details.
Completed with Status=1
仍然有错误,还说主机名检查失败,不能包含“-”连字符号,难道是这个问题?
再检查一下安装日志,看看有没有其他线索
[oracle@ocm1 oracle]$ cd /u01/app/oracle/oraInventory/logs/
[oracle@ocm1 logs]$ tail -20 installActions2015-01-10_10-35-23AM.log
INFO: DefaultifyLangiages : Value of oracle.installer.defaultifyLanguages : false
INFO: Install Mode : Non FastMode
INFO: Performing operation for OUI Shiphome access setup
INFO:
*** Select a Product to Install Page***
INFO: Setting the 'TopLevelComp ( ToplevelComp )' property to 'oracle.sysman.top.agent, 10.2.0.1.1, >0.0.0.0.0, [ 46 ][OH:2]'. Received the value from the default settings.
INFO:
*** Select Installation Type Page***
INFO: Setting variable 'INSTALL_TYPE' to 'Complete'. Received the value from response file.
INFO: Setting the 'InstallType ( DEP_MODE )' property to 'Complete'. Received the value from the default settings.
INFO: Setting the 'TopLevelInstallType ( TLDepModes )' property to 'Complete'. Received the value from the default settings.
INFO: The selected install type is "Complete".
INFO:
*** Specify Home Details Page***
INFO: Setting the 'OracleHome ( ORACLE_HOME )' property to '/u01/app/oracle//agent10g'. Received the value from the command line.
INFO: Setting the 'OracleHomeName ( ORACLE_HOME_NAME )' property to 'agent10g1'. Received the value from the command line.
似乎也没发现什么问题,难道真的是hostname的原因引起的吗?