Precompiler: Fatal Eval Error: Package:[PerlEx::Precompiler::c_::otrs::otrs::bin::cgi2dbin::index_pl]

Posted by viswanath.tg on 2016-06-22 19:58

Hello Everyone,

Good Morning

We are noting frequent 500 Internal server Error issue while working with the ticketing application. Following is the configuration we have used.

IIS version - 8.5
OTRS - 3.3.7
Perl - Active State Perl 5.16.1
OS - Windows 2012 R2

From last few days I went through following error and this occurs 2-3 times in day on each system. we have two system running with same configuration on load balancer.

Below is the perl logs and there is no error in otrs log for this corresponding issue.

*** 'C:\otrs\OTRS\bin\cgi-bin\index.pl' log message at: 2016/06/15 07:01:08
Undefined value assigned to typeglob.
Undefined value assigned to typeglob.
Undefined value assigned to typeglob.
Undefined value assigned to typeglob.
Undefined value assigned to typeglob.
Undefined value assigned to typeglob.
Import add: IsArrayRefWithData IsHashRefWithData IsInteger IsIPv4Address IsIPv6Address IsMD5Sum IsNotEqual IsNumber IsPositiveInteger IsString IsStringWithData DataIsDifferent at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/DB.pm line 19.
Precompiler: Fatal Eval Error:
Package:[PerlEx::Precompiler::c_::otrs::otrs::bin::cgi2dbin::index_pl]
File:[C:\otrs\OTRS\bin\cgi-bin\index.pl]
Error:["IsArrayRefWithData" is not exported by the Kernel::System::VariableCheck module
"IsNotEqual" is not exported by the Kernel::System::VariableCheck module
"IsPositiveInteger" is not exported by the Kernel::System::VariableCheck module
"IsIPv6Address" is not exported by the Kernel::System::VariableCheck module
"DataIsDifferent" is not exported by the Kernel::System::VariableCheck module
"IsStringWithData" is not exported by the Kernel::System::VariableCheck module
"IsMD5Sum" is not exported by the Kernel::System::VariableCheck module
"IsNumber" is not exported by the Kernel::System::VariableCheck module
"IsHashRefWithData" is not exported by the Kernel::System::VariableCheck module
"IsInteger" is not exported by the Kernel::System::VariableCheck module
"IsIPv4Address" is not exported by the Kernel::System::VariableCheck module
"IsString" is not exported by the Kernel::System::VariableCheck module
Can't continue after import errors at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/DB.pm line 19.
BEGIN failed--compilation aborted at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/DB.pm line 19.
Compilation failed in require at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/Web/InterfaceAgent.pm line 21.
BEGIN failed--compilation aborted at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/Web/InterfaceAgent.pm line 21.
Compilation failed in require at C:\otrs\OTRS\bin\cgi-bin\index.pl line 35.
BEGIN failed--compilation aborted at C:\otrs\OTRS\bin\cgi-bin\index.pl line 35.
]

Also same time ..i am getting this below error log too

Unquoted string "croak" may clash with future reserved word at (eval 21) line 2.
String found where operator expected at (eval 21) line 2, near "croak 'usage: $io->getline()'"
(Do you need to predeclare croak?)
Unquoted string "croak" may clash with future reserved word at (eval 21) line 8.
String found where operator expected at (eval 21) line 8, near "croak 'usage: $io->getlines()'"
(Do you need to predeclare croak?)
Unquoted string "croak" may clash with future reserved word at (eval 21) line 10.
String found where operator expected at (eval 21) line 10, near "croak 'Can\'t call $io->getlines in a scalar context, use $io->getline'"
(Do you need to predeclare croak?)
Precompiler: Fatal Eval Error:
Package:[PerlEx::Precompiler::c_::otrs::otrs::bin::cgi2dbin::index_pl]
File:[C:\otrs\OTRS\bin\cgi-bin\index.pl]
Error:[syntax error at (eval 21) line 2, near "croak 'usage: $io->getline()'"
syntax error at (eval 21) line 8, near "croak 'usage: $io->getlines()'"
syntax error at (eval 21) line 10, near "croak 'Can\'t call $io->getlines in a scalar context, use $io->getline'"
Compilation failed in require at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/cpan-lib/IO/Interactive.pm line 76.
BEGIN failed--compilation aborted at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/cpan-lib/IO/Interactive.pm line 76.
Compilation failed in require at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/Encode.pm line 17.
BEGIN failed--compilation aborted at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/Encode.pm line 17.
Compilation failed in require at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/Log.pm line 19.
BEGIN failed--compilation aborted at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/Log.pm line 19.
Compilation failed in require at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/Web/InterfaceAgent.pm line 16.
BEGIN failed--compilation aborted at C:/otrs/OTRS/bin/cgi-bin/../../Kernel/System/Web/InterfaceAgent.pm line 16.
Compilation failed in require at C:\otrs\OTRS\bin\cgi-bin\index.pl line 35.
BEGIN failed--compilation aborted at C:\otrs\OTRS\bin\cgi-bin\index.pl line 35.
]

It would really appreciate if someone can help me to trace this error.

Thanks in advance.
Vishy