My Oracle Support Banner

ADRCI IPS Command Fails with Can't Locate Sys/Hostname.pm (Doc ID 1921317.1)

Last updated on FEBRUARY 14, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

After the upgrade of the Grid Environment to 11.2.0.4 the following error is reported when generating a package with ADRCI:

adrci> ips generate package 2 in "/home/oracle"

Can't locate Sys/Hostname.pm in @INC (@INC contains: <$ORACLE HOME>/perl/lib/5.10.0/x86_64-linux-thread-multi <$ORACLE HOME>/perl/lib/5.10.0 <$ORACLE HOME>/perl/lib <$ORACLE HOME>/perl/lib/5.10.0/x86_64-linux-thread-multi <$ORACLE HOME>/perl/lib/5.10.0 <$ORACLE HOME>/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi <$ORACLE HOME>/perl/lib/site_perl/5.10.0 <$ORACLE HOME>/perl/lib/5.10.0/x86_64-linux-thread-multi <GRID_HOME>/perl/lib/5.10.0/x86_64-linux-thread-multi <GRID_HOME>/perl/lib/5.10.0 <GRID_HOME>/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi <GRID_HOME>/perl/lib/site_perl/5.10.0 <GRID_HOME>/perl/lib/site_perl .) at <GRID_HOME>/bin/diagcollection.pl line 80.
BEGIN failed--compilation aborted at <GRID_HOME>/bin/diagcollection.pl line 80.
Generated package 2 in file /home/oracle/ORA600172_20140214115059_COM_1.zip, mode complete

 

Changes

 The Grid Oracle Home was upgraded to 11.2.0.4

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.