Hello Everyone ,
Let me tell you the configuration first
IIS version - 8.5
OTRS - 3.3.7
Perl - Active State Perl 5.16.
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 logs are coming in Perl logs files 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.
Thanks !!
Yash
Getting Precompiler: Fatal Eval Error while running on IIS 8.5 using OTRS 3.3.7
Moderator: crythias
-
- Znuny newbie
- Posts: 2
- Joined: 15 Jun 2016, 11:38
- Znuny Version: 3.3.7
Re: Getting Precompiler: Fatal Eval Error while running on IIS 8.5 using OTRS 3.3.7
get rid of a windows installation -> switch to linux and OTRS5. Also loadbalanced systems would need additional caching modules for OTRS
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 2
- Joined: 15 Jun 2016, 11:38
- Znuny Version: 3.3.7
Re: Getting Precompiler: Fatal Eval Error while running on IIS 8.5 using OTRS 3.3.7
Thanks Jojo for your quick reply.
we are checking the possibility to move on latest version of OTRS and Linux but it will take some time. But current system is already running in production and we can't replace this now and we are getting this error around 3-4 times each day.
Therefore we are looking for some solution with current system for a time being.
we are checking the possibility to move on latest version of OTRS and Linux but it will take some time. But current system is already running in production and we can't replace this now and we are getting this error around 3-4 times each day.
Therefore we are looking for some solution with current system for a time being.