Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 19th August 2010, 13:13
tini tini is offline
Junior Member
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default ISPConfig 3 and OTRS 3 (Perl)

Hi there

I'm trying to install a beta of the forthcoming new version of OTRS 3 which is written in perl.

I already searched for other users having issues with ISPConfig 3 and OTRS or other perl applications, i.e. this thread: http://www.howtoforge.de/forum/showthread.php?t=1988

So I went ahead and created a new site in the ISPConfig Admin Panel.
I tried both, enalbed cgi and disabled cgi, the error is the same (see below).

I upload the OTRS application into /web/otrs3/.

I added the following Apache directives through the ISPConfig Admin Panel:

ScriptAlias /otrs/ "/var/www/clients/client4/web17/web/otrs3/bin/cgi-bin/"
Alias /otrs-web/ "/var/www/clients/client4/web17/web/otrs3/var/httpd/htdocs/"

<Directory "/var/www/clients/client4/web17/web/otrs3/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
Then I added the handlers:

AddHandler cgi-script .cgi
AddHandler cgi-script .pl
Now my problem is that when I browse to http://mydomain/otrs/index.pl, i get a 505:

[Thu Aug 19 13:10:17 2010] [error] [client] (13)Permission denied: exec of '/var/www/clients/client4/web17/web/otrs3/bin/cgi-bin/index.pl' failed
[Thu Aug 19 13:10:17 2010] [error] [client] Premature end of script headers: index.pl

Can anyone help me or do you need more information?


Reply With Quote
Sponsored Links
Old 20th August 2010, 13:57
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts

Are the permissions ok? What's the output of
ls -la /var/www/clients/client4/web17/web/otrs3/bin/cgi-bin/
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 20th August 2010, 14:02
tini tini is offline
Junior Member
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post

Dear falko

I think there a some missing permissions to execute the perl-skripts.
If so, does the owner need executable permissions?

ls -la /var/www/clients/client4/web17/web/otrs3/bin/cgi-bin/
total 32
drwxr-xr-x 3 web17 client4 4096 2010-08-17 13:51 .
drwxr-xr-x 4 web17 client4 4096 2010-08-17 13:51 ..
drwxr-xr-x 2 web17 client4 4096 2010-08-17 13:51 cpanel
-rw-r--r-- 1 web17 client4 1537 2010-08-17 13:51 customer.pl
-rw-r--r-- 1 web17 client4 1525 2010-08-17 13:51 index.pl
-rw-r--r-- 1 web17 client4 1532 2010-08-17 13:51 installer.pl
-rw-r--r-- 1 web17 client4 1514 2010-08-17 13:51 public.pl
-rw-r--r-- 1 web17 client4 3964 2010-08-17 13:51 rpc.pl
Reply With Quote
Old 21st August 2010, 15:35
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,410
Thanks: 834
Thanked 5,496 Times in 4,326 Posts

Your cgi scripts are not executable. Please run:

chmod +x /var/www/clients/client4/web17/web/otrs3/bin/cgi-bin/

to make the scripts executable.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig And OTRS Hotwire General 5 12th August 2009 16:46
OTRS help sk_kgs HOWTO-Related Questions 0 11th July 2008 02:37
Installing OTRS 2.2.4 on CentOS 4.4 yellow1912 HOWTO-Related Questions 7 26th January 2008 18:09
OTRS + Suse 10.2 rpm error sp20ngebob Installation/Configuration 1 12th June 2007 13:08
installing otrs with ispconfig on ubuntu (error 500) blackflag Installation/Configuration 47 8th March 2007 08:39

All times are GMT +2. The time now is 17:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.