Today, my colleague is having trouble installing GI. Let me help you look.
The following records are for example:
Problem phenomenon:
When installing GI, run the root.sh report for example the following error;
Problem solving:
After confirming that the version number is 11.2.0.1 there is a bug problem, randomly adopted a temporary solution:
[[Email protected] grid] #cd /var/tmp/.oracle/[[email protected]. oracle]# ls-ltotal 0prw-r--r--. 1 grid oinstall 0 No V 15:19 npohasd[[email protected]. oracle]# chown root:oinstall NPOHASD [[email protected]. oracle]# ls-ltotal 0prw-r- -R--. 1 root oinstall 0 Nov 15:19 NPOHASD
Run root.sh again:
[[email protected] orainventory]#/u01/app/grid/11.2.0/root.sh Running Oracle 11g root.sh script ... The following environment variables is set as:oracle_owner= grid oracle_home=/u01/app/grid/11.2.0enter the full Pathname of the Local bin directory: [/usr/local/bin]: The file "Dbhome" already exists in/usr/local/bin. Overwrite it? (y/n) [n]: y Copying dbhome to/usr/local/bin ... The file "Oraenv" already exists in/usr/local/bin. Overwrite it? (y/n) [n]: The file "Coraenv" already exists in/usr/local/bin. Overwrite it? (y/n) [n]: Creating/etc/oratab file ... Entries'll be added to The/etc/oratab file as needed bydatabase Configuration Assistant when a database is Createdfinis Hed running generic part of root.sh script. Now product-specific root actions would be performed.2014-11-18 15:55:09:checking for super User privileges2014-11-18 15:5 5:09:user has super User privileges2014-11-18 15:55:09:parsing the host nameusing configuration parameter file:/u01/app /grid/11.2.0/crs/install/crsconfig_paramscreating Trace directorylocal ADD MODE Creating OCR keys for user ' grid ', Privgrp ' Oinst All '. Operation successful. Crs-4664:node localhost successfully pinned. Adding Daemon to inittabcrs-4123:oracle high availability Services have been STARTED.OHASD is STARTINGADVM/ACFS are not sup Ported on Oraclelinux-release-6server-4.0.4.x86_64localhost 2014/11/18 15:55:33/u01/app/grid/11.2.0/cdata/localho st/backup_20141118_155533.olrsuccessfully configured Oracle Grid Infrastructure for a Standalone serverupdating Inventory properties for clusterwarestarting Oracle Universal Installer ... Checking swap space:must be greater than MB. Actual 3998 MB passedthe inventory pointer is located at/etc/orainst.locthe inventory is located at/u01/app/orainvent Ory ' Updatenodelist ' was successful. [[email protected] orainventory]#
This problem has been solved temporarily!
Note: If you have previously installed GI, you will need to delete the previous configuration information when running root.sh: commands such as the following:
/u01/app/11.2.0/grid/crs/install/roothas.pl-deconfig-force-verbose
OHASD failed to start:inappropriate IOCTL for device