Hi louis and list, 

> Hello Experts
> I am testing packetfence vlan enforcement with an hp procurve 2524 switch and 
> an
> ubuntu 12.04 lts desktop version (which is being used as the packetfence 5.0.1
> server).
> I have configured the registration vlan(eth0.2), isolation vlan(eth0.3), and
> management vlan(eth0) interfaces.
> I have defined my switch in the packetfence server.
> on my switch i have vlan1(default vlan),
> vlan2(registration),vlan3(isolation),vlan4(macdetection),vlan10(guest).
> port-security has been activated on the switch ports

> this is the output of my snmptrapd.log when i run the command
> # tail -f snmptrapd.log
> 2015-04-27|06:24:19|UDP: [192.168.0.1]:161->[192.168.0.2]|192.168.0.1|BEGIN 
> TYPE
> 2 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS S
> 2015-04-27|06:24:30|UDP: [192.168.0.1]:161->[192.168.0.2]|192.168.0.1|BEGIN 
> TYPE
> 3 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS S
> 2015-04-27|06:25:26|UDP: [192.168.0.1]:161->[192.168.0.2]|192.168.0.1|BEGIN 
> TYPE
> 2 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS S
> 2015-04-27|06:25:43|UDP: [192.168.0.1]:161->[192.168.0.2]|192.168.0.1|BEGIN 
> TYPE
> 3 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS S
> 2015-04-27|06:26:16|UDP: [192.168.0.1]:161->[192.168.0.2]|192.168.0.1|BEGIN 
> TYPE
> 2 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS S
> 2015-04-27|06:26:18|UDP: [192.168.0.1]:161->[192.168.0.2]|192.168.0.1|BEGIN 
> TYPE
> 3 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS S
> 2015-04-27|06:26:33|UDP: [192.168.0.1]:161->[192.168.0.2]|192.168.0.1|BEGIN 
> TYPE
> 2 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS S
> 2015-04-27|06:26:35|UDP: [192.168.0.1]:161->[192.168.0.2]|192.168.0.1|BEGIN 
> TYPE
> 3 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS S
> 2015-04-27|06:26:38|UDP: [192.168.0.1]:161->[192.168.0.2]|192.168.0.1|BEGIN 
> TYPE
> 2 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS S
> 2015-04-27|06:26:49|UDP: [192.168.0.1]:161->[192.168.0.2]|192.168.0.1|BEGIN 
> TYPE
> 3 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS S

> this is the output of my packetfence.log when i run the command
> # tail -f packetfence.log

> Apr 27 06:42:56 httpd.portal(10766) INFO: modify of non-existent node
> 00:11:22:33:44:55 attempted - node added (pf::node::node_modify)
> Apr 27 06:42:56 httpd.portal(10766) INFO: Static User-Agent lookup data
> initialized (pf::useragent::_init)
> Apr 27 06:42:56 httpd.portal(10766) WARN: Unable to perform a Fingerbank 
> lookup
> for device with MAC address '00:11:22:33:44:55' (pf::fingerbank)
> Apr 27 06:42:56 httpd.portal(10766) INFO: [00:11:22:33:44:55] redirected to
> authentication page on isolation portal (captiveportal::PacketFence)
> Apr 27 07:23:12 pfsetvlan(6) ERROR: Thread 6 terminated abnormally: Deep
> recursion on subroutine "CHI::Driver::File__WITH__CHI::Driver::Role::U.
> (main::)
> Apr 27 07:23:12 pfsetvlan(7) ERROR: Thread 7 terminated abnormally: Deep
> recursion on subroutine "CHI::Driver::File__WITH__CHI::Driver::Role::U.
> (main::)
> Apr 27 07:23:12 pfsetvlan(8) ERROR: Thread 8 terminated abnormally: Deep
> recursion on subroutine "CHI::Driver::File__WITH__CHI::Driver::Role::U.
> (main::)

> in my understanding of the snmptrapd.log, i think packetfence can communicate
> with the switch
> but pfsetvlan error is what i dont understand.
> please help me out, i would be very glad if i hear form you sooner.

I'm having the same issue. I did a fresh install of packetfence 5.1.0 on Ubuntu 
12.04, instead of upgrading my existing 4.x installation. The setup is using 
routed networks (previously non-routed), but I don't think this is relevant for 
this issue.
In an attempt to rule out any configuration issue, i purged the packetfence 
packages and did a fresh reinstall, with only setting up using the web-wizard.
I'm using an HP Procurve 2600 template (Procurve 2610 switch). After connecting 
a device, snmptrap log shows:

==> /usr/local/pf/logs/snmptrapd.log <==
2015-06-14|17:02:54|UDP: [10.12.45.61]:161->[172.29.1.66]|10.12.45.61|BEGIN 
TYPE 6 END TYPE BEGIN SUBTYPE .5 END SUBTYPE BEGIN VARIABLEBINDINGS 
.1.3.6.1.4.1.11.2.14.11.1.7.2.1.4.20 = INTEGER: 
12|.1.3.6.1.4.1.11.2.14.11.1.7.2.1.5.20 = INTEGER: 
2|.1.3.6.1.4.1.11.2.14.11.1.7.2.1.6.20 = INTEGER: 
2|.1.3.6.1.4.1.11.2.14.11.1.7.3.0.20 = STRING: 
"http://10.12.45.61/cgi/fDetail?index=20";|.1.3.6.1.4.1.11.2.14.11.1.7.2.1.3.20 
= INTEGER: 2 END VARIABLEBINDINGS
2015-06-14|17:02:54|UDP: [10.12.45.61]:161->[172.29.1.66]|10.12.45.61|BEGIN 
TYPE 6 END TYPE BEGIN SUBTYPE .1 END SUBTYPE BEGIN VARIABLEBINDINGS 
.1.3.6.1.4.1.11.2.14.2.10.2.1.2.1.2 = INTEGER: 
1|.1.3.6.1.4.1.11.2.14.2.10.2.1.3.1.2 = INTEGER: 
2|.1.3.6.1.4.1.11.2.14.2.10.2.1.4.1.2 = Hex-STRING: D8 D3 85 04 FA 5D 
|.1.3.6.1.4.1.11.2.14.2.10.2.1.6.1.2 = INTEGER: 
1|.1.3.6.1.4.1.11.2.14.2.10.2.1.7.1.2 = INTEGER: 1 END VARIABLEBINDINGS


And then packetfence.log shows:
==> /usr/local/pf/logs/packetfence.log <==
Jun 14 19:02:58 pfsetvlan(8) ERROR: Thread 8 terminated abnormally: Deep 
recursion on subroutine 
"CHI::Driver::File__WITH__CHI::Driver::Role::Universal__AND__pf::Role::CHI::Driver::FileUmask__AND__pf::Role::CHI::Driver::Untaint__AND__CHI::Driver::Role::HasSubcaches::new"
 at (eval 2047) line 47.
 (main::)


It doesn't matter if I configure the switch within Packetfence or not, it just 
throws the same error.
I tried to find out what is going wrong, but I still can't figure it out (yes, 
quite frustrating :))

Does anyone has any clue? Am I overlooking something? louis, did you figure 
this out perhaps?

Thanks in advance.

Hugo

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to