Frequent 500 Internal Server Error

Moderator: crythias

Locked
sakul
Znuny newbie
Posts: 4
Joined: 21 Jul 2016, 17:44
Znuny Version: 3.3.X
Real Name: Sakul

Frequent 500 Internal Server Error

Post by sakul »

Hello Everyone,

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.


Thanks
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Frequent 500 Internal Server Error

Post by jojo »

migrate to a supported versionof OTRS (and to *NIX)
"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
sakul
Znuny newbie
Posts: 4
Joined: 21 Jul 2016, 17:44
Znuny Version: 3.3.X
Real Name: Sakul

Re: Frequent 500 Internal Server Error

Post by sakul »

Thanks,
Migration activity is planned in the pipeline.Would like to understand what the error is and the root cause for the same?
Locked