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

Last updated on OCTOBER 02, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 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: /u00/app/grid/product/11.2.0.4/perl/lib/5.10.0/x86_64-linux-thread-multi /u00/app/grid/product/11.2.0.4/perl/lib/5.10.0 /u00/app/grid/product/11.2.0.4/perl/lib /u00/app/grid/product/11.2.0.4/perl/lib/5.10.0/x86_64-linux-thread-multi /u00/app/grid/product/11.2.0.4/perl/lib/5.10.0 /u00/app/grid/product/11.2.0.4/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u00/app/grid/product/11.2.0.4/perl/lib/site_perl/5.10.0 /u00/app/grid/product/11.2.0.4/perl/lib/5.10.0/x86_64-linux-thread-multi /u00/app/grid/product/11.2.0.4/perl/lib/5.10.0/x86_64-linux-thread-multi /u00/app/grid/product/11.2.0.4/perl/lib/5.10.0 /u00/app/grid/product/11.2.0.4/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u00/app/grid/product/11.2.0.4/perl/lib/site_perl/5.10.0 /u00/app/grid/product/11.2.0.4/perl/lib/site_perl .) at /u00/app/grid/product/11.2.0.4/bin/diagcollection.pl line 80.
BEGIN failed--compilation aborted at /u00/app/grid/product/11.2.0.4/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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms