installer.pl fails to load

Moderator: crythias

Shack
OTRS newbie
Posts: 15
Joined: 23 Aug 2013, 18:23
OTRS Version?: 5.0.18
Real Name: Scott Shackleton
Company: Brass Anchor Group
Location: California

installer.pl fails to load

Postby Shack » 21 Apr 2017, 01:07

I am creating a new instance of OTRS on Amazon Linux AMI 2017.03.0 (HVM) and cannot get the installer.pl to run. My installation steps are as follows (and I've done this about four times so far):
* Set the HOSTNAME
* Add the private IP address to the hosts file with the FQDN of the server (172.10.10.10 otrs.example.com)
* sudo yum -y update
* sudo yum -y install bash-completion --enablerepo=epel
* wget http://ftp.otrs.org/pub/otrs/RPMS/rhel/ ... noarch.rpm
* sudo yum -y install --nogpgcheck otrs-5.0.18-01.noarch.rpm
* sudo yum install -y mod24_perl "perl(JSON::XS)" "perl(GD::Text)" "perl(Encode::HanExtra)" "perl(GD::Graph)" "perl(Mail::IMAPClient)" "perl(PDF::API2)" "perl(Text::CSV_XS)" "perl(YAML::XS)" "perl(DBD::mysql)"
* sudo /sbin/chkconfig httpd on
* sudo reboot

Following a reboot, I can get to the Amazon Linux AMI Test Page at http://otrs.example.com/ but not http://otrs.example.com/otrs/installer.pl (results in a 500 Internal Server Error)

My httpd_error logs shows:
[Thu Apr 20 22:21:31.894716 2017] [core:notice] [pid 2721] AH00094: Command line: '/usr/sbin//opt/'
[Thu Apr 20 22:21:41.067143 2017] [:error] [pid 2725] Cannot find current script '/opt/' at /usr/share/perl5/FindBin.pm line 166.\nBEGIN failed--compilation aborted at /usr/share/perl5/FindBin.pm line 166.\nCompilation failed in require at /opt/otrs/bin/cgi-bin/installer.pl line 25.\nBEGIN failed--compilation aborted at /opt/otrs/bin/cgi-bin/installer.pl line 25.\n
[Thu Apr 20 22:21:48.280174 2017] [:error] [pid 2726] Cannot find current script '/opt/' at /usr/share/perl5/FindBin.pm line 166.\nBEGIN failed--compilation aborted at /usr/share/perl5/FindBin.pm line 166.\nCompilation failed in require at /opt/otrs/bin/cgi-bin/installer.pl line 25.\nBEGIN failed--compilation aborted at /opt/otrs/bin/cgi-bin/installer.pl line 25.\n
[Thu Apr 20 22:58:25.283392 2017] [autoindex:error] [pid 2724] [client 64.62.178.49:52639] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive

Has anyone else encountered this? Any suggestions on troubleshooting?

Thank you
Scott Shackleton
OTRS 5.0.18 on AWS Linux with MySQL database

root
Moderator
Posts: 761
Joined: 18 Dec 2007, 12:23
OTRS Version?: 5.0.x
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: installer.pl fails to load

Postby root » 21 Apr 2017, 07:36

What's the output if you running the command sestatus?
OTRS 4 /5 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

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

Shack
OTRS newbie
Posts: 15
Joined: 23 Aug 2013, 18:23
OTRS Version?: 5.0.18
Real Name: Scott Shackleton
Company: Brass Anchor Group
Location: California

Re: installer.pl fails to load

Postby Shack » 21 Apr 2017, 20:04

SELinux status: disabled
Scott Shackleton
OTRS 5.0.18 on AWS Linux with MySQL database

Shack
OTRS newbie
Posts: 15
Joined: 23 Aug 2013, 18:23
OTRS Version?: 5.0.18
Real Name: Scott Shackleton
Company: Brass Anchor Group
Location: California

Re: installer.pl fails to load

Postby Shack » 21 Apr 2017, 21:37

I didn't figure out what was wrong exactly but it concerned specifying mod24_perl. This install works on Amazon Linux:

* sudo yum -y install --nogpgcheck otrs-5.0.18-01.noarch.rpm
* sudo yum install -y "perl(Crypt::Eksblowfish::Bcrypt)" "perl(JSON::XS)" "perl(GD::Text)" "perl(Encode::HanExtra)" "perl(GD::Graph)" "perl(Mail::IMAPClient)" "perl(PDF::API2)" "perl(Text::CSV_XS)" "perl(YAML::XS)" "perl(DBD::mysql)"

I thought I had attempted an install like this in the beginning but must have misconfigured something then. Thank you for the assistance.
Scott Shackleton
OTRS 5.0.18 on AWS Linux with MySQL database


Return to “Help”

Who is online

Users browsing this forum: No registered users and 0 guests