Running GUDS fails with the ERROR: "Perl is either not installed or executable or Can't locate Sun/Solaris/Kstat.pm" (Doc ID 1968802.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 8 6/00 U1 to 10 1/13 U11 [Release 8.0 to 10.0]
Information in this document applies to any platform.
Information in this document not applies to Solaris 11 or 11.X

Symptoms

Below is the Error we get while running the GUDS :

===================================

# ./guds_3_3 -q -sxxxxxxxx -d "Issue Present"

ERROR: Perl is either not installed or executable

Current perl binary is /usr/bin/perl

The current perl binary is either not present or does not have
the Solaris::Kstat module installed. You may change the path
to the perl binary used by guds to one which has the Solaris::Kstat
module installed by defining the path with the environment variable
GUDS_PERL_BIN before starting guds. If this is not possible, you may
override this exit of guds due to this perl issue by specifying the
-P option on the guds command line. This will allow guds to continue
but important data will not be captured. 

==================================

or

==================================

# ./guds_3_4 -q -sxxxxxxxx -d "Issue Present"
Can't locate Sun/Solaris/Kstat.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i86pc-solaris /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i86pc-solaris /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
Backticks found where operator expected at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9, at end of line
(Missing semicolon on previous line?)
Can't find string terminator "`" anywhere before EOF at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9.
Compilation failed in require.
BEGIN failed--compilation aborted.
INFO: Selected perl binary is /usr/perl5/5.6.1/bin/perl
Backticks found where operator expected at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9, at end of line
(Missing semicolon on previous line?)
Can't find string terminator "`" anywhere before EOF at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9.
Compilation failed in require at /usr/bin/kstat line 18.
BEGIN failed--compilation aborted at /usr/bin/kstat line 18.
Backticks found where operator expected at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9, at end of line
(Missing semicolon on previous line?)
Can't find string terminator "`" anywhere before EOF at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9.
Compilation failed in require at /usr/bin/kstat line 18.
BEGIN failed--compilation aborted at /usr/bin/kstat line 18.
Backticks found where operator expected at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9, at end of line
(Missing semicolon on previous line?)
Can't find string terminator "`" anywhere before EOF at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9.
Compilation failed in require at /usr/bin/kstat line 18.
BEGIN failed--compilation aborted at /usr/bin/kstat line 18.
Backticks found where operator expected at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9, at end of line
(Missing semicolon on previous line?)
Can't find string terminator "`" anywhere before EOF at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9.
Compilation failed in require at /usr/bin/kstat line 18.
BEGIN failed--compilation aborted at /usr/bin/kstat line 18.
Backticks found where operator expected at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9, at end of line
(Missing semicolon on previous line?)
Can't find string terminator "`" anywhere before EOF at /usr/perl5/5.8.4/lib/Sun/Solaris/Kstat.pm line 9.
Compilation failed in require at /usr/bin/kstat line 18.
BEGIN failed--compilation aborted at /usr/bin/kstat line 18.

============================

Changes

A new Perl package (SMCperl Version 5.8.8 ) was installed.

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