In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you "what to do when deploying Oracle11gR2 to execute root.sh script", the content is simple and clear, and I hope it can help you solve your doubts. Let me lead you to study and learn how to do CRS-2101 problems when deploying Oracle11gR2 to execute root.sh script.
When deploying Oracle11gR2 to execute the root.sh script, bug caused a problem with [client (16400)] CRS-2101:The OLR was formatted using version 3, and then stuck as follows:
[root@qsyxdb1 home] # / u01/app/11.2.0/grid/root.shPerforming root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= / u01/app/11.2.0/grid Enter the full pathname of the local bin directory: [/ usr/local/bin]: Copying dbhome to / usr/local/bin... Copying oraenv to / usr/local/bin... Copying coraenv to / usr/local/bin... 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 script.Now product-specific root actions will be performed.Using configuration parameter file: / u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization-successful root wallet root wallet cert root cert export peer wallet profile reader wallet pa wallet peer wallet keys pa wallet keys peer cert request pa cert request peer cert pa cert peer root cert TP Profile reader root cert TP pa root cert TP peer pa cert TP pa peer cert TP profile reader pa cert TP profile reader peer cert TP peer user cert pa user certAdding Clusterware entries to inittabohasd failed to startFailed to start the Clusterware. Last 20 lines of the alert log follow: 2018-08-16 16 purge 59.741: [client (16400)] CRS-2101:The OLR was formatted using version 3.
Prompt error and get stuck here, do not say much when encountered, directly open another session window, execute / bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1 under the root user (Note: depending on the operating system version, the npohasd file directory may be different, change the directory path can) continue to monitor the root.sh execution output log, as shown below, successfully completed.
CRS-2672: Attempting to start 'ora.mdnsd' on' qsyxdb1'CRS-2676: Start of 'ora.mdnsd' on' qsyxdb1' succeededCRS-2672: Attempting to start 'ora.gpnpd' on' qsyxdb1'CRS-2676: Start of 'ora.gpnpd' on' qsyxdb1' succeededCRS-2672: Attempting to start 'ora.cssdmonitor' on' qsyxdb1'CRS-2672: Attempting to start 'ora.gipcd' on' qsyxdb1'CRS-2676: Start of 'ora.cssdmonitor' on' qsyxdb1' succeededCRS-2676: Start of 'ora.gipcd' On' qsyxdb1' succeededCRS-2672: Attempting to start 'ora.cssd' on' qsyxdb1'CRS-2672: Attempting to start' ora.diskmon' on' qsyxdb1'CRS-2676: Start of 'ora.diskmon' on' qsyxdb1' succeededCRS-2676: Start of' ora.cssd' on' qsyxdb1' succeeded has successfully created and started ASM. Disk group OCR was created successfully. Clscfg:-install mode specifiedSuccessfully accumulated necessary OCR keys.Creating OCR keys for user 'root' Privgrp 'root'..Operation successful.CRS-4256: Updating the profileSuccessful addition of voting disk ada400ba18eb4f92bf9bdaa9171a7775.Successful addition of voting disk 2308ef593a784fb7bff13436b84c61a3.Successful addition of voting disk 3e882c78f43c4f32bff9e12e71de3866.Successfully replaced voting disk group with + OCR.CRS-4256: Updating the profileCRS-4266: Voting file (s) successfully replaced## STATE File Universal Id File Name Disk group -1. ONLINE ada400ba18eb4f92bf9bdaa9171a7775 (/ dev/asmdiskb) [OCR] 2. ONLINE 2308ef593a784fb7bff13436b84c61a3 (/ dev/asmdiskc) [OCR] 3. ONLINE 3e882c78f43c4f32bff9e12e71de3866 (/ dev/asmdiskd) [OCR] Located 3 voting disk (s). CRS-2672: Attempting to start 'ora.asm' on' qsyxdb1'CRS-2676: Start of 'ora.asm' on' qsyxdb1' succeededCRS-2672: Attempting to start 'ora.OCR.dg' on' qsyxdb1'CRS-2676: Start of 'ora.OCR.dg' on' qsyxdb1' succeededConfigure Oracle Grid Infrastructure for a Cluster... Succeeded [root@qsyxdb1 home] #
This situation still occurs when node 2 executes root.sh, just do the same, and the process is as follows.
[root@qsyxdb2 ~] # / u01/app/11.2.0/grid/root.shPerforming root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= / u01/app/11.2.0/grid Enter the full pathname of the local bin directory: [/ usr/local/bin]: Copying dbhome to / usr/local/bin. Copying oraenv to / usr/local/bin... Copying coraenv to / usr/local/bin... 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 script.Now product-specific root actions will be performed.Using configuration parameter file: / u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization-successfulAdding Clusterware entries to inittabohasd failed to startFailed to start the Clusterware. Last 20 lines of the alert log follow: 2018-08-16 16 client 51 CRS-2101:The OLR was formatted using version 44.453: [client (15563)] CRS-2101:The OLR was formatted using version 3. CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node qsyxdb1, number 1, and is terminatingAn active cluster was found during exclusive startup, restarting to join the clusterConfigure Oracle Grid Infrastructure for a Cluster. Succeeded [root@qsyxdb2 ~] # above are all the contents of the article "what to do if you encounter CRS-2101 problems when deploying Oracle11gR2 to execute root.sh scripts". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.