Subject: | issue when running on centos7 |
Date: | Fri, 30 Sep 2016 14:28:24 +0000 |
To: | "bug-Catalyst-Engine-Apache [...] rt.cpan.org" <bug-Catalyst-Engine-Apache [...] rt.cpan.org> |
From: | "Clark, Stephen A. (Nokia - GB)" <stephen.a.clark [...] nokia.com> |
Hi there,
Had the following error within Catalyst-Engine-Apache 1.16
2016/09/30 11:18:12.677257 [info] VelociX Console powered by Catalyst 5.80033
[Fri Sep 30 11:18:12.737013 2016] [mpm_worker:notice] [pid 2405:tid 140292218886208] AH00292: Apache/2.4.6 (CentOS) mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Fri Sep 30 11:18:12.737162 2016] [core:notice] [pid 2405:tid 140292218886208] AH00094: Command line: '/usr/sbin/httpd -f /etc/httpd/conf.d/vxhttpd_console.conf'
-> DBI->connect(dbi:mysql:cdn_sessions;host=db1.zzz28s1.cdn;port=3307;mysql_connect_timeout=10, sessions, ****, HASH(0x7f9858d839b8))
-> DBI->install_driver(mysql) for linux perl=5.016003 pid=2412 ruid=48 euid=48
install_driver: DBD::mysql version 4.023 loaded from /usr/lib64/perl5/vendor_perl/DBD/mysql.pm
<- install_driver= DBI::dr=HASH(0x7f985de7c2f0)
!! warn: 0 CLEARED by call to connect method
<- connect("cdn_sessions;host=db1.zzz28s1.cdn;port=3307;mysql_connect_timeout=10", "sessions", ...)= ( DBI::db=HASH(0x7f985de02ed8) ) [1 items] at DBI.pm line 670
<- STORE('RaiseError', 1)= ( 1 ) [1 items] at DBI.pm line 722
<- STORE('PrintError', 1)= ( 1 ) [1 items] at DBI.pm line 722
<- STORE('AutoCommit', 1)= ( 1 ) [1 items] at DBI.pm line 722
<- STORE('Username', "sessions")= ( 1 ) [1 items] at DBI.pm line 725
<- connected("dbi:mysql:cdn_sessions;host=db1.zzz28s1.cdn;port=3307;mysql_connect_timeout=10", "sessions", ...)= ( undef ) [1 items] at DBI.pm line 732
<- connect= DBI::db=HASH(0x7f985de02ed8)
<- STORE('dbi_connect_closure', CODE(0x7f985de06d38))= ( 1 ) [1 items] at DBI.pm line 741
2016/09/30 11:19:06.769046 [info] *** Request 1 (0.017/s) [2412] [Fri Sep 30 11:19:06 2016] ***
2016/09/30 11:19:06.769046 [error] Caught exception in engine "Can't locate object method "remote_ip" via package "Apache2::Connection" at /usr/local/share/perl5/Catalyst/Engine/Apache.pm line 35."
<- ping= ( 1 ) [1 items] at DBI.pm line 106
2016/09/30 11:19:06.772818 [info] *** Request 2 (0.034/s) [2412] [Fri Sep 30 11:19:06 2016] ***
2016/09/30 11:19:06.772818 [error] Caught exception in engine "Can't locate object method "remote_ip" via package "Apache2::Connection" at /usr/local/share/perl5/Catalyst/Engine/Apache.pm line 35."
DBI 1.627-ithread default trace level set to 0x0/1 (pid 4350 pi 7f767a7a3af0) at DBI.pm line 288 via DBI.pm line 6
Enironment:
[root@cp3 ~]# perl -v
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
[root@cp3 ~]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Nov 19 2015 21:43:13
The patch that I have used to fix this issue is attached
Regards
Stephen
Message body is not shown because sender requested not to inline it.