It seems to an issue with your version of the perl library re::engine::RE2 
(libre-engine-re2-perl).
Which version of Packetfence are you running?




 

From: Nate Tremmel via PacketFence-users 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Wednesday, August 18, 2021 at 12:42 PM
To: "[email protected]" 
<[email protected]>
Cc: Nate Tremmel <[email protected]>
Subject: Re: [PacketFence-users] Syslog Parser Regex - Can't locate object 
method "named_captures"

 

Update. I do not get an error using the ZEN OVA.



On Aug 3, 2021, at 2:27 PM, Nate Tremmel <[email protected]> wrote:

 

Running packetfence on Debian Stretch and am attempting to build a syslog regex 
parser to update IP addresses from syslog. I have built a regex and tried to 
sample a log line and am getting the error 

“Unknown error, check server side logs for details” in the GUI

 

When looking at packetfence.log from the CLI, the following error appears

“pfperl-api(2002) ERROR: Can't locate object method "named_captures" via 
package "re::engine::RE2" at 
/usr/local/pf/lib/pfappserver/Form/Field/PfdetectRegexRule.pm line 140. 
(Mojolicious::Plugin::DefaultHelpers::_development)”

 

This sounds like a perl method missing because a package is not installed, but 
I’m unsure what package to add to the server, or perhaps it’s something that 
I’m not familiar with.

 

Please advise.




_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to