安装grid时报ins 30044错误

背景

朋友说他安装grid时报了ins-30044错误,原因是因为他自己环境变量第一次设置在a目录下

后来安装中途有问题,他把a目录给rm掉了,再次装的时候就报这个错误了

解决方法:

在网上基本没找到和ins-30044错误相关的解决方法,后来在报错界面查看detail按钮查看详情如下:

Cause - Installer has detected Grid Infrastructure home (/opt/product/oracle/11.2.0/grid) registered in the Inventory. But the home location does not exist or is empty.  
Action - Check if the location specified is a valid Grid Infrastructure home. If not unregister the home from inventory using deinstall procedures.

大致原因是说grid已经注册过了

解决方法去查看grid目录是不是有效的,如果这个目录是注册的,就给它从inventory中删除了。

扩展一下inventory目录是oracle 产品的注册目录,该目录可以在环境变量中设置,如果没设置默认在,ORACLE_BASE的上一级

比如ORACLE_BASE是/u01/app/oracle

那么清单目录一般就是/u01/app/oraInventory这个目录

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章