Hey James, I did have some similar happened to me, did you confirm that the PF 
has the correct MAC address associate if the IPs that are having this issue ?

In my case for some reason the packetfence was associenting the mac address of 
the users with wrong IPs, I did corret that by saying that I want the omapi to 
associate a user by its IP not by its MAC.

Atenciosamente,
[http://arpsist.com.br/img/arpsist_hori.png]<https://protect-us.mimecast.com/s/wXQpBzsdQYVXUY?domain=arpsist.com.br>

Rafael Rocha |  rro...@arpsist.com.br<mailto:rro...@arpsist.com.br>  | Arpsist 
Tecnologia da Informação
Rua Bruno Veloso, 603, 4 andar, 51021-280 - Boa Viagem  - Recife - PE - Brasil
T:  +55 81 33348599  | T: +55 81 988187622 
web<https://protect-us.mimecast.com/s/wXQpBzsdQYVXUY?domain=arpsist.com.br>



De: James Jakimowicz via PacketFence-users 
[mailto:packetfence-users@lists.sourceforge.net]
Enviada em: terça-feira, 16 de janeiro de 2018 18:45
Para: packetfence-users@lists.sourceforge.net
Cc: James Jakimowicz <jame...@synergyfiber.com>
Assunto: [PacketFence-users] Packetfence not passing traffic


Hi everyone,



I have packetfence v6.2.1 deployed as an inline configuration at one of our 
sites and the for a little while now we have been experiencing an instability 
problem where users are no longer able to pass traffic through the packetfence 
server. I've included a couple snippets from the logs. I'm wondering if anyone 
can help point me in the right direction to resolve this issue?



from packetfence.log


Jan 15 09:22:44 httpd.portal(17980) ERROR: [mac:48:ee:0c:40:47:93] Can't bind : 
IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:24:40 httpd.portal(17900) INFO: [mac:b0:39:56:10:31:1e] Instantiate a 
new iptables modification method. pf::ipset (pf::inline:
:get_technique)
Jan 15 09:25:45 httpd.portal(17980) INFO: [mac:48:ee:0c:40:47:93] Instantiate a 
new iptables modification method. pf::ipset (pf::inline:
:get_technique)
Jan 15 09:25:48 httpd.portal(36352) ERROR: [mac:unknown] Can't bind : 
IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:48 httpd.portal(36352) INFO: [mac:unknown] Instantiate profile 
default (pf::Portal::ProfileFactory::_from_profile)
Jan 15 09:25:48 httpd.portal(36352) ERROR: [mac:unknown] Can't bind : 
IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:49 httpd.portal(36352) ERROR: [mac:48:ee:0c:40:47:93] Can't bind : 
IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:49 httpd.portal(36352) INFO: [mac:48:ee:0c:40:47:93] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile
)
Jan 15 09:25:49 httpd.portal(36352) INFO: [mac:48:ee:0c:40:47:93] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile
)
Jan 15 09:25:49 httpd.portal(36352) INFO: [mac:48:ee:0c:40:47:93] Updating node 
user_agent with useragent: 'AppleTV3,1/8.4.2 (12H606)' (
captiveportal::PacketFence::DynamicRouting::Application::process_user_agent)
Jan 15 09:25:50 httpd.portal(36352) ERROR: [mac:48:ee:0c:40:47:93] Can't bind : 
IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:50 httpd.portal(36352) INFO: [mac:48:ee:0c:40:47:93] Instantiate a 
new iptables modification method. pf::ipset (pf::inline:
:get_technique)
Jan 15 09:25:50 httpd.portal(36352) INFO: [mac:48:ee:0c:40:47:93] User default 
has authenticated on the portal. (Class::MOP::Class:::aft
er)


from pfqueue.log
Jan 15 09:25:45 pfqueue(2485) ERROR: [mac:unknown] Odd number of elements in 
anonymous hash at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)
Jan 15 09:25:45 pfqueue(2479) ERROR: [mac:a0:04:60:ef:1f:e0] Can't bind : 
IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:46 pfqueue(2479) ERROR: [mac:a0:04:60:ef:1f:e0] Can't bind : 
IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:48 pfqueue(2484) INFO: [mac:unknown] Instantiate a new iptables 
modification method. pf::ipset (pf::inline::get_technique)
Jan 15 09:25:48 pfqueue(2483) INFO: [mac:unknown] Instantiate a new iptables 
modification method. pf::ipset (pf::inline::get_technique)
Jan 15 09:25:48 pfqueue(2483) WARN: [mac:unknown] Use of uninitialized value 
$args in anonymous hash ({}) at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)
Jan 15 09:25:48 pfqueue(2483) ERROR: [mac:unknown] Use of uninitialized value 
$args in anonymous hash ({}) at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)
Jan 15 09:25:48 pfqueue(2483) WARN: [mac:unknown] Odd number of elements in 
anonymous hash at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)
Jan 15 09:25:48 pfqueue(2483) ERROR: [mac:unknown] Odd number of elements in 
anonymous hash at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)
Jan 15 09:25:51 pfqueue(2484) INFO: [mac:unknown] Instantiate a new iptables 
modification method. pf::ipset (pf::inline::get_technique)
Jan 15 09:25:51 pfqueue(2483) INFO: [mac:unknown] Instantiate a new iptables 
modification method. pf::ipset (pf::inline::get_technique)
Jan 15 09:25:51 pfqueue(2483) WARN: [mac:unknown] Use of uninitialized value 
$args in anonymous hash ({}) at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)


Thank you,

-James



------------------------------------------------------------------------------
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