SUSE Linux: root.sh fails with: Failed to install ohasd startup script, error: Inappropriate ioctl for device (Doc ID 1485604.1)

Last updated on OCTOBER 24, 2013

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
SUSE \ UnitedLinux x86-64

Symptoms

11gR2 GI root script (root.sh or rootupgrade.sh) fails on Suse Linux (SLES) with below error:

output of root script

Failed to install ohasd startup script, error: Inappropriate ioctl for device
Can't install ohasd service: Inappropriate ioctl for device at /app/oracle/grid/1120_grid/product/11.2.0.3/crs/install/crsconfig_lib.pm line 5375.


<GI_HOME>/cfgtoollogs/crsconfig/rootcrs_<node>.log or roothas.log

2012-08-20 11:28:44: Executing cmd: /bin/rpm -q sles-release
2012-08-20 11:28:44: Command output:
> sles-release-11.1-1.152
>End Command output
2012-08-20 11:28:44: Executing cmd: /usr/lib/lsb/install_initd /etc/init.d/ohasd
2012-08-20 11:28:44: Command output:
> insserv: script ipmi.hp: service ipmidrv already provided!
> insserv: warning: script 'init.ohasd' missing LSB tags and overrides
> insserv: Default-Start undefined, assuming default start runlevel(s) for script `init.ohasd'
> insserv: There is a loop between service simpana and init.ohasd if stopped
> insserv: loop involving service init.ohasd at depth 2
> insserv: loop involving service simpana at depth 1
> insserv: Stopping init.ohasd depends on Galaxy and therefore on system facility `$all' which can not be true!
> insserv: exiting now without changing boot order!
>End Command output
2012-08-20 11:28:44: Failed to install ohasd startup script, error: Inappropriate ioctl for device
2012-08-20 11:28:44: ###### Begin DIE Stack Trace ######
2012-08-20 11:28:44: Package File Line Calling
2012-08-20 11:28:44: --------------- -------------------- ---- ----------
2012-08-20 11:28:44: 1: main roothas.pl 206 crsconfig_lib::dietrap
2012-08-20 11:28:44: 2: crsconfig_lib crsconfig_lib.pm 5360 main::__ANON__
2012-08-20 11:28:44: 3: main roothas.pl 352 crsconfig_lib::register_service
2012-08-20 11:28:44: ####### End DIE Stack Trace #######

OR

2013-08-29 14:46:48: Executing cmd: /usr/lib/lsb/install_initd /etc/init.d/ohasd
2013-08-29 14:46:48: Command output:
> insserv: warning: script 'init.tfa' missing LSB tags and overrides
> insserv: Default-Start undefined, assuming default start runlevel(s) for script `init.tfa'
> insserv: There is a loop between service hostagent and init.tfa if stopped 
> insserv: loop involving service init.tfa at depth 2
> insserv: loop involving service hostagent at depth 1
> insserv: Stopping init.tfa depends on hostagent and therefore on system facility `$all' which can not be true!
> insserv: exiting now without changing boot order!
>End Command output
2013-08-29 14:46:48: Failed to install ohasd startup script, error: Inappropriate ioctl for device

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms