That errors means that the perl module Log::Dispatch::Syslog is not installed.

You can install it by doing the following

yum install --enablerepo=packetfence perl-Log-Dispatch


James Rouzier
[email protected] :: +1.514.447.4918 (x115)  ::  http://www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://www.packetfence.org)

On 2016-12-05 1:40 PM, Enrico Pala wrote:
Hi All,
I'm working with Packetfence 6.4 on CentOS7 and need to send PF messages to a remote syslog server. I've followed the guide at https://packetfence.org/support/faq/article/packetfence-and-remote-syslog.html?no_cache=1

but when restarting Packetfence I get the following errors:

ERROR: can't load appenderclass 'Log::Dispatch::Syslog'
pfcmd: Can't locate Log/Dispatch/Syslog.pm in @INC (@INC contains: /usr/local/pf/lib /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 (eval 32) line 2. pfcmd: BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/cmd/pf/service.pm <http://service.pm> line 66. pfcmd: Compilation failed in require at /usr/share/perl5/vendor_perl/Module/Load.pm line 27.


I found the perl module that Syslog.pm in a path but it's not listed in the @INC variable (it's here: /usr/lib64/perl5/vendor_perl/Sys/Syslog.pm).
Is there an official fix to the problem?

Many thanks,
Enrico



------------------------------------------------------------------------------


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

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

Reply via email to