• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

installation problem of OTRS for domains

P

perler

Guest
hi,

i try to install OTRS for one domain on my plesk 7.5 server - without success.

for OTRS to work i added this to the vhost.conf of the domain
PHP:
  <Directory "/usr/share/otrs/bin/cgi-bin/">    
 AllowOverride None      
Options +ExecCGI -Includes      
Order allow,deny      
Allow from all 
 </Directory>    
ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/"  
Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/"

but when i call http://domain.com/otrs/installer.pl i get a
Premature end of script headers: installer.pl
in the logs. running from the shell the installer.pl seems to work.

I suspect a problem with the security settings of apache2/plesk. what could it be?

PAT
 
Hi PAT

here's my vhost.conf with which the installer seemed to work:

ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/"

# directory settings
<Directory "/usr/share/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>

<Directory "/usr/share/otrs/var/httpd/htdocs/">
AllowOverride None
Order allow,deny
Allow from all
</Directory>

If it still doesn't work that way, I would check the permissions on /usr/share/otrs/bin/cgi-bin/ and /usr/share/otrs/var/httpd/htdocs/.

Hope this helps.

Cheers,
Andreas
 
thanks for you reply. but no success here..

which version of OTRS do you use? did you install from source or from a .deb?

PAT
 
I just did a 'apt-get install otrs' on my debian system. haven't tried it to build from source.

unfortunately, it's already been a while ago and I'm not using otrs anymore, so I don't know which version it was.

have you checked if the apache-user has the necessary permissions to the otrs directories?
 
yes www-data has wrx access, i even did a chmod 777 (and apt-get remove otrs, afterwards) ;)

i wonder where i could find some more error messages beside the dreaded "premature end of script.."..

PAT
 
Back
Top