I'm having problems with AMF 4.20 and Apache 2.4.10 MPM_EVENT

27 views
Skip to first unread message

OPeixe

unread,
Sep 4, 2017, 2:17:18 PM9/4/17
to AMF Device Detection
Hey.

I have installed AMF 4.20 and is up and running, for the most part.

I sometimes get errors like 

[Mon Sep 04 14:36:27.916375 2017] [perl:error] [pid 12930:tid 140489697052416] lookup of 'Apache2::AMFLiteDetectionFilter::handler' failed[Mon Sep 04 14:36:27.916395 2017] [perl:error] [pid 12930:tid 140489697052416] [client 212.170.205.210:61489] Attempt to reload Apache2/AMFLiteDetectionFilter.pm aborted.
Compilation failed in require.

[Mon Sep 04 15:00:45.028813 2017] [perl:error] [pid 29617:tid 140216891127552] Bareword "STATUS_ERROR" not allowed while "strict subs" in use at /usr/share/perl/5.20/IO/Uncompress/Unzip.pm line 186.
Bareword "STATUS_ENDSTREAM" not allowed while "strict subs" in use at /usr/share/perl/5.20/IO/Uncompress/Unzip.pm line 190.
Bareword "STATUS_OK" not allowed while "strict subs" in use at /usr/share/perl/5.20/IO/Uncompress/Unzip.pm line 208.
BEGIN not safe after errors--compilation aborted at /usr/share/perl/5.20/IO/Uncompress/Unzip.pm line 765.
Compilation failed in require at /usr/local/share/perl/5.20.2/Apache2/AMFLiteDetectionFilter.pm line 26.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.20.2/Apache2/AMFLiteDetectionFilter.pm line 26.
Compilation failed in require at (eval 4) line 2.

[Mon Sep 04 15:43:13.972124 2017] [perl:error] [pid 2417:tid 140524258248448] lookup of 'Apache2::AMFLiteDetectionFilter::handler' failed
[Mon Sep 04 15:43:13.972147 2017] [perl:error] [pid 2417:tid 140524258248448] [client 212.170.205.210:56502] Attempt to reload Apache2/AMFLiteDetectionFilter.pm aborted.
Compilation failed in require.


It usually works fine, and restarting apache server solves it. If I don't restart the server, it just keeps logging errors and stops serving pages in any virtual host.

Still, I find it takes a while to redirect users to the mobile site, or even to find out if the client is a device.

This is the configuration I have for global httpd.conf

PerlOptions +Parent
PerlSwitches -I/usr/local/share/perl/5.20.2/Apache2/
PerlSetEnv AMFMobileHome /home/AMF
PerlTransHandler +Apache2::AMFLiteDetectionFilter
PerlSetEnv FullBrowserMobileAccessKey esc
PerlSetEnv AMFProductionMode true


I have tried to add the location of the Apache2 mods in the Inc library but no change. 

What am I doing wrong?

Thanks for any help.






Idel Fuschini

unread,
Sep 4, 2017, 4:22:32 PM9/4/17
to amf-device...@googlegroups.com
We are analyzing your problem

I
--
--
You received this message because you are subscribed to the Google
Groups "AMF Device Detection" group.
To post to this group, send email to
amf-device...@googlegroups.com
To unsubscribe from this group, send email to
amf-device-detec...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/amf-device-detection?hl=en_US?hl=en

---
You received this message because you are subscribed to the Google Groups "AMF Device Detection" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amf-device-detec...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages