Centos下安装 oracle11g 博客2

[oracle@wangmengyuan database]$ ./runInstaller -silent -responseFile /home/oracle/database/response/db_install.rsp -ignorePrereq
./runInstaller -silent -responseFile /home/oracle/database/response/db_install.rsp -ignorePrereq
正在启动 Oracle Universal Installer...

检查临时空间: 必须大于 120 MB。   实际为 32537 MB    通过
检查交换空间: 必须大于 150 MB。   实际为 8063 MB    通过
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2023-09-19_07-54-41PM. 
请稍候...[oracle@wangmengyuan database]$ [FATAL] [INS-32025] 所选安装与指定 Oracle 主目录中已安装的软件冲突。
   原因: 所选安装与指定 Oracle 主目录中已安装的软件冲突。
   操作: 请安装到其他 Oracle 主目录。
[oracle@wangmengyuan database]$


https://codeantenna.com/a/ouwM052RFM
删除C:\Program Files (x86)\Oracle\Inventory\ContentsXML目录下的inventory.xml 文件即可。


https://blog.51cto.com/u_4048786/3205567
find / -name inventory.xml
rm -rf /data/oracle/oraInventory/ContentsXML/inventory.xml 


rm -rf /u01/app/oraInventory/ContentsXML/inventory.xml


检查临时空间: 必须大于 120 MB。   实际为 32538 MB    通过
检查交换空间: 必须大于 150 MB。   实际为 8063 MB    通过
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2023-09-19_07-59-29PM. 请稍候...[oracle@wangmengyuan database]$ [WARNING] [INS-32016] 所选 Oracle 主目录包含目录或文件。
   原因: 所选 Oracle 主目录包含目录或文件。
   操作: 要从空的 Oracle 主目录开始, 请删除其内容或选择其他位置。
[WARNING] [INS-32016] 所选 Oracle 主目录包含目录或文件。
   原因: 所选 Oracle 主目录包含目录或文件。
   操作: 要从空的 Oracle 主目录开始, 请删除其内容或选择其他位置。
可以在以下位置找到本次安装会话的日志:
 /u01/app/oraInventory/logs/installActions2023-09-19_07-59-29PM.log
[WARNING] [INS-32016] 所选 Oracle 主目录包含目录或文件。
   原因: 所选 Oracle 主目录包含目录或文件。
   操作: 要从空的 Oracle 主目录开始, 请删除其内容或选择其他位置。
   
   

[oracle@wangmengyuan database]$ tail 100 /u01/app/oraInventory/logs/installActions2023-09-19_07-59-29PM.log
tail: 无法打开"100" 读取数据: 没有那个文件或目录
==> /u01/app/oraInventory/logs/installActions2023-09-19_07-59-29PM.log <==
信息: Completed background operations
信息: Validating state <finish>
警告: Validation disabled for the state finish
信息: Completed validating state <finish>
信息: Terminating all background operations
信息: Terminated all background operations
信息: Successfully executed the flow in SILENT mode
信息: Finding the most appropriate exit status for the current application
信息: Exit Status is 0
信息: Shutdown Oracle Database 11g 发行版 2 安装程序


[root@wangmengyuan database]# sh /u01/app/oracle/product/11.2.0/db_1/root.sh
Check /u01/app/oracle/product/11.2.0/db_1/install/root_wangmengyuan_2023-09-19_20-16-50.log for the output of root script

[root@wangmengyuan database]# tail 100 /u01/app/oracle/product/11.2.0/db_1/install/root_wangmengyuan_2023-09-19_20-16-50.log
tail: 无法打开"100" 读取数据: 没有那个文件或目录
==> /u01/app/oracle/product/11.2.0/db_1/install/root_wangmengyuan_2023-09-19_20-16-50.log <==
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/product/11.2.0/db_1
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.


SPSS
SPSS
stat
/home/oracle/database
./runInstaller -silent -responseFile /home/oracle/database/response/db_install.rsp -ignorePrereq
./runInstaller -silent -responseFile /home/oracle/database/response/db_install.rsp -ignorePrereq

多次安装错误解决方法

/u01/app/oracle 删除oracle文件下面的  要小心该命令不要删除根目录下面的
[oracle@wangmengyuan oracle]$ rm -rf ./*
删除oracle文件下的全部文件

rm -rf /u01/app/oraInventory/ContentsXML/inventory.xml

tail 200 /u01/app/oraInventory/logs/installActions2023-09-20_12-30-13AM.log 
==> /u01/app/oraInventory/logs/installActions2023-09-20_12-30-13AM.log <==
信息: Completed background operations
信息: Validating state <finish>
警告: Validation disabled for the state finish
信息: Completed validating state <finish>
信息: Terminating all background operations
信息: Terminated all background operations
信息: Successfully executed the flow in SILENT mode
信息: Finding the most appropriate exit status for the current application
信息: Exit Status is 0
信息: Shutdown Oracle Database 11g 发行版 2 安装程序

/u01/app/oracle/product/11.2.0/db_1/bin/netca
source ~/.bash_profile

#多看看国外的技术博客信息
#https://stackoverflow.com/questions/58324449/checking-monitor-must-be-configured-to-display-at-least-256-colors-display-env
netca -silent -responseFile /home/oracle/database/response/netca.rsp
export DISPLAY=192.168.52.131:0.0


正在对命令行参数进行语法分析:
参数"silent" = true
参数"responsefile" = /home/oracle/database/response/netca.rsp
完成对命令行参数进行语法分析。
Oracle Net Services 配置:
完成概要文件配置。
Oracle Net 监听程序启动:
    正在运行监听程序控制:
      /u01/app/oracle/product/11.2.0/db_1/bin/lsnrctl start LISTENER
    监听程序控制完成。
    监听程序已成功启动。
监听程序配置完成。
成功完成 Oracle Net Services 配置。退出代码是0

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值