Printing Oracle silent installer prerequisite failed checks

I use what is below to print out prerequisites that aren’t met when performing a silent install. It is a lot easier to read, and prints only those components that have a failed check.

#!/bin/awk -f

{
  if ($0 == "INFO: *********************************************") {
    getline
    COMPONENT=$0
    getline
    getline
    if ($0 ~ "FAILED") {
      printf("%s\n",COMPONENT)
    }
  }
}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.