Sunteți pe pagina 1din 6

CRS-4124 CRS-4000 Oracle HAS startup failed after reboot server (...

1 de 6

http://www.anbob.com/archives/2136.html

About Me(DBA)
WEB SITE
Goldengate
JAVA
MongoDB
MYSQL
ORACLE
ORACLE 12C
SQL Server

Rss Feed
Mail
Twitter
ORACLE CRS-4124 CRS-4000 Oracle HAS startup failed after reboot server
(RHEL6)

CRS-4124 CRS-4000 Oracle HAS startup failed after


reboot server (RHEL6)
2014/02/13
ORACLE
2,669 views

Today, someone in the QQ group asked this question ,hi configured Oracle Grid
Infrastructure for a Standalone Server(11.2.0.1) on RHEL 6.4,Restarting the server
Oracle-HAS not starts and shows the next OHAs error:
# crsctl start has
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
# crsctl check has
CRS-4639: Could not contact Oracle High Availability Services
Cause
======================================
The root cause is because the Oracle Grid infrastructure 11.2.0.1 does not support
REL 6,we can use the REL 6 compatible version 11.2.0.3 and higher

23/04/2015 02:33 p.m.

CRS-4124 CRS-4000 Oracle HAS startup failed after reboot server (...

2 de 6

http://www.anbob.com/archives/2136.html

Solution
======================================
[grid@myrac1 ~]$ ps -ef | grep init.ohasd
grid 8203 3000 0 18:47 pts/0 00:00:00 grep init.ohasd
init.ohasd is used to control ohasd (which runs as a binary ohasd.bin).If
init.ohasd is not running ohasd wont be able to start.
cat /etc/inittab|grep init.ohasd
[grid@myrac1 has]$ cat /etc/inittab|grep init.ohasd
h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1
Manually start init.ohasd
#/etc/init.d/init.ohasd start
or
#/sbin/init q
# crsctl check has
CRS-4638: Oracle High Availability Services is online
Other ways:
In RHEL 6 inittab is no longer supported, it uses upstart insted.
See more info in page:http://searchenterpriselinux.techtarget.com/tip/RHEL-6-ditchesSystem-V-init-for-Upstart-What-Linux-admins-need-to-know
To solve the issue do the following:
Create the file:/etc/init/init-oracle.conf
*#start oracle*
start on runlevel [0123456]
stop on runlevel [016]
respawn
exec /etc/init.d/init.ohasd run > /dev/null 2>&1
After the file is created, reboot and Oracle should start normaly
or
Problem is indeed because of upstart/init incompatibility. Here is the working way:
1) Proceed with the installation as usual until root.sh invocation.
2) Before root.sh edit $GRID_HOME/crs/install/s_crsconfig_lib.pm, go to line 1173
(you should find a code like: if ($srv eq ohasd) { # Start OHASD).
3) Insert a following snippet before starting OHASD part (line 1173)
my $UPSTART_OHASD_SERVICE = "oracle-ohasd";
my $INITCTL = "/sbin/initctl";
($status, @output) = system_cmd_capture ("$INITCTL start $UPSTART_OHASD_SERVICE");
if (0 != $status)
{
error ("Failed to start $UPSTART_OHASD_SERVICE, error: $!");

23/04/2015 02:33 p.m.

CRS-4124 CRS-4000 Oracle HAS startup failed after reboot server (...

3 de 6

http://www.anbob.com/archives/2136.html

return $FAILED;
}
4) Create a file /etc/init/oracle-ohasd.conf with the following content inside
# Oracle OHASD startup
start on runlevel [35]
stop on runlevel [!35]
respawn
exec /etc/init.d/init.ohasd run >/dev/null 2>&1
5) Invoke root.sh
6) Finish the installation.
If you previously ran root.sh (not successfully), simply roll it back:
$GRID_HOME/crs/install/roothas.pl -deconfig -force -verbose
Make changes above and continue.
Unsupported: 11.2.0.1/11.2.0.2 GI root.sh Fails on OL6/RHEL6 with ohasd failed to
start: Inappropriate ioctl for device (Doc ID 1557677.1)

Related Posts:
RACNFS
remove a node from 11g r2 rac on OEL5()
Add a node to RAC 11203()
11gR2 RAC ASM
11G R2 Oracle Local Registry(OLR)
after OS reboot ,11g RAC asm not automatic startup ORA-27102
11gr2Grid node2 root.shStart of resource ora.asm -init failed
oracle

Resize datafile hit ORA-01237 ORA-27059 OSD-04005 O/S-Error: (OS 665) on


windows 2008
How to used the gdb (GNU Debugger) Collecting Hanganalyze and Systemstate
Dumps on Linux systems(hanganalyzesystemstate)

...

Listener no register service& INTERMEDIATE status with Not All Endpoints


Registered in 11gR2 RAC
RMAN-06900&RMAN-06901 RMAN-00600 [3045] ORA-19921 when rman connect target
ORA-31693&ORA-31640&ORA-19505 and ORA-39126&ORA-01555&ORA-22924 when impdp 11g

23/04/2015 02:33 p.m.

CRS-4124 CRS-4000 Oracle HAS startup failed after reboot server (...

4 de 6

http://www.anbob.com/archives/2136.html

rac using parallel


Corrupted block & ORA-19566 when using rman backup after restore DB
latch: cache buffers chains & Dont underestimate the rownum = 1
Opatch auto for RAC on hpux ia
Performance Tuning DML hang wait event cursor: pin S wait on X
ORA-04063: package body SYS.DBMS_SQLTUNE_INTERNAL and compile body raise
ORA-00904: XMLAGG
2014
Warning ! RAC Listener offline& VIP failover when dynamically adding disks using
udev after executing start_udev

BACKUP/RECOVERY Goldengate mysql Nosql ora-600


ORACLE11g ORACLE 12C ORACLE ADMIN ORACLE ADMIN oracle asm oracle AWR oracle
dataguard oracle goldengate oracle internal oracle oem oracle plsql/sql oracle
rac ORACLE oracle oracle oracle oracle oracle oracle
oracle OS Command OS Command OS Command Performance tuning primary key
automatic feature Backup/Recovery

profile rac crash shell sqlserver Troubleshooting Troubleshooting


2015
2015
2015
2015
2014
2014
2014
2014
2014
2014
2014
2014
2014
2014
2014
2014
2013
2013
2013
2013
2013
2013
2013
2013
2013
2013
2013
2013
2012

23/04/2015 02:33 p.m.

CRS-4124 CRS-4000 Oracle HAS startup failed after reboot server (...

5 de 6

http://www.anbob.com/archives/2136.html

2012
2012
2012
2012
2012
2012
2012
2012
2012
2012
2012
2011
2011
2011
2011
2011
2011
2011
2011
2011
2011
2011
2011
2010
2010

MySql Link
MySQL Performance Blog
MySQL Performance Test

ORACLE Link
ASKTOM
DBASupport
Gavin Soorma
Jonathan Lewis
Oaktable
oracle docs
oracle-base
orafaq
orainternals
PSOUG
Richard Foote
SS64
Tanel Poder

Others Link
weejar
WordPress Planet

23/04/2015 02:33 p.m.

CRS-4124 CRS-4000 Oracle HAS startup failed after reboot server (...

6 de 6

http://www.anbob.com/archives/2136.html

()

2010-2016 ANBOB.COM |

23/04/2015 02:33 p.m.

S-ar putea să vă placă și