otrs perl files not executes, other perl scripts work

Moderator: crythias

Locked
philbe
Znuny newbie
Posts: 1
Joined: 25 Apr 2016, 11:43
Znuny Version: 5.0.6-01
Real Name: Philipp

otrs perl files not executes, other perl scripts work

Post by philbe »

Hello,

suddenly our OTRS has stopped working from one day to other.
all perl scripts in the OTRS Directory gets downloaded, not executed.
I've created a simple "hello world" Perl Script and put it in the same diretory (/opt/otrs/bin/cgi-bin/).
Content of test.pl:

Code: Select all

#!/usr/bin/perl -wT
print "Content-type: text/html\n\n";
print "Perl is working\n";
all other OTRS perl files in the same location will be downloaded instead of executed.

Any ideas what could be the reason - I spent 2h of tTroubleshooting, without any idea what is wrong.

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

Re: otrs perl files not executes, other perl scripts work

Post by jojo »

check 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
Locked