Amazon Partner

Saturday 16 June 2012

runcluvfy.sh hangs @user file creation mask or after "Checking to make sure user "oracle" is not in "root" group"

/runcluvfy.sh stage -pre crsinst -upgrade -n dbp2,dbp4 -rolling -src_crshome $ORACLE_HOME -dest_crshome /u01/app/product/11.2.0.3 -dest_version 11.2.0.3.0  -fixup -fixupdir /tmp -verbose


Performing pre-checks for cluster services setup

Checking node reachability...


...........................
.........................


Checking to make sure user "oracle" is not in "root" group
  Node Name     Status                    Comment
  ------------  ------------------------  ------------------------
  dbp4    passed                    does not exist
  dbp2    passed                    does not exist
Result: User "oracle" is not part of "root" group. Check passed

<<<<<--------- Hangs Here >>>>>>

Check default user file creation mask
  Node Name     Available                 Required                  Comment
  ------------  ------------------------  ------------------------  ----------
  dbp4    077                       0022                      failed
  dbp2    022                       0022                      passed


===========================
This issue happened many times and mostly caused by .profile and same was in my case. even though there are not many parameter/variable used in .profile.

Solution:

temporarily moving the $HOME/.profile file to temp name while running the test resolved the issue.  I will comment individual parameter sometime later to identify which particular one causing issue.

--------
Note:
Reviewing the CV LOG identified the problem. .profile was calling a interactive script which wait for user input.

Any issue we should first review the log under $ORA_CRS_HOME/cv/log (10g) / $GI_HOME/cv/log (11g onwards), they are very detailed and handy.


Thanks
krishan

No comments:

Post a Comment