Hello Friend's,
In This post we will discuss about the crs error
Error :
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
oracle@dm01or01:/usr/tmp> crsctl start has
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
Issue CSSD,ONS not able to start
dm01or01:/oracle/SRV/app/product/grid/18301/crs/install # perl roothas.pl -deconfig -force
Unknown warnings category 'experimental::autoderef' at crsutils.pm line 693.
BEGIN failed--compilation aborted at crsutils.pm line 694.
Compilation failed in require at crsinstall.pm line 332.
BEGIN failed--compilation aborted at crsinstall.pm line 332.
Compilation failed in require at roothas.pl line 101.
BEGIN failed--compilation aborted at roothas.pl line 101.
dm01or01:/oracle/SRV/app/product/grid/18301/crs/install # ./roothas.sh -deconfig -force
Using configuration parameter file: /oracle/SRV/app/product/grid/18301/crs/install/crsconfig_params
The log of current session can be found at:
/oracle/SRV/app/crsdata/dm01or01/crsconfig/hadeconfig.log
PRCR-1070 : Failed to check if resource ora.asm is registered
CRS-0184 : Cannot communicate with the CRS daemon.
2020/07/25 13:09:38 CLSRSC-180: An error occurred while executing the command '/oracle/SRV/app/product/grid/18301/bin/srvctl remove asm -force'
PRCR-1070 : Failed to check if resource ora.ons is registered
CRS-0184 : Cannot communicate with the CRS daemon.
2020/07/25 13:09:39 CLSRSC-180: An error occurred while executing the command '/oracle/SRV/app/product/grid/18301/bin/srvctl config ons'
2020/07/25 13:09:42 CLSRSC-337: Successfully deconfigured Oracle Restart stack
dm01or01:/oracle/SRV/app/product/grid/18301 # ./root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /oracle/SRV/app/product/grid/18301
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
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]:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /oracle/SRV/app/product/grid/18301/crs/install/crsconfig_params
The log of current session can be found at:
/oracle/SRV/app/crsdata/dm01or01/crsconfig/roothas_2020-07-25_01-24-14PM.log
2020/07/25 13:24:14 CLSRSC-363: User ignored prerequisites during installation
2020/07/25 13:24:20 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'dm01or01'
CRS-2673: Attempting to stop 'ora.evmd' on 'dm01or01'
CRS-2677: Stop of 'ora.evmd' on 'dm01or01' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'dm01or01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
dm01or01 2020/07/25 13:24:43 /oracle/SRV/app/product/grid/18301/cdata/dm01or01/backup_20200725_132443.olr 883505140
2020/07/25 13:24:44 CLSRSC-327: Successfully configured Oracle Restart for a standalone server
Now start the crs and add asm
crsctl start has
srvctl add asm
check the diskstring and start the asm
srvctl start asm
while starting asm i got the below error :
ERROR: diskgroup RECO1 was not mounted
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECO1" cannot be mounted
ORA-15040: diskgroup is incomplete
ORA-15017: diskgroup "DATA" cannot be mounted
ORA-15040: diskgroup is incomplete
Check for the permission and ownership on the Raw disks in my case ownership was oracle:oinstall and permission should be 660 or 644
And now you can do as below :
asmcmd > mount -a
or
sqlplus / as sysasm
alter diskgroup all mount;
Hope This Help's.
Regards
Sultan Khan
1 comments:
Click here for commentsGood solution made it look easy
ConversionConversion EmoticonEmoticon