https://bugs.koozali.org/show_bug.cgi?id=11720

            Bug ID: 11720
           Summary: Fail2ban server-manager panel error
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: x86_64
                OS: ---
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-fail2ban
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

New install of SME 10 on new hardware. Latest updates installed.

smeserver-fail2ban-0.1.18-15.el7.sme.noarch installed via yum as per contrib
page.

The following error occurs when opening the fail2ban server-manager panel

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.

Please contact the server administrator at admin to inform them of the time
this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log."


The httpd/admin_error_log shows

"[Wed Oct 27 14:20:15.106816 2021] [cgi:error] [pid 1856] [client
127.0.0.1:37786] AH01215: Can't locate Data/Validate/IP.pm in @INC (@INC
contains: /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5) at
/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm line 13.,
referer: https://heathcliff/server-manager/navigation
[Wed Oct 27 14:20:15.110696 2021] [cgi:error] [pid 1856] [client
127.0.0.1:37786] AH01215: BEGIN failed--compilation aborted at
/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm line 13.,
referer: https://heathcliff/server-manager/navigation
[Wed Oct 27 14:20:15.110862 2021] [cgi:error] [pid 1856] [client
127.0.0.1:37786] AH01215: Compilation failed in require at
/etc/e-smith/web/functions/fail2ban line 10., referer:
https://heathcliff/server-manager/navigation
[Wed Oct 27 14:20:15.110984 2021] [cgi:error] [pid 1856] [client
127.0.0.1:37786] AH01215: BEGIN failed--compilation aborted at
/etc/e-smith/web/functions/fail2ban line 10., referer:
https://heathcliff/server-manager/navigation
[Wed Oct 27 14:20:15.117990 2021] [cgi:error] [pid 1856] [client
127.0.0.1:37786] End of script output before headers: fail2ban, referer:
https://heathcliff/server-manager/navigation*

Line 13 of /usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm is

"use Data::Validate::IP;"

The Data/Validate/IP.pm perl module does not exist at any of the @INC
locations.

I can comment out "use Data::Validate::IP;" and the server-manager fail2ban
panel opens successfully but does fail when trying to validate an IP later in
the script.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to