您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

localhost错误导致Racroot.sh执行失败

2024/2/18 16:59:23发布27次查看
环境:aix 7.1oracle rac 11.2.0.3root@kk01:/oraapp/grid/gridhome./root.shperforming root user operation for oracle 11g the following environment variables are set as: oracle_owner= grid oracle_home= /oraapp/grid/gridhome enter the full pathn
环境:aix 7.1oracle rac 11.2.0.3root@kk01:/oraapp/grid/gridhome>./root.shperforming root user operation for oracle 11g
the following environment variables are set as: oracle_owner= grid oracle_home= /oraapp/grid/gridhome
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: /oraapp/grid/gridhome/crs/install/crsconfig_paramscreating trace directoryuser ignored prerequisites during installationuser grid has the required capabilities to run cssd in realtime modeolr 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 inittabcrs-2672: attempting to start 'ora.mdnsd' on 'kk01'crs-2676: start of 'ora.mdnsd' on 'kk01' succeededcrs-2672: attempting to start 'ora.gpnpd' on 'kk01'crs-2676: start of 'ora.gpnpd' on 'kk01' succeededcrs-2672: attempting to start 'ora.cssdmonitor' on 'kk01'crs-2672: attempting to start 'ora.gipcd' on 'kk01'crs-2676: start of 'ora.gipcd' on 'kk01' succeededcrs-2676: start of 'ora.cssdmonitor' on 'kk01' succeededcrs-2672: attempting to start 'ora.cssd' on 'kk01'crs-2672: attempting to start 'ora.diskmon' on 'kk01'crs-2676: start of 'ora.diskmon' on 'kk01' succeededcrs-2676: start of 'ora.cssd' on 'kk01' succeeded
asm created and started successfully.
disk group ocrdg created successfully.
clscfg: -install mode specifiedsuccessfully accumulated necessary ocr keys.creating ocr keys for user 'root', privgrp 'system'..operation successful.crs-4256: updating the profilesuccessful addition of voting disk 8baf1210f0ac4fe1bf0e45c1abd2bd14.successful addition of voting disk affc1a24965f4fd3bfe079a12d81e70f.successful addition of voting disk 0ecd160564c14fb0bfe78dc99ccb9271.successfully replaced voting disk group with +ocrdg.crs-4256: updating the profilecrs-4266: voting file(s) successfully replaced## state file universal id file name disk group-- ----- ----------------- --------- --------- 1. online 8baf1210f0ac4fe1bf0e45c1abd2bd14 (/dev/rhdisk4) [ocrdg] 2. online affc1a24965f4fd3bfe079a12d81e70f (/dev/rhdisk5) [ocrdg] 3. online 0ecd160564c14fb0bfe78dc99ccb9271 (/dev/rhdisk6) [ocrdg]located 3 voting disk(s).crs-2672: attempting to start 'ora.asm' on 'kk01'crs-2676: start of 'ora.asm' on 'kk01' succeededcrs-2672: attempting to start 'ora.ocrdg.dg' on 'kk01'crs-2676: start of 'ora.ocrdg.dg' on 'kk01' succeeded/oraapp/grid/gridhome/bin/srvctl start nodeapps -n kk01 ... failedfirstnode configuration failed at /oraapp/grid/gridhome/crs/install/crsconfig_lib.pm line 9196./oraapp/grid/gridhome/perl/bin/perl -i/oraapp/grid/gridhome/perl/lib -i/oraapp/grid/gridhome/crs/install /oraapp/grid/gridhome/crs/install/rootcrs.pl execution failed
127.0.0.1 loopback localhost # loopback (lo0) name/address::1 loopback localhost # ipv6 loopback (lo0) name/addressxxxxxxxxxxx localhost发现/etc/hosts 文件中有一个ip地址的别名是localhost,两边都有,将此行删除,并重新运行root.sh
root@kk01:/oraapp/grid/gridhome>./root.shperforming root user operation for oracle 11g
the following environment variables are set as: oracle_owner= grid oracle_home= /oraapp/grid/gridhome
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 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: /oraapp/grid/gridhome/crs/install/crsconfig_paramsuser ignored prerequisites during installationprko-2190 : vip exists for node kk01, vip name kk01-vipprcs-1037 : single client access name vips already existprcs-1028 : single client access name listeners already existoc4j could not be created as it already existsprcr-1086 : resource ora.oc4j is already registeredprcr-1086 : resource ora.cvu is already registeredcrs-2672: attempting to start 'ora.registry.acfs' on 'kk01'crs-2676: start of 'ora.registry.acfs' on 'kk01' succeededconfigure oracle grid infrastructure for a cluster ... succeededroot@kk01:/oraapp/grid/gridhome>
root@kk02:/oraapp/grid/gridhome>./root.shperforming root user operation for oracle 11g
the following environment variables are set as: oracle_owner= grid oracle_home= /oraapp/grid/gridhome
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: /oraapp/grid/gridhome/crs/install/crsconfig_paramscreating trace directoryuser ignored prerequisites during installationuser grid has the required capabilities to run cssd in realtime modeolr initialization - successfuladding clusterware entries to inittabcrs-4402: the css daemon was started in exclusive mode but found an active css daemon on node kk01, number 1, and is terminatingan active cluster was found during exclusive startup, restarting to join the clusterconfigure oracle grid infrastructure for a cluster ... succeededroot@kk02:/oraapp/grid/gridhome>su - gridgrid@kk02:/home/grid>crs_stat -tname type target state host ------------------------------------------------------------ora....n1.lsnr ora....er.type online online kk01 ora.ocrdg.dg ora....up.type online online kk01 ora.asm ora.asm.type online online kk01 ora.cvu ora.cvu.type online online kk01 ora.gsd ora.gsd.type offline offline ora....sm1.asm application online online kk01 ora....r01.gsd application offline offline ora....r01.ons application online online kk01 ora....r01.vip ora....t1.type online online kk01 ora....sm2.asm application online online kk02 ora....r02.gsd application offline offline ora....r02.ons application online online kk02 ora....r02.vip ora....t1.type online online kk02 ora....network ora....rk.type online online kk01 ora.oc4j ora.oc4j.type online online kk01 ora.ons ora.ons.type online online kk01 ora....ry.acfs ora....fs.type online online kk01 ora.scan1.vip ora....ip.type online online kk01 grid@kk02:/home/grid>
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product