Linux 8.10 静默安装 11g [INS-07009] Unable to load bean store 错误解决方法

l
lixiao
3 小时前23 阅读0 评论

1 问题现象

在Oracle Linux 8.10 系统上静默安装11g,报如下错误:
[ora11g@dave database]$ /data/software/database/runInstaller -silent -force -ignorePrereq -ignoreSysPrereqs -responseFile /data/software/database/response/db_install.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 25212 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 4094 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2025-07-24_02-04-56AM. Please wait ...[ora11g@dave database]$ [WARNING] [INS-07009] Unable to load bean store
   CAUSE: Unexpected error while loading the bean store.
   ACTION: Refers logs or contact Oracle Support Services
   SUMMARY:
       - invalid character % in name
[SEVERE] - Email Address Not Specified

2 解决方法

开始以为是响应文件的问题,但是是配置过参数的:
DECLINE_SECURITY_UPDATES=true


所以这里的错误是还没到这一步,查看MOS有说明如下:
12.2 & 12.1 installer and 11.2 patchset crashes with INS-07003 and INS-07009 (Doc ID 1267137.1)


其实这个脚本在Linux 6和7 中是正常运行的,所以还是linux 8 的环境变量有变化,这里的根本原因是环境变量中有%。 
- invalid character % in name

搜索一下,还有不少:
[ora11g@dave database]$ env |grep %
BASH_FUNC_which%%=() {  ( alias;
BASH_FUNC_module%%=() {  _module_raw "$@" 2>&1
BASH_FUNC__module_raw%%=() {  unset _mlshdbg;
BASH_FUNC_switchml%%=() {  typeset swfound=1;
BASH_FUNC_scl%%=() {  if [ "$1" = "load" -o "$1" = "unload" ]; then
BASH_FUNC_ml%%=() {  module ml "$@"


删除 Bash 函数变量
[ora11g@dave ~]$ unset -f module which  _module_raw switchml scl ml 
[ora11g@dave ~]$ env |grep %


重新运行静默安装正常。

评论 (0)

加载评论中...