Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Template for Oracle KVM/OLVM environment - Release Update 19.29.0.0.251021 & Oracle Linux 9 Update 7

Tiago AzevedoMar 3 2026 — edited Mar 4 2026

Hi,

I encountered the following issues when using Template for Oracle KVM/OLVM environment - Release Update 19.29.0.0.251021 & Oracle Linux 9 Update 7.

1. ) During first run of the vm the following error happens:

/u01/app/19c/grid/perl/bin/perl /u01/app/19c/grid/clone/bin/clone.pl -silent ORACLE_BASE='/u01/app/oracle' ORACLE_HOME='/u01/app/19c/grid' ORACLE_HOME_NAME='OraGI19Home1' INVENTORY_LOCATION='/u01/app/oraInventory' OSDBA_GROUP=dba OSOPER_GROUP= OSASM_GROUP=dba OSBACKUPDBA_GROUP=dba OSDGDBA_GROUP=dba OSKMDBA_GROUP=dba OSRACDBA_GROUP=dba CRS=TRUE 'CLUSTER_NODES={P01ZPOCSI01,P01ZPOCSI02}' "LOCAL_NODE=P01ZPOCSI01" '-ignoreSysPrereqs'
/u01/app/19c/grid/perl/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

The workaround I used was stop the installation to install missing library libxcrypt-compat and execute the installation from within the vm.

https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/supported-oracle-linux-9-distributions-for-x86-64.html

This template should be reviewed because this breaks the installation in the middle of the Single Instance and RAC deployment.

2. ) When configuring asmlib v3.1.1 the execution of buildsingle.sh and buildcluster.sh fails with the following error:

ERROR (node:P01ZPOCSI01): ASMLib is not set to autostart on boot, ORACLEASM_ENABLED should be set to 'true' in (/etc/sysconfig/oracleasm), found value (). Ensure ASMLib is configured correctly, run: "/usr/sbin/oracleasm configure" to view, or add -e flag to enable auto startup (or use -i flag for interactive configuration)

# rpm -qa | grep asm

oracleasm-support-3.1.1-5.el9.x86_64
oracleasmlib-3.1.1-1.el9.x86_64

# oracleasm configure

ORACLEASM_UID=grid
ORACLEASM_GID=asmadmin
ORACLEASM_SCANBOOT=true
ORACLEASM_SCANORDER=""
ORACLEASM_SCANEXCLUDE=""
ORACLEASM_SCAN_DIRECTORIES=""
ORACLEASM_USE_LOGICAL_BLOCK_SIZE="false"
ORACLEASM_CONFIG_MAX_DISKS="2048"
ORACLEASM_ENABLE_IOFILTER="true"

This is due to script diskconfig.sh:

954 if [ "$ORACLEASM_ENABLED" != "true" ]; then
955 PrintError $node "ASMLib is not set to autostart on boot, ORACLEASM_ENABLED should be set to 'true' in ($ORACLEASM_CONFIG), found value ($ORACLEASM_ENABLED). Ensure ASMLib is configur ed correctly, run: "$ORACLEASMSBIN configure" to view, or add -e flag to enable auto startup (or use -i flag for interactive configuration)"
956 ((EL++))
957 failed=1
958 fi

The workaround I used was to comment this part of the code.

3. ) Finally !! Another situation that needs to be reviewed. When using the following variables with asmlib v3.1.1 for file params.ini the execution of buildcluster.sh fails with the following error:

ALLDISKS="ORCL:OCRV01"
RACASM_RECO_DISKS="ORCL:RECO01"
RACASM_1_DISKS="ORCL:DATA01"

ERROR (node:P01ZPOCSI01): One or more duplicate disks found amongst ALLDISKS, RACASM_RECO_DISKS and RACASM_*_DISKS, remove duplicates: ORCL

The workaround I used was to update the common.sh script and replace function GetLeftToken with my own version. Something like:

8172 function GetLeftToken {
8173 # Echo the token used for dedup/discovery
8174 # ASMLib-aware: for "ORCL:" return the LABEL; otherwise keep left token behavior.
8175 local varname="${1}" sep="$2" i
8176 [ -z "$sep" ] && sep=":"
8177 eval array=("${${varname}[@]}")
8178
8179 for ((i=0; i<${#array[@]}; i++)); do
8180 if match_re "${array[$i]}" "$sep"; then
8181 case "${array[$i]}" in
8182 ORCL:*)
8183 # ASMLib syntax -> use right token (label)
8184 array[$i]=${array[$i]#ORCL:}
8185 ;;
8186 )
8187 # Legacy behavior -> left token before the separator
8188 array[$i]=${array[$i]%%:}
8189 ;;
8190 esac
8191 fi
8192 done
8193 $ECHO ${array[@]}
8194 } # GetLeftToken

Any help or update on this would be very appreciated.

Comments
Post Details