
Hi Andreas, On Sun, Mar 30, 2003 at 07:47:37PM +0200, gd^crazy wrote:
we installed OTRS on our SuSE 7.2 system with the SuSE 7.3 RPM file, which is available for download on the site. In general, the installation seems to be fine, no error occured. Additionally, I must say that we have installed Confixx 1.6 (Webmin-like administration interface), which has completely changed the default structure of the webpages. So our main presence, www.unitedbytes.de is at /home/www/web1 for example. Then I ran SuSEconfig, all went fine, restarting our Apache also. The documentation says something about running the web installer of OTRS, installer.pl, so I tryed to access it there: http://www.unitedbytes.de/otrs, but nothing happend (404). Then I created a sub-domain, http://otrs.unitedbytes.de, which has it´s root directory in /opt/otrs/bin/cgi-bin. Surprisingly, my web browser want to download the installer.pl or index.pl to my hard drive instead of executing them! What I am doing wrong? I saw something in the documentation regarding checking the perl
You need to configure your webserver manually.
Add the following to your virtual host section of otrs.unitedbytes.de:
[...]
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
[...]
Then you can access installer.pl and index.pl.
If you want to use mod_perl (recommended) add also:
[...]
scripts. As I did so, the following errors occured:
perl -cw /opt/otrs/bin/cgi-bin/index.pl Can't locate DBI.pm in @INC (@INC contains: /opt/otrs/bin/cgi-bin/../../Kernel/cpan-lib /opt/otrs/bin/cgi-bin/../.. /usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/i686-linux /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) at [...] Any ideas?
You need to install the required perl modules (mostly ready as RPM packages or via CPAN shell "perl -MCPAN -e shell;"). Yo will need DBI, DBD::mysql, Digest::MD5, MIME::Base64 and Net::DNS.
Mit freundlichen Grüßen / Best regards,
Andreas Löffler Fachinformatiker / Anwendungsentwicklung United Bytes Entertainment
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "The number of Unix installations has grown to 10, with more expected." The Unix Programmer's Manual, 2nd Edition, June 1972