Sorry for all the mailing list spam. I've been having a bit of a
packetfence tinkering week!

Since upgrading to packetfence 7.4 followed by applying the Unifi patch
2735.patch
<https://patch-diff.githubusercontent.com/raw/inverse-inc/packetfence/pull/2735.patch>
(the
latter probably unrelated given the files it touches), i've been seeing
failures when attempting to restart swithcports from the GUI.  On screen I
get

"Error! An error condition has occured. See server side logs for details."

And consulting logs reveals:

Feb  2 13:26:17 pf httpd_admin: httpd.admin(21612) ERROR: [mac:unknown]
Caught exception in pfappserver::Controller::Node->bulk_restart_switchport
"Can't use an undefined value as a subroutine reference at
/usr/local/pf/lib/CHI/Driver/DBI.pm line 43." (pfappser
ver::PacketFence::Controller::Root::end)
Feb  2 13:26:34 pf httpd_admin: httpd.admin(21612) ERROR: [mac:unknown]
Caught exception in pfappserver::Controller::Node->bulk_restart_switchport
"Can't use an undefined value as a subroutine reference at
/usr/local/pf/lib/CHI/Driver/DBI.pm line 43." (pfappser
ver::PacketFence::Controller::Root::end)
Feb  2 13:29:02 pf httpd_admin: httpd.admin(21612) ERROR: [mac:unknown]
Caught exception in pfappserver::Controller::Node->bulk_restart_switchport
"Can't use an undefined value as a subroutine reference at
/usr/local/pf/lib/CHI/Driver/DBI.pm line 43." (pfappser
ver::PacketFence::Controller::Root::end)
Feb  2 13:37:46 pf httpd_admin: httpd.admin(21612) INFO: [mac:unknown]
Instantiate profile default (pf::Connection::ProfileFactory::_from_profile)
Feb  2 13:38:57 pf httpd_admin: httpd.admin(21612) INFO: [mac:unknown]
Instantiate profile default (pf::Connection::ProfileFactory::_from_profile)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown] Hard
expiring resource : config::Profiles (pfconfig::manager::expire)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
Connecting to MySQL database (pfconfig::backend::mysql::_get_db)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
Expiring child resource FilterEngine::Profile. Master resource is
config::Profiles (pfconfig::manager::expire)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown] Hard
expiring resource : FilterEngine::Profile (pfconfig::manager::expire)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
Expiring child resource resource::URI_Filters. Master resource is
config::Profiles (pfconfig::manager::expire)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown] Hard
expiring resource : resource::URI_Filters (pfconfig::manager::expire)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) ERROR: [mac:unknown] OK
(pf::ConfigStore::commit)

So with my basic understanding I assumed there is a MAC passing, or MAC to
switchport mapping issue.  Checking the node MAC address -> location tab,
does show up to date session information :-/

Any ideas!?

Many thanks in advance,

David
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to