Oracle database 21c chỉ hỗ trợ cài trên dòng RHEL 7 8, Oracle Linux 7 8, SUSE Linux Enterprise Server 15.
Nếu bạn thử cài Oracle 21c trên dòng RHEL 9 như AlmaLinux 9 hay Rocky Linux 9 sẽ báo lỗi như hình dưới
Oracle database 21c Installer
[INS-08101] Unexpected error while executing the action at state: 'supportedOSCheck'
Are you sure you want to continue ?
Cause - No additional information available.
Action - Contact Oracle Support Services or refer to the software manual.
Summary
- java.lang.NullPointerException
Nếu bạn vẫn muốn bỏ qua lỗi [INS-08101] Unexpected error while executing the action at state: ‘supportedOSCheck’ thì vẫn được bằng cách nhìn hình dưới rồi mần theo.
export CV_ASSUME_DISTID=OL8
./runInstaller
Bài tập Oracle database 21c trong bài này cho bạn là có cách nào khác ngoài export CV_ASSUME_DISTID=OL8 hem?
Cơm thêm
Biến CV_ASSUME_DISTID nằm trong cv/admin/cvu_config của source cài đặt Oracle 21c.
cat ./cv/admin/cvu_config
# Configuration file for Cluster Verification Utility(CVU)
#
# Copyright (c) 2004, 2021, Oracle and/or its affiliates.
#
# Version: 011405
#
# NOTE:
# 1._ Any line without a '=' will be ignored
# 2._ Since the fallback option will look into the environment variables,
# please have a component prefix(CV_) for each property to define a
# namespace.
#
#Nodes for the cluster. If CRS home is not installed, this list will be
#picked up when -n all is mentioned in the commandline argument.
#CV_NODE_ALL=
#if enabled, this variable overrides the CVU work directory location (DESTLOC) used for CVU operations
#CV_DESTLOC=/tmp
#if enabled, cvuqdisk rpm is required on all nodes
CV_RAW_CHECK_ENABLED=TRUE
#Maximum number of reports (Text, Json) to retain in the CVU report directory.
CV_MAX_REPORT_COUNT=5
#Maximum number of baselines to retain in the CVU baseline directory.
CV_MAX_BASELINE_COUNT=10
#Valid age in number of days for fresh software. If bits are found older than
#following number then CVU reports informational message suggesting update/upgrade
CV_MAX_DAYS_SOFTWARE_BITS_FRESH=180
#Minimum space required MB's in the CV_DESTLOC for CVU operations on the node
CV_DESTLOC_MIN_SPACE_MB=100
#Minimum space required MB's in the CVU TRACE LOC for CVU operations on the node
CV_TRACELOC_MIN_SPACE_MB=50
#Minimum space required MB's in the root filesystem
CV_ROOTFS_MIN_SPACE_MB=100
# Fallback to this distribution id.
#CV_ASSUME_DISTID=OL7
#Complete file system path of sudo binary file, default is /usr/local/bin/sudo
CV_SUDO_BINARY_LOCATION=/usr/local/bin/sudo
#Complete file system path of pbrun binary file, default is /usr/local/bin/pbrun
CV_PBRUN_BINARY_LOCATION=/usr/local/bin/pbrun
# Whether X-Windows check should be performed for user equivalence with SSH
#CV_XCHK_FOR_SSH_ENABLED=TRUE
# To override SSH location
#ORACLE_SRVM_REMOTESHELL=/usr/bin/ssh
# To override SCP location
#ORACLE_SRVM_REMOTECOPY=/usr/bin/scp
# To override version used by command line parser
CV_ASSUME_CL_VERSION=21.0.0.0.0
# Location of the browser to be used to display HTML report
#CV_DEFAULT_BROWSER_LOCATION=/usr/bin/mozilla
# Maximum number of retries for discover DHCP server
#CV_MAX_RETRIES_DHCP_DISCOVERY=5
# Maximum CVU trace files size (in multiples of 100 MB)
#CV_TRACE_SIZE_MULTIPLIER=1
# ODA CVU profile json file location
#CV_ODA_PROFILE_JSON_FILE_PATH=/opt/oracle/cvu/oda_cvu_profile.json
# OEDA(Exadata) CVU profile json file location
#CV_OEDA_PROFILE_JSON_FILE_PATH=/opt/oracle/cvu/oeda_cvu_profile.json
# OCI(Cloud) CVU profile json file location
#CV_OCI_PROFILE_JSON_FILE_PATH=/opt/oracle/cvu/oci_cvu_profile.json
# Variable to represent which profile to use and load all the properties
# and data from the profile. The profiles will be used internally and
# updated for OCI,ODA and EXADATA environments and will not be exposed to
# the customers directly.
# Applicable values are OCI or ODA or EXADATA or OCI,EXADATA or OCI,ODA
#CV_PROFILE_TO_USE=OCI
# Variable to define the packet size to be used during multicast connectivity
#CV_MULTICAST_PACKET_SIZE=2016
# Variable to set the behavior of patch checks during rootscripts execution
CV_ROOTSCRIPTS_PATCHING_CHECKS=TRUE