[otrs] otrs on gentoo - Apache catch 22?

Ed lists at precognet.com
Fri Feb 23 17:34:53 GMT 2007


Hello,
I have installed otrs on a gentoo box and I'm so close to gettting it to work 
but I am stuck on a problem with Apache and virtual hosts.

Can you help?

My first attempt at a Apache Vhost config file:

<VirtualHost *:80>
	ScriptAlias /otrs/ "/var/www/ticket.precognet.com/otrs-2.1.5/bin/cgi-bin/"
        Alias /otrs-web/ "/var/www/ticket.precognet.com/htdocs/"

        ServerName ticket.precognet.com
        DocumentRoot /var/www/ticket.precognet.com/htdocs
        ErrorLog /var/log/apache2/ticket.precognet.com.error_log
        CustomLog /var/log/apache2/ticket.precognet.com.access_log combined

        <Directory "/var/www/ticket.precognet.com/otrs-2.1.5/bin/cgi-bin/">
                AllowOverride None
                Options +ExecCGI -Includes
                Order allow,deny
                Allow from all
        </Directory>

        <Directory "/var/www/ticket.precognet.com/htdocs/">
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>

This is what I get in the apache logs though:

[Fri Feb 23 17:11:52 2007] [error] Can't locate 
Kernel/System/Web/InterfaceAgent.pm in @INC (@INC 
contains: /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /home/httpd/perl /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl . /usr/lib/apache2) 
at /var/www/ticket.precognet.com/otrs-2.1.5/bin/cgi-bin/index.pl line 41.
\nBEGIN failed--compilation aborted 
at /var/www/ticket.precognet.com/otrs-2.1.5/bin/cgi-bin/index.pl line 41.\n


My second attempt at a Apache Vhost config file:

<VirtualHost *:80>
        ScriptAlias /otrs/ "/var/www/ticket.precognet.com/otrs-2.1.5/bin/"
        Alias /otrs-web/ "/var/www/ticket.precognet.com/htdocs/"

        ServerName ticket.precognet.com
        DocumentRoot /var/www/ticket.precognet.com/htdocs
        ErrorLog /var/log/apache2/ticket.precognet.com.error_log
        CustomLog /var/log/apache2/ticket.precognet.com.access_log combined

        <Directory "/var/www/ticket.precognet.com/otrs-2.1.5/bin/">
                AllowOverride None
                Options +ExecCGI -Includes
                Order allow,deny
                Allow from all
        </Directory>

        <Directory "/var/www/ticket.precognet.com/htdocs/">
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>
	

This is what I get in the apache logs though:

[Fri Feb 23 17:15:03 2007] [error] 
slurp_filename('/var/www/ticket.precognet.com/otrs-2.1.5/bin/index.pl') / 
opening: (2) No such file or directory 
at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/ModPerl/RegistryCooker.pm line 
540


Here is a capped structure of the directories

.
./htdocs
./htdocs/images
./cgi-bin
./error
./icons
./otrs-2.1.5
./otrs-2.1.5/Kernel
./otrs-2.1.5/bin
./otrs-2.1.5/bin/cgi-bin
./otrs-2.1.5/bin/fcgi-bin
./otrs-2.1.5/scripts
./otrs-2.1.5/var
...

Index.pl can be found at: ./otrs-2.1.5/bin/cgi-bin/index.pl

Any help or pointers to dcumentation are welcome.  I read the manual but it 
seems gentoo moved things arround.

Many thanks
 -Ed


More information about the otrs mailing list