204安裝
linux7上圖形化安裝grid和oracle都用這個命令,不然視窗彈跳會有問題
./runInstaller -jreLoc /etc/alternatives/jre_1.8.0
一,執行指令碼報錯
[root@hx-ractest-1 u01]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[root@hx-ractest-1 u01]# /u01/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Creating /etc/oratab file...
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: /u01/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
CRS-2728: A resource type with the name 'ora.daemon.type' is already registered
CRS-4000: Command Add failed, or completed with errors.
CRS-2728: A resource type with the name 'ora.haip.type' is already registered
CRS-4000: Command Add failed, or completed with errors.
CRS-2728: A resource type with the name 'ora.mdns.type' is already registered
CRS-4000: Command Add failed, or completed with errors.
Failed to register Grid Infrastructure type ora.mdns.type at /u01/11.2.0/grid/crs/install/crsconfig_lib.pm line 7940.
/u01/11.2.0/grid/perl/bin/perl -I/u01/11.2.0/grid/perl/lib -I/u01/11.2.0/grid/crs/install /u01/11.2.0/grid/crs/install/rootcrs.pl execution failed
二,需要執行指令碼
[root@hx-ractest-1 u01]# cd 11.2.0/grid/crs/install/
[root@hx-ractest-1 install]# ./roothas.pl -deconfig -force -verbose
Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . .) at crsconfig_lib.pm line 703.
BEGIN failed--compilation aborted at crsconfig_lib.pm line 703.
Compilation failed in require at ./roothas.pl line 166.
BEGIN failed--compilation aborted at ./roothas.pl line 166.
報錯安裝處理
[root@hx-ractest-1 ~]# yum install perl-Env
Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
三,重新執行指令碼
[root@hx-ractest-1 install]# ./rootcrs.pl -deconfig -force -verbose
Using configuration parameter file: ./crsconfig_params
PRCR-1119 : Failed to look up CRS resources of ora.cluster_vip_net1.type type
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.gsd is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.ons is registered
Cannot communicate with crsd
CLSU-00100: Operating System function: failed failed with error data: 2
CLSU-00101: Operating System error message: No such file or directory
CLSU-00103: error location: scrsearch3
CLSU-00104: additional error information: id doesnt exist scls_scr_setval
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'hx-ractest-1'
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'hx-ractest-1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'hx-ractest-1'
CRS-2673: Attempting to stop 'ora.crf' on 'hx-ractest-1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'hx-ractest-1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'hx-ractest-1' succeeded
CRS-2677: Stop of 'ora.crf' on 'hx-ractest-1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'hx-ractest-1'
CRS-2677: Stop of 'ora.gipcd' on 'hx-ractest-1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'hx-ractest-1'
CRS-2677: Stop of 'ora.gpnpd' on 'hx-ractest-1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'hx-ractest-1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully deconfigured Oracle clusterware stack on this node
[root@hx-ractest-1 install]# /u01/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
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: /u01/11.2.0/grid/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to inittab
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29108064/viewspace-2647858/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AtCoder Beginner Contest 204
- 204. Count Primes
- ❤️Day 204【誰留下】
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- BiocManager安裝,devtools安裝dev
- 迴圈請求報204問題分析
- JDK安裝和解除安裝JDK
- Linux安裝解除安裝MySQLLinuxMySql
- ffmpeg安裝之mac安裝Mac
- linux 安裝yum 安裝phpLinuxPHP
- Ubuntu解除安裝和安裝Ubuntu
- 02 安裝git、安裝TortoiseGitGit
- cocoapods安裝/解除安裝/使用
- docker安裝及解除安裝Docker
- [ 安裝 ] Zeppelin安裝步驟!
- win10安裝版怎麼安裝_安裝版win10安裝教程Win10
- ElasticSearch的安裝和使用,Postman的安裝,Kibana的安裝,EShead外掛的安裝ElasticsearchPostman
- 【推薦 - glibc安裝】MySQL - 安裝MySql
- linux下安裝snap安裝工具Linux
- kratos安裝及依賴安裝
- debian安裝和解除安裝vmware
- Linux 解除安裝openjdk 安裝oraclejdkLinuxJDKOracle
- JDK的安裝與解除安裝JDK
- [雲原生]Docker - 安裝&解除安裝Docker
- linux 解除安裝jdk和安裝LinuxJDK
- Ubuntu安裝和解除安裝mongodbUbuntuMongoDB
- Mac Redis安裝與解除安裝MacRedis
- 安裝了IDLE後安裝tensorflow
- window下安裝並使用nvm(含解除安裝node、解除安裝nvm、全域性安裝npm)NPM
- 安裝
- air安裝win10怎麼解除安裝_air安裝win10如何解除安裝AIWin10
- CentOS7安裝php、安裝MySqlCentOSPHPMySql
- Pycharm 2024安裝包下載與安裝PyCharm
- 【推薦 - 原始碼安裝】nginx - 安裝原始碼Nginx
- vs2015解除安裝和安裝
- ubuntu透過安裝包安裝MongodbUbuntuMongoDB
- oracle 19c 安裝、解除安裝Oracle
- Centos7安裝安裝部署dockerCentOSDocker