Internal server error 500

Moderator: crythias

Post Reply
Mazowinski
Znuny newbie
Posts: 28
Joined: 19 Feb 2018, 14:04
Znuny Version: OTRS VERSION 6
Real Name: Denis Kalega
Company: BRAC Finace Ltd

Internal server error 500

Post by Mazowinski »

Hello Team,

Am failing to access the otrs index and customer interface as the system returns an error "internal server error 500".
Have chaecked the apache error log and this is what i can see

Message: Invalid value for TimeZone: Africa/Kampala.
ERROR: OTRS-CGI-19 Perl: 5.16.3 OS: linux Time: Wed Aug 15 11:20:45 2018

Message: Error creating DateTime object.
Traceback (5159):
Module: Kernel::System::DateTime::_CPANDateTimeObjectCreate Line: 1800
Module: Kernel::System::DateTime::new Line: 140
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 306
Module: Kernel::System::ObjectManager::Create Line: 241
Module: Kernel::System::AuthSession::DB::CheckSessionID Line: 97
Module: Kernel::System::AuthSession::CheckSessionID Line: 89
Module: Kernel::System::Web::InterfaceAgent::Run Line: 823
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Internal server error 500

Post by jojo »

Please check the Installation Documentation and run the bin/otrs.CheckModules.pl scriopt. Also check the Apache error log
"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
Mazowinski
Znuny newbie
Posts: 28
Joined: 19 Feb 2018, 14:04
Znuny Version: OTRS VERSION 6
Real Name: Denis Kalega
Company: BRAC Finace Ltd

Re: Internal server error 500

Post by Mazowinski »

Below are the only missing modules after running the checkmodules script

o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o DBD::Pg..........................Not installed! Use: 'yum install "perl(DBD::Pg)"' (optional - Required to connect to a PostgreSQL database.)
o Digest::SHA......................ok (v5.85)
o Encode::HanExtra.................Not installed! Use: 'yum install "perl(Encode::HanExtra)"' (optional - Required to handle mails with several Chinese character sets.)

Message: Invalid value for TimeZone: Africa/Kampala.
ERROR: OTRS-CGI-19 Perl: 5.16.3 OS: linux Time: Wed Aug 15 11:20:45 2018

Message: Error creating DateTime object.
Traceback (5159):
Module: Kernel::System::DateTime::_CPANDateTimeObjectCreate Line: 1800
Module: Kernel::System::DateTime::new Line: 140
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 306
Module: Kernel::System::ObjectManager::Create Line: 241
Module: Kernel::System::AuthSession::DB::CheckSessionID Line: 97
Module: Kernel::System::AuthSession::CheckSessionID Line: 89
Module: Kernel::System::Web::InterfaceAgent::Run Line: 823
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
Top
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Internal server error 500

Post by jojo »

It seems that the DateTime Object is missing in your PERL installation
"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
Mazowinski
Znuny newbie
Posts: 28
Joined: 19 Feb 2018, 14:04
Znuny Version: OTRS VERSION 6
Real Name: Denis Kalega
Company: BRAC Finace Ltd

Re: Internal server error 500

Post by Mazowinski »

The datetime modules shows ok when runnin the checkmodules script
The system had been working fine until i updated my centos using the yum update command
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Internal server error 500

Post by root »

Hi,

If Perl was updated you should restart httpd and the OTRS daemon

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Mazowinski
Znuny newbie
Posts: 28
Joined: 19 Feb 2018, 14:04
Znuny Version: OTRS VERSION 6
Real Name: Denis Kalega
Company: BRAC Finace Ltd

Re: Internal server error 500

Post by Mazowinski »

I have restart httpd and daemon but issue persists
Post Reply