getting 404 error on installer.pl

Moderator: crythias

Post Reply
sriwatzz
Znuny newbie
Posts: 7
Joined: 17 Sep 2018, 15:15
Znuny Version: OTRS 6
Real Name: srivatsan

getting 404 error on installer.pl

Post by sriwatzz »

Hi ,

getting 404 error on installer.pl . Kindly help where I could go wrong.

OS version: 3.10.0-862.11.6.el7.x86_64
Otrs version:

[root@linuxpoc1 otrs]# cat RELEASE
PRODUCT = OTRS
VERSION = 6.0.10
BUILDDATE = Tue Jul 24 17:47:19 CEST 2018
BUILDHOST = otrsbuild.otrs.com


curl -k http://*.*.*.*/otrs/installer.pl
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /otrs/installer.pl was not found on this server.</p>
</body></html>

./bin/otrs.CheckModules.pl
o Apache::DBI......................ok (v1.12)
o Apache2::Reload..................ok (v0.13)
o Archive::Tar.....................ok (v2.32)
o Archive::Zip.....................ok (v1.64)
o Crypt::Eksblowfish::Bcrypt.......ok (v0.009)
o Crypt::SSLeay....................ok (v0.64)
o Date::Format.....................ok (v2.24)
o DateTime.........................ok (v1.04)
o DBI..............................ok (v1.627)
o DBD::mysql.......................ok (v4.048)
o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o DBD::Pg..........................ok (v2.19.3)
o Digest::SHA......................ok (v6.02)
o Encode::HanExtra.................Not installed! Use: 'yum install "perl(Encode::HanExtra)"' (optional - Required to handle mails with several Chinese character sets.)
o IO::Socket::SSL..................ok (v1.94)
o JSON::XS.........................ok (v3.01)
o List::Util::XS...................ok (v1.27)
o LWP::UserAgent...................ok (v6.26)
o Mail::IMAPClient.................ok (v3.37)
o IO::Socket::SSL................ok (v1.94)
o Authen::SASL...................ok (v2.15)
o Authen::NTLM...................ok (v1.09)
o ModPerl::Util....................ok (v2.000010)
o Net::DNS.........................ok (v0.72)
o Net::LDAP........................ok (v0.56)
o Template.........................ok (v2.27)
o Template::Stash::XS..............ok (undef)
o Text::CSV_XS.....................ok (v1.00)
o Time::HiRes......................ok (v1.9725)
o XML::LibXML......................ok (v2.0018)
o XML::LibXSLT.....................ok (v1.80)
o XML::Parser......................ok (v2.41)
o YAML::XS.........................ok (v0.54)

Regards
Srivats
seberget2
Znuny newbie
Posts: 74
Joined: 17 May 2013, 09:30
Znuny Version: 6.0.30
Real Name: Stein Erik Berget

Re: getting 404 error on installer.pl

Post by seberget2 »

What is in your Apache error log?
I would start looking at the Apache configuration.
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two :-D
sriwatzz
Znuny newbie
Posts: 7
Joined: 17 Sep 2018, 15:15
Znuny Version: OTRS 6
Real Name: srivatsan

Re: getting 404 error on installer.pl

Post by sriwatzz »

Hi

error_log while doing the curl.

[Mon Nov 05 16:44:51.729739 2018] [mpm_prefork:notice] [pid 28298] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 mod_perl/2.0.10 Perl/v5.16.3 configured -- resuming normal operations
[Mon Nov 05 16:44:51.729771 2018] [core:notice] [pid 28298] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Cwd.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/File/Spec.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/File/Spec/Unix.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Socket.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Base.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Config.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Constants.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Context.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Directive.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Document.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Exception.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Filters.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Grammar.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Iterator.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Parser.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Plugins.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Provider.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Service.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Stash.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/Stash/XS.pm
[Mon Nov 5 16:51:58 2018] -e: Apache2::Reload: Can't locate /usr/local/lib64/perl5/Template/VMethods.pm
[Mon Nov 05 16:51:58.518334 2018] [:error] [pid 28304] install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /usr/sbin/../../Custom /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 122) line 3.\nPerhaps the DBD::mysql perl module hasn't been fully installed,\nor perhaps the capitalisation of 'mysql' isn't right.\nAvailable drivers: DBM, ExampleP, File, Gofer, Pg, Proxy, SQLite, Sponge.\n at /opt/otrs//Kernel/System/DB.pm line 204.\n

but the file are located in the path

ls /usr/local/lib64/perl5/
auto Compress Cwd.pm Digest File Socket.pm Sub Template Template.pm Term Test

Attached the /etc/httpd/conf.d/otrs.conf for your reference. Also we would like to know how to connect with external MySQL(community edition) db which of version 5.7.

Regards
Srivats
You do not have the required permissions to view the files attached to this post.
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: getting 404 error on installer.pl

Post by wurzel »

Hi,

local firewall / SELINUX active?
perl active for apache?

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
sriwatzz
Znuny newbie
Posts: 7
Joined: 17 Sep 2018, 15:15
Znuny Version: OTRS 6
Real Name: srivatsan

Re: getting 404 error on installer.pl

Post by sriwatzz »

Hi,

firewall is not enabled. selinux is set as disabled.

perl active for apache? -- how to verify this.

Regards
Srivats
seberget2
Znuny newbie
Posts: 74
Joined: 17 May 2013, 09:30
Znuny Version: 6.0.30
Real Name: Stein Erik Berget

Re: getting 404 error on installer.pl

Post by seberget2 »

sriwatzz wrote: 05 Nov 2018, 15:17 perl active for apache? -- how to verify this.
For an ubuntu system you could do something like this:

Code: Select all

$ sudo apachectl -M | grep perl
This should return something like

Code: Select all

perl_module (shared)
Hope this helps.
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two :-D
sriwatzz
Znuny newbie
Posts: 7
Joined: 17 Sep 2018, 15:15
Znuny Version: OTRS 6
Real Name: srivatsan

Re: getting 404 error on installer.pl

Post by sriwatzz »

Hi,

the perl module is available. let me know the exact installation of httpd for OTRS on RHEL7.

[root@linuxpoc1 ~]# apachectl -M | grep perl
perl_module (shared)
[root@linuxpoc1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
[root@linuxpoc1 ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset : disabled)
Active: active (running) since Mon 2018-11-05 18:11:12 IST; 21h ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 20301 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUC CESS)
Process: 8636 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, st atus=0/SUCCESS)
Main PID: 20320 (/usr/sbin/httpd)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/s ec"
Tasks: 7
CGroup: /system.slice/httpd.service
├─20320 /usr/sbin/httpd -DFOREGROUND
├─20325 /usr/sbin/httpd -DFOREGROUND
├─20326 /usr/sbin/httpd -DFOREGROUND
├─20327 /usr/sbin/httpd -DFOREGROUND
├─20328 /usr/sbin/httpd -DFOREGROUND
├─20329 /usr/sbin/httpd -DFOREGROUND
└─20330 /usr/sbin/httpd -DFOREGROUND

Nov 05 18:11:12 linuxpoc1 systemd[1]: Starting The Apache HTTP Server...
Nov 05 18:11:12 linuxpoc1 systemd[1]: Started The Apache HTTP Server.
sriwatzz
Znuny newbie
Posts: 7
Joined: 17 Sep 2018, 15:15
Znuny Version: OTRS 6
Real Name: srivatsan

Re: getting 404 error on installer.pl

Post by sriwatzz »

Hi,

Can anyone help!. :? :? :? :?
sriwatzz
Znuny newbie
Posts: 7
Joined: 17 Sep 2018, 15:15
Znuny Version: OTRS 6
Real Name: srivatsan

Re: getting 404 error on installer.pl

Post by sriwatzz »

able to access the pages. Can close this topic
Post Reply