Hi Boris, That’s an “interesting” behaviour. We have been rewriting pfcmd from scratch and the new one in 5.0+ differs in what it supports. It looks to me like the new pfcmd does not support the fingerprint command (that’s what the error means) yet does provide the usage message. That message should not be displayed until we have backported that functionality.
In the meantime you should still be able to use the old pfcmd. It’s been moved to pfcmd-old.pl and you can still call it as you did before. As for the ifoctetslog table being empty, that is unavoidable if you don’t configure some way to fill it in. That information is not sent by the switch and must be fetched by PacketFence. If enough people feel like it, we may choose to add it as an option in the switch configuration menu. Regards, -- Louis Munro [email protected] :: www.inverse.ca +1.514.447.4918 x125 :: +1 (866) 353-6153 x125 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) On May 27, 2015, at 14:07 , Boris Epstein <[email protected]> wrote: > Louis, > > I don't consciously populate any tables in that databases - or choose to not > populate them, for that matter:) I just count on the software to run as it > is, for the most part:) > > I suspect there may be some modules/functionality missing for some reason. > Messages such as this one lead me to think so: > > > -sh-4.1$ pfcmd fingerprint view all > unknown command view > Can't locate pf/cmd/pf/fingerprint/view.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 /usr/share/pe > rl5/Module/Load.pm line 27. > Can't locate pf/cmd/pf/fingerprint/view in @INC (@INC contains: > /usr/local/pf/li b > /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl > /us r/share/perl5/vendor_perl > /usr/lib64/perl5 /usr/share/perl5) at /usr/share/perl5 > /Module/Load.pm line 27. > > > Usage: > pfcmd fingerprint view <all|id> > > show DHCP Fingerprints stored in database > > examples: pfcmd fingerprint view all pfcmd fingerprint view 1,6,15,44,3,33 > > -sh-4.1$ > > I wonder what the cause would be for this - as well as the remedy.
------------------------------------------------------------------------------
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
