sqlplus: error while loading shared libraries: libclntshcore.so.12.1: cannot open shared object file: No such file or directory






iii. Client re-installation 

Cleanup up old binaries 

[oracle@testlaba /]$ cd /rdbms
[oracle@testlaba rdbms]$ ls -lrt
total 28
drwx------. 2 oracle root   16384 Jul 14 17:47 lost+found
drwx------. 3 oracle oracle  4096 Jul 19 12:47 client_dump
drwxr-xr-x. 2 oracle oracle  4096 Jul 19 12:59 oraInventory
drwx------. 6 oracle oracle  4096 Jul 19 13:49 app



[oracle@testlaba rdbms]$ rm -rf app oraInventory
[oracle@testlaba response]$ mkdir -p /rdbms/app/oraInventory


Prepare response file for silent installation 


[oracle@testlaba response]$ ls -lrt
total 24
-rwxrwxr-x. 1 oracle oracle 6038 Jan 24  2014 netca.rsp
-rw-------. 1 oracle oracle 8029 Jul 19 12:48 client_install.rsp_1
-rw-rw-r--. 1 oracle oracle 8121 Jul 19 12:55 client_install.rsp
[oracle@testlaba response]$ more client_install.rsp
###############################################################################
## Copyright(c) Oracle Corporation 1998,2014. All rights reserved.           ##
##                                                                           ##
## Specify values for the variables listed below to customize                ##
## your installation.                                                        ##
##                                                                           ##
## Each variable is associated with a comment. The comment                   ##
## can help to populate the variables with the appropriate                   ##
## values.                                                                   ##
##                                                                           ##
###############################################################################
#-------------------------------------------------------------------------------
# Do not change the following system generated value.
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_clientinstall_response_schema_v12.1.0
#-------------------------------------------------------------------------------
# This variable holds the hostname of the system as set by the user.
# It can be used to force the installation to use an alternative
# hostname rather than using the first hostname found on the system
# (e.g., for systems with multiple hostnames and network interfaces).
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME=testlaba.msdk.co.in
#-------------------------------------------------------------------------------
# Unix group to be set for the inventory directory.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=dba
#-------------------------------------------------------------------------------
# Inventory location.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=/rdbms/app/oraInventory
#-------------------------------------------------------------------------------
# Specify the languages in which the components will be installed.
#
# en   : English                  ja   : Japanese
# fr   : French                   ko   : Korean
# ar   : Arabic                   es   : Latin American Spanish
# bn   : Bengali                  lv   : Latvian
# pt_BR: Brazilian Portuguese     lt   : Lithuanian
# bg   : Bulgarian                ms   : Malay
# fr_CA: Canadian French          es_MX: Mexican Spanish
# ca   : Catalan                  no   : Norwegian
# hr   : Croatian                 pl   : Polish
# cs   : Czech                    pt   : Portuguese
# da   : Danish                   ro   : Romanian
# nl   : Dutch                    ru   : Russian
# ar_EG: Egyptian                 zh_CN: Simplified Chinese
# en_GB: English (Great Britain)  sk   : Slovak
# et   : Estonian                 sl   : Slovenian
# fi   : Finnish                  es_ES: Spanish
# de   : German                   sv   : Swedish
# el   : Greek                    th   : Thai
# iw   : Hebrew                   zh_TW: Traditional Chinese
# hu   : Hungarian                tr   : Turkish
# is   : Icelandic                uk   : Ukrainian
# in   : Indonesian               vi   : Vietnamese
# it   : Italian
#
# all_langs   : All languages
#
# Specify value as the following to select any of the languages.
# Example : SELECTED_LANGUAGES=en,fr,ja
#
# Specify value as the following to select all the languages.
# Example : SELECTED_LANGUAGES=all_langs
#-------------------------------------------------------------------------------
SELECTED_LANGUAGES=en
#-------------------------------------------------------------------------------
# Complete path of the Oracle Home
#-------------------------------------------------------------------------------
ORACLE_HOME=/rdbms/app/12.1.0.2
#-------------------------------------------------------------------------------
# Complete path of the Oracle Base.
#-------------------------------------------------------------------------------
ORACLE_BASE=/rdbms/app
#------------------------------------------------------------------------------
#Name       : INSTALL_TYPE
#Datatype   : String
#Description: Installation type of the component.
#
#             The following choices are available. The value should contain
#             only one of these choices.
#               - InstantClient
#               - Administrator
#               - Runtime
#               - Custom
#
#Example    : INSTALL_TYPE = Administrator
#------------------------------------------------------------------------------
oracle.install.client.installType=Administrator
#-------------------------------------------------------------------------------
# Name       : oracle.install.client.customComponents
# Datatype   : StringList
#
# This property is considered only if INSTALL_TYPE is set to "Custom"
#
# Description: List of Client Components you would like to install
#
#   The following choices are available. You may specify any
#   combination of these choices.  The components you choose should
#   be specified in the form "internal-component-name:version"
#   Below is a list of components you may specify to install.
#
# oracle.sqlj:12.1.0.2.0 -- "Oracle SQLJ"
# oracle.rdbms.util:12.1.0.2.0 -- "Oracle Database Utilities"
# oracle.javavm.client:12.1.0.2.0 -- "Oracle Java Client"
# oracle.sqlplus:12.1.0.2.0 -- "SQL*Plus"
# oracle.dbjava.jdbc:12.1.0.2.0 -- "Oracle JDBC/THIN Interfaces"
# oracle.ldap.client:12.1.0.2.0 -- "Oracle Internet Directory Client"
# oracle.rdbms.oci:12.1.0.2.0 -- "Oracle Call Interface (OCI)"
# oracle.precomp:12.1.0.2.0 -- "Oracle Programmer"
# oracle.xdk:12.1.0.2.0 -- "Oracle XML Development Kit"
# oracle.network.aso:12.1.0.2.0 -- "Oracle Advanced Security"
# oracle.oraolap.mgmt:12.1.0.2.0 -- "OLAP Analytic Workspace Manager and Worksheet"
# oracle.network.client:12.1.0.2.0 -- "Oracle Net"
# oracle.network.cman:12.1.0.2.0 -- "Oracle Connection Manager"
# oracle.network.listener:12.1.0.2.0 -- "Oracle Net Listener"
# oracle.ordim.client:12.1.0.2.0 -- "Oracle Multimedia Client Option"
# oracle.odbc:12.1.0.2.0 -- "Oracle ODBC Driver"
# oracle.has.client:12.1.0.2.0 -- "Oracle Clusterware High Availability API"
# oracle.dbdev:12.1.0.2.0 -- "Oracle SQL Developer"
# oracle.rdbms.scheduler:12.1.0.2.0 -- "Oracle Scheduler Agent"
#
# Example    : oracle.install.client.customComponents="oracle.precomp:12.1.0.2.0","oracle.oraolap.mgmt:12.1.0.2.0","oracle.rdbms.scheduler:12.1.0.2.0"
#-------------------------------------------------------------------------------
oracle.install.client.customComponents=
#-------------------------------------------------------------------------------
# Host name to be used for by the Oracle Scheduler Agent.
# This needs to be entered in case oracle.rdbms.scheduler is selected in the
# list of custom components during custom install
#
# Example    : oracle.install.client.schedulerAgentHostName = acme.domain.com
#------------------------------------------------------------------------------
oracle.install.client.schedulerAgentHostName=
#------------------------------------------------------------------------------
# Port number to be used for by the Oracle Scheduler Agent.
# This needs to be entered in case oracle.rdbms.scheduler is selected in the
# list of custom components during custom install
#
# Example: oracle.install.client.schedulerAgentPortNumber = 1500
#------------------------------------------------------------------------------

oracle.install.client.schedulerAgentPortNumber=


Initiate installation and search in logs in case any error  


[oracle@testlaba response]$ pwd
/rdbms/client_dump/client/response
[oracle@testlaba response]$ cd ..
[oracle@testlaba client]$ ls -lrt
total 28
-rwxrwxr-x.  1 oracle oracle  500 Feb  7  2013 welcome.html
-rwxr-xr-x.  1 oracle oracle 8537 Jul  7  2014 runInstaller
drwxr-xr-x.  4 oracle oracle 4096 Jul  7  2014 install
drwxr-xr-x. 14 oracle oracle 4096 Jul  7  2014 stage

drwxrwxr-x.  2 oracle oracle 4096 Jul 19 13:46 response

[oracle@testlaba client]$ ./runInstaller -silent -responsefile  /rdbms/client_dump/client/response/client_install.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 415 MB.   Actual 4168 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 7990 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-07-19_01-48-11PM. Please wait ...[oracle@testlaba client]$ [WARNING] [INS-13014] Target environment does not meet some optional requirements.
   CAUSE: Some of the optional prerequisites are not met. See logs for details. /rdbms/app/oraInventory/logs/installActions2017-07-19_01-48-11PM.log
   ACTION: Identify the list of failed prerequisite checks from the log: /rdbms/app/oraInventory/logs/installActions2017-07-19_01-48-11PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
You can find the log of this install session at:

 /rdbms/app/oraInventory/logs/installActions2017-07-19_01-48-11PM.log


Located missing OS package errors in log



[oracle@testlaba client]$ more /rdbms/app/oraInventory/logs/installActions2017-07-19_01-48-11PM.log..INFO: -----------------------------------------------INFO: Verification Result for Node:testlabaINFO: Expected Value:compat-libcap1-1.10INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "compat-libcap1" is missing on node "testlaba"INFO: Cause: A required package is either not installed or, if the package is a kernel module, is not loaded on the specified node.INFO: Action: Ensure that the required package is installed and available....INFO: OverallStatus:VERIFICATION_FAILEDINFO: -----------------------------------------------INFO: Verification Result for Node:testlabaINFO: Expected Value:compat-libstdc++-33(x86_64)-3.2.3INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "compat-libstdc++-33(x86_64)" is missing on node "testlaba"INFO: Cause: A required package is either not installed or, if the package is a kernel module, is not loaded on the specified node.INFO: Action: Ensure that the required package is installed and available.INFO: -----------------------------------------------....INFO: -----------------------------------------------INFO: Verification Result for Node:testlabaINFO: Expected Value:libstdc++-devel(x86_64)-4.4.4INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "libstdc++-devel(x86_64)" is missing on node "testlaba"..INFO: -----------------------------------------------INFO: Verification Result for Node:testlabaINFO: Expected Value:gcc-4.4.4INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "gcc" is missing on node "testlaba"INFO: Cause: A required package is either not installed or, if the package is a kernel module, is not loaded on the specified node.INFO: Action: Ensure that the required package is installed and available...INFO: Verification Result for Node:testlabaINFO: Expected Value:gcc-c++-4.4.4INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "gcc-c++" is missing on node "testlaba"INFO: Cause: A required package is either not installed or, if the package is a kernel module, is not loaded on the specified node.INFO: Action: Ensure that the required package is installed and available...INFO: OverallStatus:VERIFICATION_FAILEDINFO: -----------------------------------------------INFO: Verification Result for Node:testlabaINFO: Expected Value:kshINFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "ksh" is missing on node "testlaba"INFO: Cause: A required package is either not installed or, if the package is a kernel module, is not loaded on the specified node.INFO: Action: Ensure that the required package is installed and available.INFO: -----------------------------------------------INFO: *********************************************..INFO: -----------------------------------------------INFO: Verification Result for Node:testlabaINFO: Expected Value:libaio-devel(x86_64)-0.3.107INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "libaio-devel(x86_64)" is missing on node "testlaba"INFO: Cause: A required package is either not installed or, if the package is a kernel module, is not loaded on the specified node.INFO: Action: Ensure that the required package is installed and available.INFO: -----------------------------------------------..INFO: FINE: [VerificationCommand.execute:297]Output: '<CV_VAL>package compat-libcap1 is not installed</CV_VAL><CV_VRES>0</CV_VRES><CV_LOG>Exectask: Package information retrieval successful</CV_LOG><CV_CMDLOG><CV_INITCMD>/tmp/CVU_12.1.0.2.0_oracle/exectask -chkpackage compat-libcap1 </CV_INITCMD><CV_CMD>/bin/rpm -q --queryformat '<PACKAGE><NAME,%{NAME}><ARCH,%{ARCH}><VERSION,%{VERSION}-%{RELEASE}></PACKAGE>'  compat-libcap1 | /bin/sort -u</CV_CMD><CV_CMDOUT> package compat-libcap1 is not installed</CV_CMDOUT><CV_CMDSTAT>0</CV_CMDSTAT></CV_CMDLOG><CV_ERES>0</CV_ERES>'INFO: ERROR: [Result.addErrorDescription:624]  PRVF-7532 : Package "compat-libcap1" is missing on node "testlaba"INFO: FINE: [Task.perform:594]TaskPackage:Package: compat-libcap1-1.10[TASKPACKAGE]:TASK_SUMMARY:FAILED:IGNORABLE:VERIFICATION_FAILED          ERRORMSG(testlaba): PRVF-7532 : Package "compat-libcap1" is missing on node "testlaba"INFO: FINE: [Task.perform:493]

Generic search for all missing errors





[oracle@testlaba client]$ cat /rdbms/app/oraInventory/logs/installActions2017-07-19_01-48-11PM.log | grep -i missingINFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "compat-libcap1" is missing on node "testlaba"INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "compat-libstdc++-33(x86_64)" is missing on node "testlaba"INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "libstdc++-devel(x86_64)" is missing on node "testlaba"INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "gcc" is missing on node "testlaba"INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "gcc-c++" is missing on node "testlaba"INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "ksh" is missing on node "testlaba"INFO: Actual Value:missingINFO: Error Message:PRVF-7532 : Package "libaio-devel(x86_64)" is missing on node "testlaba"INFO: ERROR: [Result.addErrorDescription:624]  PRVF-7532 : Package "compat-libcap1" is missing on node "testlaba"          ERRORMSG(testlaba): PRVF-7532 : Package "compat-libcap1" is missing on node "testlaba"INFO: ERROR: [Result.addErrorDescription:624]  PRVF-7532 : Package "compat-libstdc++-33(x86_64)" is missing on node "testlaba"          ERRORMSG(testlaba): PRVF-7532 : Package "compat-libstdc++-33(x86_64)" is missing on node "testlaba"INFO: ERROR: [Result.addErrorDescription:624]  PRVF-7532 : Package "libstdc++-devel(x86_64)" is missing on node "testlaba"          ERRORMSG(testlaba): PRVF-7532 : Package "libstdc++-devel(x86_64)" is missing on node "testlaba"INFO: ERROR: [Result.addErrorDescription:624]  PRVF-7532 : Package "gcc" is missing on node "testlaba"          ERRORMSG(testlaba): PRVF-7532 : Package "gcc" is missing on node "testlaba"INFO: ERROR: [Result.addErrorDescription:624]  PRVF-7532 : Package "gcc-c++" is missing on node "testlaba"          ERRORMSG(testlaba): PRVF-7532 : Package "gcc-c++" is missing on node "testlaba"INFO: ERROR: [Result.addErrorDescription:624]  PRVF-7532 : Package "ksh" is missing on node "testlaba"          ERRORMSG(testlaba): PRVF-7532 : Package "ksh" is missing on node "testlaba"INFO: ERROR: [Result.addErrorDescription:624]  PRVF-7532 : Package "libaio-devel(x86_64)" is missing on node "testlaba"          ERRORMSG(testlaba): PRVF-7532 : Package "libaio-devel(x86_64)" is missing on node "testlaba"INFO: OUI-10066:Not all the dependencies for the component Oracle Client 12c 12.1.0.2.0  could be found. Missing component oracle.doc 12.1.0.2.0.INFO: OUI-10066:Not all the dependencies for the component Required Support Files 12.1.0.2.0  could be found. Missing component oracle.rsf.hybrid 12.1.0.2.0.




No comments:

Post a Comment