OTRS 5.0.9 CentOS installation - Internal Server Error

Moderator: crythias

Post Reply
danchitu86
OTRS newbie
Posts: 37
Joined: 31 Jan 2011, 11:25
OTRS Version?: 3.2.3
Real Name: Dan
Company: ANB
Location: Bucharest, RO

OTRS 5.0.9 CentOS installation - Internal Server Error

Post by danchitu86 » 12 May 2016, 13:45

Hi all!

I did a fresh install of otrs-5.0.9-01.noarch.rpm on a CentOS 6.7 (tried both 32 and 64 bit). After following all the steps from the user guide http://otrs.github.io/doc/manual/admin/ ... -on-centos I can't access the installer at: http://172.18.7.21/otrs/installer.pl. It sais:

Code: Select all

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
In /var/log/httpd/error_log I have:

Code: Select all

[Thu May 12 14:32:01 2016] [error] mkdir /opt/otrs/var/tmp/CacheFileStorable: Permission denied at /opt/otrs//Kernel/System/Cache/FileStorable.pm line 87\n
I don't know what to do next. Thank you!

root
Moderator
Posts: 1576
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: OTRS 5.0.9 CentOS installation - Internal Server Error

Post by root » 12 May 2016, 13:48

Fix the permissions and check if SELinux is permissived or disabled.
OTRS 4/5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

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

danchitu86
OTRS newbie
Posts: 37
Joined: 31 Jan 2011, 11:25
OTRS Version?: 3.2.3
Real Name: Dan
Company: ANB
Location: Bucharest, RO

Re: OTRS 5.0.9 CentOS installation - Internal Server Error

Post by danchitu86 » 13 May 2016, 09:19

Thank you, SELinux was the issue. Maybe it is a good idea to add this to the user guide. CentOS 6.7 had this enabled by default.

I have now some slow performance issue - the webpages are not loading as fast as my old instance (OTRS 3.2.3 installed on Windows).
I have check in Support Data Collector and everything is green, except:

Code: Select all

mod_filter Usage (not active)
Please install mod_filter if mod_deflate is used.
What else can I check?

Thank you!

Giulio Soleni
OTRS superhero
Posts: 391
Joined: 30 Dec 2010, 14:35
OTRS Version?: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

Re: OTRS 5.0.9 CentOS installation - Internal Server Error

Post by Giulio Soleni » 13 May 2016, 10:17

If you have mod_filter installed you should see this line within /etc/httpd/conf/httpd.conf

Code: Select all

# LoadModule filter_module modules/mod_filter.so
just remove the # for comment and then restart your apache, it should be enough.

On my system (CentOS 6.x) I installed the following packages related to apache:

Code: Select all

yum install httpd-devel httpd-devel.i686 "perl(Apache::DBI)"

To list the modules presently installed on your apache you may run the following command:

Code: Select all

apachectl -t -D DUMP_MODULES
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.

root
Moderator
Posts: 1576
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: OTRS 5.0.9 CentOS installation - Internal Server Error

Post by root » 13 May 2016, 10:22

Add mod_perl, this is available via EPEL (yum install epel-release).
OTRS 4/5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

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

danchitu86
OTRS newbie
Posts: 37
Joined: 31 Jan 2011, 11:25
OTRS Version?: 3.2.3
Real Name: Dan
Company: ANB
Location: Bucharest, RO

Re: OTRS 5.0.9 CentOS installation - Internal Server Error

Post by danchitu86 » 13 May 2016, 10:53

Thank you both! Now mod_filter Usage in active and webserver is working faster!

One short off topic question: How can I find all settings from Admin>System Administration>SysConfig that are not default? I want to check my settings from the old instance I want to replace (v3.2.3) and set them on 5.0.9. Thanks!

root
Moderator
Posts: 1576
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: OTRS 5.0.9 CentOS installation - Internal Server Error

Post by root » 13 May 2016, 11:25

Check Kernel/Config/Files/ZZZAuto.pm
OTRS 4/5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

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

Post Reply