OTRS 5.0.9 CentOS installation - Internal Server Error

Moderator: crythias

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

OTRS 5.0.9 CentOS installation - Internal Server Error

Post by danchitu86 »

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
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS 5.0.9 CentOS installation - Internal Server Error

Post by root »

Fix the permissions and check if SELinux is permissived or disabled.
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 ?
danchitu86
Znuny newbie
Posts: 37
Joined: 31 Jan 2011, 11:25
Znuny 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 »

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
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny 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 »

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
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS 5.0.9 CentOS installation - Internal Server Error

Post by root »

Add mod_perl, this is available via EPEL (yum install epel-release).
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 ?
danchitu86
Znuny newbie
Posts: 37
Joined: 31 Jan 2011, 11:25
Znuny 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 »

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
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS 5.0.9 CentOS installation - Internal Server Error

Post by root »

Check Kernel/Config/Files/ZZZAuto.pm
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 ?
Post Reply