【发布时间】:2016-06-21 16:53:11
【问题描述】:
我需要通过 chef 安装 oracle 12.1 客户端软件。静默安装后,厨师食谱失败。错误详情:
[2016-06-21T11:53:02+00:00] ERROR: Running exception handlers
[2016-06-21T11:53:02+00:00] ERROR: Exception handlers complete
[2016-06-21T11:53:02+00:00] FATAL: Stacktrace dumped to /u01/media/chef- stacktrace.out
[2016-06-21T11:53:02+00:00] ERROR: execute[Install database client] (rgbu_dbclient::dbclientinstall_12c line 81) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '6'
---- Begin output of /u01/media/dbclient/client/runInstaller -logLevel fine -waitforcompletion -ignoreSysPrereqs -silent -responseFile /u01/media/dbclient_install.rsp ----
STDOUT: Starting Oracle Universal Installer...
Checking Temp space: must be greater than 415 MB. Actual 22942 MB Passed
Checking swap space: must be greater than 150 MB. Actual 7492 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-06-21_11-51-31AM. Please wait ...[WARNING] [INS-13014] Target environment does not meet some optional requirements.
CAUSE: Some of the optional prerequisites are not met. See logs for details. /u01/product/oraInventory/logs/installActions2016-06-21_11-51-31AM.log
ACTION: Identify the list of failed prerequisite checks from the log: /u01/product/oraInventory/logs/installActions2016-06-21_11-51-31AM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
You can find the log of this install session at:
/u01/product/oraInventory/logs/installActions2016-06-21_11-51-31AM.log
The installation of Oracle Client 12c was successful.
Please check '/u01/product/oraInventory /logs/silentInstall2016-06-21_11-51-31AM.log' for more details.
Successfully Setup Software.
STDERR:
---- End output of /u01/media/dbclient/client/runInstaller -logLevel fine -waitforcompletion -ignoreSysPrereqs -silent -responseFile /u01/media/dbclient_install.rsp ----
Ran /u01/media/dbclient/client/runInstaller -logLevel fine -waitforcompletion -ignoreSysPrereqs -silent -responseFile /u01/media/dbclient_install.rsp returned 6
[2016-06-21T11:53:02+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
厨师食谱使用 chef-solo 命令运行。 使用相同的命令,从 bash 静默安装成功。
寻找建议/解决方案。
【问题讨论】:
标签: chef-infra chef-solo silent-installer oracleclient