Thursday, 16 July 2020

19c RAC Installation failed with Error CLSRSC-180: An error occurred while executing the command 'cluutil -isipv6 _`'

Issue:

19c grid installation failed while running root.sh with below errors


Error 1 from GUI:

- PRCZ-2010 : Failed to execute command "/u01/app/19.7.0.0/grid/root.sh" using 'sudo' from location "/usr/bin/sudo" as user "grid" within 7,200 seconds on nodes "racnode01"

- PRCZ-2010 : Failed to execute command "/u01/app/19.7.0.0/grid/root.sh" using 'sudo' from location "/usr/bin/sudo" as user "grid" within 7,200 seconds on nodes "racnode01"

 

Error 2 From Grig install log:

[grid@racnode01]$ tail -80 /tmp/GridSetupActions2020-07-15_10-11-08PM/gridSetupActions2020-07-15_10-11-08PM.log

Execution status of failed node:racnode01 

 Errors  : [sudo] password for grid:

 Standard output 

 : Performing root user operation.  The following environment variables are set as:

ORACLE_OWNER= grid ORACLE_HOME= /u01/app/19.7.0.0/grid Copying dbhome to /usr/local/bin ...

 Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... 

 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. Relinking oracle with rac_on option Using configuration parameter file:

/u01/app/19.7.0.0/grid/crs/install/crsconfig_params The log of current session can be found at:

/app/grid/crsdata/racnode01/crsconfig/rootcrs_racnode01_2020-07-15_11-33-50PM.log 2020/07/15 23:33:57 CLSRSC-594:

Executing installation step 1 of 19: 'SetupTFA'. 2020/07/15 23:33:57 CLSRSC-594:

Executing installation step 2 of 19: 'ValidateEnv'. 2020/07/15 23:33:57 CLSRSC-594:

Executing installation step 3 of 19: 'CheckFirstNode'. 2020/07/15 23:33:57 CLSRSC-4002:

Successfully installed Oracle Trace File Analyzer (TFA) Collector. 2020/07/15 23:34:00 CLSRSC-594:

Executing installation step 4 of 19: 'GenSiteGUIDs'. 2020/07/15 23:34:01 CLSRSC-594:

Executing installation step 5 of 19: 'SetupOSD'. 2020/07/15 23:34:01 CLSRSC-594:

Executing installation step 6 of 19: 'CheckCRSConfig'. 2020/07/15 23:34:02 CLSRSC-594:

Executing installation step 7 of 19: 'SetupLocalGPNP'. 2020/07/15 23:34:03 CLSRSC-594:

Executing installation step 8 of 19: 'CreateRootCert'. 2020/07/15 23:34:08 CLSRSC-594:

Executing installation step 9 of 19: 'ConfigOLR'. bash: -c: line 0: unexpected EOF while looking for matching ``' 

bash: -c: line 1: syntax error: unexpected end of file  2020/07/15 23:34:12 CLSRSC-180: An error occurred while

executing the command 'cluutil -isipv6 _`' Died at /u01/app/19.7.0.0/grid/crs/install/crsutils.pm line 14759.

 

Error 3 From root crs logs:

[grid@racnode01]$ tail -80f /app/grid/crsdata/racnode01/crsconfig/rootcrs_racnode01_2020-07-15_11-33-50PM.log

 

2020-07-16 01:19:49: FALSE

2020-07-16 01:19:49: '_' is not IPv6

2020-07-16 01:19:49: Checking if '__' is IPv6

2020-07-16 01:19:49: Invoking "/u01/app/19.7.0.0/grid/bin/cluutil -isipv6 __"

2020-07-16 01:19:49: trace file=/app/grid/crsdata/racnode01/crsconfig/cluutil5.log

2020-07-16 01:19:49: Running as user grid: /u01/app/19.7.0.0/grid/bin/cluutil -isipv6 __

2020-07-16 01:19:49: Removing file /tmp/M_7IvW6_cU

2020-07-16 01:19:49: Successfully removed file: /tmp/M_7IvW6_cU

2020-07-16 01:19:49: pipe exit code: 0

2020-07-16 01:19:49: /bin/su successfully executed

2020-07-16 01:19:49: FALSE

2020-07-16 01:19:49: '__' is not IPv6

2020-07-16 01:19:49: Checking if '_`' is IPv6

2020-07-16 01:19:49: Invoking "/u01/app/19.7.0.0/grid/bin/cluutil -isipv6 _`"

2020-07-16 01:19:49: trace file=/app/grid/crsdata/racnode01/crsconfig/cluutil6.log

2020-07-16 01:19:49: Running as user grid: /u01/app/19.7.0.0/grid/bin/cluutil -isipv6 _`

2020-07-16 01:19:49: Removing file /tmp/xvz5bmk3yU

2020-07-16 01:19:49: Successfully removed file: /tmp/xvz5bmk3yU

2020-07-16 01:19:49: pipe exit code: 256

2020-07-16 01:19:49: /bin/su exited with rc=1

2020-07-16 01:19:49: bash: -c: line 0: unexpected EOF while looking for matching ``'

 bash: -c: line 1: syntax error: unexpected end of file

2020-07-16 01:19:49: cluutil -isipv6 _` failed with status 1

2020-07-16 01:19:49: Executing cmd: /u01/app/19.7.0.0/grid/bin/clsecho -p has -f clsrsc -m 180 'cluutil -isipv6 _`'

2020-07-16 01:19:49: Executing cmd: /u01/app/19.7.0.0/grid/bin/clsecho -p has -f clsrsc -m 180 'cluutil -isipv6 _`'

2020-07-16 01:19:49: Command output:

>  CLSRSC-180: An error occurred while executing the command 'cluutil -isipv6 _`'

>End Command output

2020-07-16 01:19:49: CLSRSC-180: An error occurred while executing the command 'cluutil -isipv6 _`'


Cause:

When we run root.sh scripts it tries to validate isipv6 address on both nodes, it will run syntax from $GRID_HOME/crs/install/crsutils.pm internal config file and isipv6 check fails with error.

 

It’s  is due to Bug 30863405

 

Solution :

Bug 30863405 fixed in future release 21.1 Please contact Oracle Support for a backport request.

 

Workaround is to  Disable banner and re-run root.sh

 

Disable SSH banner in linux:

Comment below lines related to banner in /etc/ssh/sshd_config and restart sshd

Node1:

root@racnode01:# vi /etc/ssh/sshd_config

#Banner /etc/banner

#LogLevel VERBOSE

#PrintMotd yes

#PrintLastLog yes

root@racnode01:# service sshd restart

Redirecting to /bin/systemctl restart sshd.service

 

Node2:

root@racnode02:# vi /etc/ssh/sshd_config

#Banner /etc/banner

#LogLevel VERBOSE

#PrintMotd yes

#PrintLastLog yes

root@racnode02:# service sshd restart

Redirecting to /bin/systemctl restart sshd.service

 

Rerun root.sh will completed without any errors

No comments:

Post a Comment