Hi all,
I am seeing this kind of error from time to time which makes packetfence
not able to set the correct vlan of an already registered device into the
switch:
Sep 12 13:02:43 httpd.admin(0) INFO: Username was NOT defined or unable to
match a role - returning node based role 'it' (pf::vlan::getNormalVlan)
Sep 12 13:02:43 httpd.admin(0) INFO: MAC: 08:9e:01:32:7c:1d, PID: admin,
Status: reg. Returned VLAN: 99 (pf::vlan::fetchVlanForNode)
Sep 12 13:02:43 httpd.admin(0) INFO: VLAN reassignment required for
08:9e:01:32:7c:1d (current VLAN = 10 but should be in VLAN 99)
(pf::enforcement::_should_we_reassign_vlan)
Sep 12 13:02:43 httpd.admin(0) INFO: switch port for 08:9e:01:32:7c:1d is
192.168.0.254 ifIndex 10114 connection type: Wired SNMP
(pf::enforcement::_vlan_reevaluation)
Sep 12 13:02:43 httpd.admin(0) ERROR: Use of uninitialized value $mac in
pattern match (m//) at /usr/local/pf/lib/pf/util.pm line 217.
(pfappserver::__ANON__)
Sep 12 13:02:43 httpd.admin(0) ERROR: Use of uninitialized value $mac in
pattern match (m//) at /usr/local/pf/lib/pf/util.pm line 217.
(pfappserver::__ANON__)
Sep 12 13:02:43 httpd.admin(0) ERROR: Use of uninitialized value $mac in
pattern match (m//) at /usr/local/pf/lib/pf/util.pm line 217.
(pfappserver::__ANON__)
Sep 12 13:02:43 httpd.admin(0) ERROR: Use of uninitialized value $mac in
concatenation (.) or string at /usr/local/pf/lib/pf/util.pm line 221.
(pfappserver::__ANON__)
Sep 12 13:02:43 httpd.admin(0) ERROR: invalid MAC: (pf::util::valid_mac)
Perl code shows:
$mac = clean_mac($mac);
if ( $mac =~ /^ff:ff:ff:ff:ff:ff$/
|| $mac =~ /^00:00:00:00:00:00$/
|| $mac !~ /^([0-9a-f]{2}(:|$)){6}$/i )
{
$logger->error("invalid MAC: $mac");
Don't know why mac 08:9e:01:32:7c:1d is invalid.... any clue? Using last
version of packetfence.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users