Ohasd failed to start: Inappropriate ioctl for device, ohasdinappropriate

Source: Internet
Author: User

Ohasd failed to start: Inappropriate ioctl for device, ohasdinappropriate

Today, my colleague encountered a problem when installing GI. Let me take a look. The following record is as follows:

Symptom:

When installing gi, run root. sh and report the following error;

Finished running generic part of root.sh script.Now product-specific root actions will be performed.2014-11-18 15:19:34: Checking for super user privileges2014-11-18 15:19:34: User has super user privileges2014-11-18 15:19:34: 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 'oinstall'..Operation successful.CRS-4664: Node localhost successfully pinned.Adding daemon to inittabCRS-4124: Oracle High Availability Services startup failed.CRS-4000: Command Start failed, or completed with errors.ohasd failed to start: Inappropriate ioctl for deviceohasd failed to start: Inappropriate ioctl for device at /u01/app/grid/11.2.0/crs/install/roothas.pl line 296.[root@localhost 11.2.0]# 


Solution:

After confirming that this version is 11.2.0.1, there is a bug and a temporary solution is adopted at random:

[root@localhost grid]#cd  /var/tmp/.oracle/[root@localhost .oracle]# ls -ltotal 0prw-r--r--. 1 grid oinstall 0 Nov 18 15:19 npohasd[root@localhost .oracle]# chown root:oinstall npohasd [root@localhost .oracle]# ls -ltotal 0prw-r--r--. 1 root oinstall 0 Nov 18 15:19 npohasd


Run root. sh again:

[root@localhost oraInventory]# /u01/app/grid/11.2.0/root.sh Running Oracle 11g root.sh script...The following environment variables are 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 will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root.sh script.Now product-specific root actions will be performed.2014-11-18 15:55:09: Checking for super user privileges2014-11-18 15:55: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 'oinstall'..Operation successful.CRS-4664: Node localhost successfully pinned.Adding daemon to inittabCRS-4123: Oracle High Availability Services has been started.ohasd is startingADVM/ACFS is not supported on oraclelinux-release-6Server-4.0.4.x86_64localhost     2014/11/18 15:55:33     /u01/app/grid/11.2.0/cdata/localhost/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 500 MB.   Actual 3998 MB    PassedThe inventory pointer is located at /etc/oraInst.locThe inventory is located at /u01/app/oraInventory'UpdateNodeList' was successful.[root@localhost oraInventory]# 


Now the problem has been temporarily solved!

 

Note: If you have installed gi before, you need to delete the previous configuration information when executing root. sh: command:

/U01/app/11.2.0/grid/crs/install/roothas. pl-deconfig-force-verbose

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.