Re: [PacketFence-users] Unable to De-register node 7.4

2018-02-19 Thread Durand fabrice via PacketFence-users

Hello Michael,

can you try to run pf-maint.pl, it should be ok after that.

Regards

Fabrice



Le 2018-02-16 à 12:27, Michael Holt via PacketFence-users a écrit :


Hi,

I'm running into an issue when trying to De-Register a node.  I see 
this in the logs:


==> httpd.admin.log <==

Feb 16 17:21:27 nac-01 httpd_admin: httpd.admin(4755) ERROR: 
[mac:unknown] Caught exception in 
pfappserver::Controller::Node->bulk_deregister "missing required param 
'driver' or 'driver_class' at /usr/local/pf/lib/pf/ip4log.pm line 
673." (pfappserver::PacketFence::Controller::Root::end)


==> httpd.admin.access <==

Feb 16 17:21:27 nac-01 httpd_admin_access: 10.2.40.32 - - 
[16/Feb/2018:17:21:27 +]  "10.2.20.71:1443" "POST 
/node/bulk_deregister HTTP/1.1" 500 82 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; 
Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" 58541


Feb 16 17:23:35 nac-01 httpd_admin_access: 10.2.40.32 - - 
[16/Feb/2018:17:23:34 +]  "10.2.20.71:1443" "GET 
/node/00:15:65:c4:27:d4/read?_=1518763555390 HTTP/1.1" 200 13663 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; 
Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" 288438


==> httpd.admin.audit.log <==

{"status":200,"context":"/node/update","action":"update","user":"admin","mac":"00:15:65:c4:27:d4","happened_at":"Fri 
Feb 16 17:23:38 2018"}


==> httpd.admin.log <==

Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) ERROR: 
[mac:unknown] Trying to save a NULL value in a non nullable field 
node.unregdate (pf::dal::validate_field)


Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) ERROR: 
[mac:unknown] Skipping invalid value (NULL) in when inserting field 
node.unregdate (pf::dal::_insert_data)


Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) ERROR: 
[mac:unknown] Trying to save a NULL value in a non nullable field 
node.unregdate (pf::dal::validate_field)


Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) ERROR: 
[mac:unknown] Skipping invalid value (NULL) in when updating field 
node.unregdate (pf::dal::_update_data)


Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) INFO: 
[mac:unknown] re-evaluating access (admin_modify called) 
(pf::enforcement::reevaluate_access)


Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) INFO: 
[mac:unknown] VLAN reassignment is forced. 
(pf::enforcement::_should_we_reassign_vlan)


Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) INFO: 
[mac:unknown] switch port is (10.2.21.224) ifIndex 13 connection type: 
Wired MAC Auth (pf::enforcement::_vlan_reevaluation)


==> httpd.admin.access <==

Feb 16 17:23:38 nac-01 httpd_admin_access: 10.2.40.32 - - 
[16/Feb/2018:17:23:38 +]  "10.2.20.71:1443" "POST 
/node/00:15:65:c4:27:d4/update HTTP/1.1" 200 2 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; 
Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" 167437


Feb 16 17:23:40 nac-01 httpd_admin_access: 10.2.40.32 - - 
[16/Feb/2018:17:23:39 +]  "10.2.20.71:1443" "POST 
/node/search?direction=asc_num=1=mac HTTP/1.1" 200 78786 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; 
Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" 422240


Feb 16 17:23:44 nac-01 httpd_admin_access: 10.2.40.32 - - 
[16/Feb/2018:17:23:44 +]  "10.2.20.71:1443" "POST 
/node/bulk_deregister HTTP/1.1" 500 82 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; 
Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" 56429


==> httpd.admin.log <==

Feb 16 17:23:44 nac-01 httpd_admin: httpd.admin(12540) ERROR: 
[mac:unknown] Caught exception in 
pfappserver::Controller::Node->bulk_deregister "missing required param 
'driver' or 'driver_class' at /usr/local/pf/lib/pf/ip4log.pm line 
673." (pfappserver::PacketFence::Controller::Root::end)


==> httpd.admin.access <==

Feb 16 17:23:47 nac-01 httpd_admin_access: 10.2.40.32 - - 
[16/Feb/2018:17:23:47 +]  "10.2.20.71:1443" "GET 
/node/00:15:65:c4:27:d4/read?_=1518763555391 HTTP/1.1" 200 13663 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; 
Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" 902804


==> httpd.admin.log <==

Feb 16 17:23:52 nac-01 httpd_admin: httpd.admin(4755) ERROR: 
[mac:unknown] Caught exception in 
pfappserver::Controller::Node->update "missing required param 'driver' 
or 'driver_class' at /usr/local/pf/lib/pf/ip4log.pm line 673." 
(pfappserver::PacketFence::Controller::Root::end)


==> httpd.admin.access <==

Feb 16 17:23:52 nac-01 httpd_admin_access: 10.2.40.32 - - 
[16/Feb/2018:17:23:52 +]  "10.2.20.71:1443" "POST 
/node/00:15:65:c4:27:d4/update HTTP/1.1" 500 82 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; 
Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" 201418


*Michael Holt - IT*

2107 W. Alameda Ave. |  Burbank, CA 91506

P: 818.525.1860  | C: 818.967.8409  | michael.h...@ladb.com 



www.ladb.com   | www.ladb.tv 

[PacketFence-users] Unable to De-register node 7.4

2018-02-18 Thread Michael Holt via PacketFence-users
Hi,

I'm running into an issue when trying to De-Register a node.  I see this in the 
logs:

==> httpd.admin.log <==
Feb 16 17:21:27 nac-01 httpd_admin: httpd.admin(4755) ERROR: [mac:unknown] 
Caught exception in pfappserver::Controller::Node->bulk_deregister "missing 
required param 'driver' or 'driver_class' at /usr/local/pf/lib/pf/ip4log.pm 
line 673." (pfappserver::PacketFence::Controller::Root::end)

==> httpd.admin.access <==
Feb 16 17:21:27 nac-01 httpd_admin_access: 10.2.40.32 - - [16/Feb/2018:17:21:27 
+]  "10.2.20.71:1443" "POST /node/bulk_deregister HTTP/1.1" 500 82 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; Win64; 
x64; rv:58.0) Gecko/20100101 Firefox/58.0" 58541
Feb 16 17:23:35 nac-01 httpd_admin_access: 10.2.40.32 - - [16/Feb/2018:17:23:34 
+]  "10.2.20.71:1443" "GET /node/00:15:65:c4:27:d4/read?_=1518763555390 
HTTP/1.1" 200 13663 "https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows 
NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" 288438

==> httpd.admin.audit.log <==
{"status":200,"context":"/node/update","action":"update","user":"admin","mac":"00:15:65:c4:27:d4","happened_at":"Fri
 Feb 16 17:23:38 2018"}

==> httpd.admin.log <==
Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) ERROR: [mac:unknown] 
Trying to save a NULL value in a non nullable field node.unregdate 
(pf::dal::validate_field)
Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) ERROR: [mac:unknown] 
Skipping invalid value (NULL) in when inserting field node.unregdate 
(pf::dal::_insert_data)
Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) ERROR: [mac:unknown] 
Trying to save a NULL value in a non nullable field node.unregdate 
(pf::dal::validate_field)
Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) ERROR: [mac:unknown] 
Skipping invalid value (NULL) in when updating field node.unregdate 
(pf::dal::_update_data)
Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) INFO: [mac:unknown] 
re-evaluating access (admin_modify called) (pf::enforcement::reevaluate_access)
Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) INFO: [mac:unknown] VLAN 
reassignment is forced. (pf::enforcement::_should_we_reassign_vlan)
Feb 16 17:23:38 nac-01 httpd_admin: httpd.admin(12540) INFO: [mac:unknown] 
switch port is (10.2.21.224) ifIndex 13 connection type: Wired MAC Auth 
(pf::enforcement::_vlan_reevaluation)

==> httpd.admin.access <==
Feb 16 17:23:38 nac-01 httpd_admin_access: 10.2.40.32 - - [16/Feb/2018:17:23:38 
+]  "10.2.20.71:1443" "POST /node/00:15:65:c4:27:d4/update HTTP/1.1" 200 2 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; Win64; 
x64; rv:58.0) Gecko/20100101 Firefox/58.0" 167437
Feb 16 17:23:40 nac-01 httpd_admin_access: 10.2.40.32 - - [16/Feb/2018:17:23:39 
+]  "10.2.20.71:1443" "POST /node/search?direction=asc_num=1=mac 
HTTP/1.1" 200 78786 "https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows 
NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" 422240
Feb 16 17:23:44 nac-01 httpd_admin_access: 10.2.40.32 - - [16/Feb/2018:17:23:44 
+]  "10.2.20.71:1443" "POST /node/bulk_deregister HTTP/1.1" 500 82 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; Win64; 
x64; rv:58.0) Gecko/20100101 Firefox/58.0" 56429

==> httpd.admin.log <==
Feb 16 17:23:44 nac-01 httpd_admin: httpd.admin(12540) ERROR: [mac:unknown] 
Caught exception in pfappserver::Controller::Node->bulk_deregister "missing 
required param 'driver' or 'driver_class' at /usr/local/pf/lib/pf/ip4log.pm 
line 673." (pfappserver::PacketFence::Controller::Root::end)

==> httpd.admin.access <==
Feb 16 17:23:47 nac-01 httpd_admin_access: 10.2.40.32 - - [16/Feb/2018:17:23:47 
+]  "10.2.20.71:1443" "GET /node/00:15:65:c4:27:d4/read?_=1518763555391 
HTTP/1.1" 200 13663 "https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows 
NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" 902804

==> httpd.admin.log <==
Feb 16 17:23:52 nac-01 httpd_admin: httpd.admin(4755) ERROR: [mac:unknown] 
Caught exception in pfappserver::Controller::Node->update "missing required 
param 'driver' or 'driver_class' at /usr/local/pf/lib/pf/ip4log.pm line 673." 
(pfappserver::PacketFence::Controller::Root::end)

==> httpd.admin.access <==
Feb 16 17:23:52 nac-01 httpd_admin_access: 10.2.40.32 - - [16/Feb/2018:17:23:52 
+]  "10.2.20.71:1443" "POST /node/00:15:65:c4:27:d4/update HTTP/1.1" 500 82 
"https://10.2.20.71:1443/admin/nodes; "Mozilla/5.0 (Windows NT 10.0; Win64; 
x64; rv:58.0) Gecko/20100101 Firefox/58.0" 201418

Michael Holt - IT
2107 W. Alameda Ave.  |  Burbank, CA 91506
P: 818.525.1860  |  C: 818.967.8409  |  
michael.h...@ladb.com
www.ladb.com  |  www.ladb.tv  |  
LinkedIn
[cid:image001.jpg@01D283DC.A2B5E880]
--