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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
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:

Code:
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
</Directory>
Then I added the handlers:

Code:
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 192.168.0.186] (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 192.168.0.186] Premature end of script headers: index.pl

Can anyone help me or do you need more information?

Thx

Tini
Reply With Quote
Sponsored Links
  #2  
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,740 Times in 2,575 Posts
Default

Are the permissions ok? What's the output of
Code:
ls -la /var/www/clients/client4/web17/web/otrs3/bin/cgi-bin/
?
__________________
Falko
--
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
  #3  
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
Default

Dear falko

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

Code:
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
  #4  
Old 21st August 2010, 15:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
 
Default

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
Reply

Bookmarks

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 18:00.


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