Oracle Database discovery fails with "error while loading shared libraries: libclntsh.so.19.1" (Command failed with status 127)Issue Discovery scans of Unix servers running Oracle Database shows an error at step 50, “Get version from sqlplus Version.” The discovery log shows: Executing SSH command: export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1;.../bin/sqlplus -v Command result: /u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus: error while loading shared libraries: libclntsh.so.19.1: cannot open shared object file Command failed with status 127ReleaseAll Applicable ReleasesCauseThe discovery SSH user cannot read the Oracle client shared libraries in $ORACLE_HOME/lib, so sqlplus cannot load at runtime. Discovery then cannot retrieve the Oracle version.ResolutionHave the Linux administrator confirm the discovery user can read the Oracle client libraries in $ORACLE_HOME/lib. At minimum, libclntsh.so.19.1 and libclntshcore.so.19.1 must be present and readable.Have the DBA confirm the discovery user is permitted to run $ORACLE_HOME/bin/sqlplus.Correct the permissions on the affected libraries. For example: chmod 755 $ORACLE_HOME/lib/libclntsh.so.19.1 chmod 755 $ORACLE_HOME/lib/libclntshcore.so.19.1 5. Run a new discovery scan on the affected server and confirm step 50 completes with the Oracle version recorded. Example output:SQL*Plus: Release 19.0.0.0.0 - Production Version 19.32.0.0.0 setAttribute(version,19.32.0.0.0)Related LinksFor the full list of Oracle discovery requirements, see the Oracle Database Discovery documentation.