If you want to use the 'Parking' feature then disabling OMAPI will break it.

I have had to tweak the lib/pf/dhcp/processor.pm file so that the DHCP listener 
process
injects/updates OMAPI entries when a DHCP ACK is received.
This enables the OMAPI lookups to work and they will be in synch with reality 
even when the PF server
is not running as the DHCP server and 'Parking' works even when DHCP is not 
running on
the (remote) Registration VLAN.

Andrew



-----------------------------
     Falmouth University
-----------------------------

-----Original Message-----
From: Sallee, Jake [mailto:jake.sal...@umhb.edu]
Sent: 15 September 2016 15:52
To: packetfence
Subject: [PacketFence-users] OMAPI errors in pf log

PF version 5.6.1

I'm getting some interesting errors in my packetfence.log:

Sep 15 09:42:27 httpd.aaa(23024) ERROR: [mac:c0:ce:cd:e7:d6:47] Use of 
uninitialized value $received_startup_message in unpack at 
/usr/local/pf/lib/pf/OMAPI.pm line 241.
Sep 15 09:42:27 httpd.aaa(23024) ERROR: [mac:e8:61:7e:54:fe:5f] Timeout while 
reading from the OMAPI socket (pf::OMAPI::validate_reply)
Sep 15 09:42:27 httpd.aaa(23024) ERROR: [mac:e8:61:7e:54:fe:5f] Use of 
uninitialized value $received_startup_message in unpack at 
/usr/local/pf/lib/pf/OMAPI.pm line 241.
Sep 15 09:42:30 httpd.aaa(23024) ERROR: [mac:28:f0:76:00:1a:46] Timeout while 
reading from the OMAPI socket (pf::OMAPI::validate_reply)
Sep 15 09:42:30 httpd.aaa(23024) ERROR: [mac:28:f0:76:00:1a:46] Use of 
uninitialized value $received_startup_message in unpack at 
/usr/local/pf/lib/pf/OMAPI.pm line 241.
Sep 15 09:42:30 httpd.aaa(23024) ERROR: [mac:24:a0:74:0c:90:e9] Timeout while 
reading from the OMAPI socket (pf::OMAPI::validate_reply)
Sep 15 09:42:30 httpd.aaa(23024) ERROR: [mac:24:a0:74:0c:90:e9] Use of 
uninitialized value $received_startup_message in unpack at 
/usr/local/pf/lib/pf/OMAPI.pm line 241.
Sep 15 09:42:30 httpd.aaa(23024) ERROR: [mac:bc:6c:21:22:23:4d] Timeout while 
reading from the OMAPI socket (pf::OMAPI::validate_reply)
Sep 15 09:42:30 httpd.aaa(23024) ERROR: [mac:bc:6c:21:22:23:4d] Use of 
uninitialized value $received_startup_message in unpack at 
/usr/local/pf/lib/pf/OMAPI.pm line 241.
Sep 15 09:42:31 httpd.aaa(23024) ERROR: [mac:a8:66:7f:c6:7c:13] Timeout while 
reading from the OMAPI socket (pf::OMAPI::validate_reply)
Sep 15 09:42:31 httpd.aaa(23024) ERROR: [mac:a8:66:7f:c6:7c:13] Use of 
uninitialized value $received_startup_message in unpack at 
/usr/local/pf/lib/pf/OMAPI.pm line 241.
Sep 15 09:42:32 httpd.aaa(23024) ERROR: [mac:6c:40:08:63:a6:b9] Timeout while 
reading from the OMAPI socket (pf::OMAPI::validate_reply)
Sep 15 09:42:32 httpd.aaa(23024) ERROR: [mac:6c:40:08:63:a6:b9] Use of 
uninitialized value $received_startup_message in unpack at 
/usr/local/pf/lib/pf/OMAPI.pm line 241.
Sep 15 09:42:33 httpd.aaa(23024) ERROR: [mac:fc:c2:de:ec:d3:b5] Timeout while 
reading from the OMAPI socket (pf::OMAPI::validate_reply)
Sep 15 09:42:33 httpd.aaa(23024) ERROR: [mac:fc:c2:de:ec:d3:b5] Use of 
uninitialized value $received_startup_message in unpack at 
/usr/local/pf/lib/pf/OMAPI.pm line 241.
Sep 15 09:42:34 httpd.aaa(23024) ERROR: [mac:0c:77:1a:ab:83:f9] Timeout while 
reading from the OMAPI socket (pf::OMAPI::validate_reply)
Sep 15 09:42:34 httpd.aaa(23024) ERROR: [mac:0c:77:1a:ab:83:f9] Use of 
uninitialized value $received_startup_message in unpack at 
/usr/local/pf/lib/pf/OMAPI.pm line 241.
Sep 15 09:42:36 httpd.aaa(23024) ERROR: [mac:2c:be:08:d4:15:4d] Timeout while 
reading from the OMAPI socket (pf::OMAPI::validate_reply)
Sep 15 09:42:36 httpd.aaa(23024) ERROR: [mac:2c:be:08:d4:15:4d] Use of 
uninitialized value $received_startup_message in unpack at 
/usr/local/pf/lib/pf/OMAPI.pm line 241.


Some research showed it is related to DHCPD and indeed bouncing the service 
does seem to solve the issue for a while but the issue returns.

We are not using the PF box for any DHCP functions (other than PF listening to 
DHCP for the location logs).

Are the errors anything I should worry about?  If so, how do I fix them?

Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor
WWW.UMHB.EDU

900 College St.
Belton, Texas
76513

Fone: 254-295-4658
Phax: 254-295-4221

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to