Hi Uwe, I am using tar bundle to deploy the otrs. As part of the configuration i have created a new user otrs and set the home directory as /home/otrs with apache configuration point to new home folder.
Let me know if any modification required. root@localhost:/home/otrs/bin/cgi-bin# ls /home/otrs/bin/cgi-bin app.psgi customer.pl index.pl installer.pl nph-genericinterface.pl public.pl rpc.pl *apache-otrs.conf below* # -- # added for OTRS (http://otrs.org/) # -- ScriptAlias /otrs/ "/home/otrs/bin/cgi-bin/" Alias /otrs-web/ "/home/otrs/var/httpd/htdocs/" <IfModule mod_perl.c> # Setup environment and preload modules Perlrequire /home/otrs/scripts/apache2-perl-startup.pl # Reload Perl modules when changed on disk PerlModule Apache2::Reload PerlInitHandler Apache2::Reload # general mod_perl2 options <Location /otrs> # ErrorDocument 403 /otrs/customer.pl ErrorDocument 403 /otrs/index.pl SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders PerlOptions +SetupEnv <IfModule mod_version.c> <IfVersion < 2.4> Order allow,deny Allow from all </IfVersion> <IfVersion >= 2.4> Require all granted </IfVersion> </IfModule> <IfModule !mod_version.c> Order allow,deny Allow from all </IfModule> </Location> # mod_perl2 options for GenericInterface <Location /otrs/nph-genericinterface.pl> PerlOptions -ParseHeaders </Location> </IfModule> <Directory "/home/otrs/bin/cgi-bin/"> AllowOverride None Options +ExecCGI -Includes <IfModule mod_version.c> <IfVersion < 2.4> Order allow,deny Allow from all </IfVersion> <IfVersion >= 2.4> Require all granted </IfVersion> </IfModule> <IfModule !mod_version.c> Order allow,deny Allow from all </IfModule> <IfModule mod_filter.c> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/javascript application/javascript text/css text/xml application/json text/json </IfModule> </IfModule> </Directory> <Directory "/home/otrs/var/httpd/htdocs/"> AllowOverride None <IfModule mod_version.c> <IfVersion < 2.4> Order allow,deny Allow from all </IfVersion> <IfVersion >= 2.4> Require all granted </IfVersion> </IfModule> <IfModule !mod_version.c> Order allow,deny Allow from all </IfModule> <IfModule mod_filter.c> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/javascript application/javascript text/css text/xml application/json text/json </IfModule> </IfModule> # Make sure CSS and JS files are read as UTF8 by the browsers. AddCharset UTF-8 .css AddCharset UTF-8 .js # Set explicit mime type for woff fonts since it is relatively new and apache may not know about it. AddType application/font-woff .woff </Directory> # Allow access to public interface for unauthenticated requests on systems with set-up authentication. # Will work only for RegistrationUpdate, since page resources are still not be loaded. # <Location /otrs/public.pl> # <IfModule mod_version.c> # <IfVersion < 2.4> # Order allow,deny # Allow from all # </IfVersion> # <IfVersion >= 2.4> # Require all granted # </IfVersion> # </IfModule> # <IfModule !mod_version.c> # Order allow,deny # Allow from all # </IfModule> # </Location> <IfModule mod_headers.c> # Cache css-cache for 30 days <Directory "/home/otrs/var/httpd/htdocs/skins/*/*/css-cache"> <FilesMatch "\.(css|CSS)$"> Header set Cache-Control "max-age=2592000 must-revalidate" </FilesMatch> </Directory> # Cache css thirdparty for 4 hours, including icon fonts <Directory "/home/otrs/var/httpd/htdocs/skins/*/*/css/thirdparty"> <FilesMatch "\.(css|CSS|woff|svg)$"> Header set Cache-Control "max-age=14400 must-revalidate" </FilesMatch> </Directory> # Cache js-cache for 30 days <Directory "/home/otrs/var/httpd/htdocs/js/js-cache"> <FilesMatch "\.(js|JS)$"> Header set Cache-Control "max-age=2592000 must-revalidate" </FilesMatch> </Directory> # Cache js thirdparty for 4 hours <Directory "/home/otrs/var/httpd/htdocs/js/thirdparty/"> <FilesMatch "\.(js|JS)$"> Header set Cache-Control "max-age=14400 must-revalidate" </FilesMatch> </Directory> </IfModule> # Limit the number of requests per child to avoid excessive memory usage MaxRequestsPerChild 4000 On Fri, Mar 8, 2019 at 9:05 PM Uwe Dieckmann <[email protected]> wrote: > Hi sneharajr, > > look your apache configuration :) > > /opt/otrs/Kernel/..... > > /home/otrs/bin/cgi-bin/installer.pl > > The correct path must be /opt/otrs/... > > Greetings Uwe > > > Am 08.03.2019 um 16:19 schrieb sneharajr: > > > Hi Team, > > i am trying to install OTRS 6.x on ubuntu OS. when i am trying to access > http://x.x.x.x/otrs/installer.pl i am getting following error. > > Can you please advise how to fix the flowing issue. instillation reference > https://doc.otrs.com/doc/manual/admin/6 > ... -otrs.html > <https://doc.otrs.com/doc/manual/admin/5.0/en/html/manual-installation-of-otrs.html> > > [Fri Mar 08 12:52:32.168676 2019] [:error] [pid 15895:tid 139620746376960] > Can't locate Kernel/System/Web/InterfaceInstaller.pm in @INC (you may need > to install the Kernel::System::Web::InterfaceInstaller module) (@INC > contains: /usr/sbin/../../Custom /usr/sbin/../../Kernel/cpan-lib > /usr/sbin/../.. /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ > /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 > /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 > /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 > /usr/local/lib/site_perl /etc/apache2) at /home/otrs/bin/cgi-bin/ > installer.pl line 31.\nBEGIN failed--compilation aborted at > /home/otrs/bin/cgi-bin/installer.pl line 31.\n > > otrs@~/bin$ ./otrs.CheckModules.pl <http://otrs.checkmodules.pl/> > o Apache::DBI......................ok (v1.12) > o Apache2::Reload..................ok (v0.13) > o Archive::Tar.....................ok (v2.24) > o Archive::Zip.....................ok (v1.63) > o Crypt::Eksblowfish::Bcrypt.......ok (v0.009) > o Crypt::SSLeay....................ok (v0.73_06) > o Date::Format.....................ok (v2.24) > o DateTime.........................ok (v1.50) > o DBI..............................ok (v1.641) > o DBD::mysql.......................ok (v4.050) > o DBD::ODBC........................ok (v1.59) > o DBD::Oracle......................Not installed! (optional - Required to > connect to a Oracle database.) > o DBD::Pg..........................ok (v3.7.4) > o Digest::SHA......................ok (v5.96) > o Encode::HanExtra.................ok (v0.23) > o IO::Socket::SSL..................ok (v2.060) > o JSON::XS.........................ok (v3.04) > o List::Util::XS...................ok (v1.46_02) > o LWP::UserAgent...................ok (v6.26) > o Mail::IMAPClient.................ok (v3.39) > o IO::Socket::SSL................ok (v2.060) > o Authen::SASL...................ok (v2.16) > o Authen::NTLM...................ok (v1.09) > o ModPerl::Util....................ok (v2.000010) > o Net::DNS.........................ok (v1.17) > o Net::LDAP........................ok (v0.65) > o Template.........................ok (v2.27) > o Template::Stash::XS..............ok (undef) > o Text::CSV_XS.....................ok (v1.36) > o Time::HiRes......................ok (v1.9741) > o XML::LibXML......................ok (v2.0132) > o XML::LibXSLT.....................ok (v1.96) > o XML::Parser......................ok (v2.44) > o YAML::XS.........................ok (v0.74) > -- > Regards, > > sneharajr > > > Look before you leap and Think before you speak > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs > > -- > einraumwerk / OFORK > > Uwe Dieckmann > Meeräckerstraße 30 > 68163 Mannheim > > Tel: +49 (0)622 - 860 859 45 > mobil: +49 (0)151 - 2411 9789 > Email: [email protected] > http://einraumwerk.dehttps://o-fork.de > > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > Virenfrei. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > <#m_-3058320269713663471_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > -- Regards, sneharajr Look before you leap and Think before you speak
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
