This is PacketFence 4.5.1, centos-release-6-6.el6.centos.12.2.x86_64 (perl 
5.10, mysql 5.1) VMware ESX.

I had a working out-of-band installation with 213 switches, mix of HP Procurve 
& Cisco Catalyst.

I attempted an upgrade to 5.0 last week and then attempted to abandon this 
effort by rolling back to a VMware snapshot.

To my unhappy surprise the installation is very broken now and I am at a loss.

What I'm seeing essentially is my SNMP traps are received however pfsetvlan is 
not taking any action.

I set the log level in conf/log.conf to DEBUG and still the only relevant line 
seen in packetfence.log is the start lines.

I tried stepping through pfsetvlan in the perl debugger and I basically saw it 
load the switch configuration and start the tail on snmptrapd.log but there are 
never any actions on the switches.

All the time, even in the debug session I see pfsetvlan using 100% CPU and 
InnoDB deadlocks are seen in mysql.

One thing I can note and I'm unclear what this means;  in the web interface I 
see no management interface, actually only see a button to configure routed 
networks.

In pf.conf and networks.conf my network is correctly described.

I tried running the web configurator and it did not offer a way to configure 
the physical network; ( as if it was not detected).

I'm using VMXNET3 drivers and vmware-tools-core-9.0.0-2

Any guidance would be greatly appreciated.

[root@pkfn pf]# tail logs/snmptrapd.log
(6 redundant lines removed)
2015-04-24|15:01:47|UDP: [10.56.105.202]:1028->[10.50.156.54]|0.0.0.0|BEGIN 
TYPE 0 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS 
.1.3.6.1.2.1.1.3.0 = Timeticks: (8155487) 22:39:14.87|.1.3.6.1.6.3.1.1.4.1.0 = 
OID: .1.3.6.1.4.1.9.9.315.0.0.1|.1.3.6.1.2.1.2.2.1.1.7 = Wrong Type (should be 
INTEGER): Gauge32: 7|.1.3.6.1.2.1.31.1.1.1.1.7 = STRING: 
GigabitEthernet1/0/5|.1.3.6.1.4.1.9.9.315.1.2.1.1.10.7 = Hex-STRING: 00 01 E6 
35 0F 89  END VARIABLEBINDINGS
2015-04-24|15:01:48|UDP: [10.56.105.215]:54976->[10.50.156.54]|0.0.0.0|BEGIN 
TYPE 0 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS 
.1.3.6.1.2.1.1.3.0 = Timeticks: (1077737866) 124 days, 
17:42:58.66|.1.3.6.1.6.3.1.1.4.1.0 = OID: 
.1.3.6.1.4.1.9.9.315.0.0.1|.1.3.6.1.2.1.2.2.1.1.10129 = Wrong Type (should be 
INTEGER): Gauge32: 10129|.1.3.6.1.2.1.31.1.1.1.1.10129 = STRING: 
GigabitEthernet0/29|.1.3.6.1.4.1.9.9.315.1.2.1.1.10.10129 = Hex-STRING: 5C 26 
0A 36 81 73  END VARIABLEBINDINGS
2015-04-24|15:01:49|UDP: [10.56.105.202]:1028->[10.50.156.54]|0.0.0.0|BEGIN 
TYPE 0 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS 
.1.3.6.1.2.1.1.3.0 = Timeticks: (8155669) 22:39:16.69|.1.3.6.1.6.3.1.1.4.1.0 = 
OID: .1.3.6.1.4.1.9.9.315.0.0.1|.1.3.6.1.2.1.2.2.1.1.7 = Wrong Type (should be 
INTEGER): Gauge32: 7|.1.3.6.1.2.1.31.1.1.1.1.7 = STRING: 
GigabitEthernet1/0/5|.1.3.6.1.4.1.9.9.315.1.2.1.1.10.7 = Hex-STRING: 00 01 E6 
35 0F 89  END VARIABLEBINDINGS
2015-04-24|15:01:49|UDP: [10.56.105.215]:54976->[10.50.156.54]|0.0.0.0|BEGIN 
TYPE 0 END TYPE BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS 
.1.3.6.1.2.1.1.3.0 = Timeticks: (1077738019) 124 days, 
17:43:00.19|.1.3.6.1.6.3.1.1.4.1.0 = OID: 
.1.3.6.1.4.1.9.9.315.0.0.1|.1.3.6.1.2.1.2.2.1.1.10129 = Wrong Type (should be 
INTEGER): Gauge32: 10129|.1.3.6.1.2.1.31.1.1.1.1.10129 = STRING: 
GigabitEthernet0/29|.1.3.6.1.4.1.9.9.315.1.2.1.1.10.10129 = Hex-STRING: 5C 26 
0A 36 81 73  END VARIABLEBINDINGS
[root@pkfn pf]# tail logs/packetfence.log
Apr 24 11:01:19 pfcmd.pl(3105) DEBUG: cache get for namespace='configfiles', 
key='/usr/local/pf/conf/switches.conf', cache='File:l1_cache:l1_cache', 
time='0ms': HIT (CHI::Driver::_log_get_result)
Apr 24 11:01:19 pfcmd.pl(3105) DEBUG: cache get for 
namespace='configfilesdata', key='SwitchConfig', cache='File:l1_cache', 
time='0ms': HIT (CHI::Driver::_log_get_result)
Apr 24 11:01:19 pfcmd.pl(3105) INFO: pidof -x snmptrapd returned 2700 
(pf::services::manager::pidFromFile)
Apr 24 11:01:19 pfcmd.pl(3105) INFO: verifying process 2700 
(pf::services::manager::removeStalePid)
Apr 24 11:01:19 pfcmd.pl(3105) INFO: pidof -x snmptrapd returned 2700 
(pf::services::manager::pidFromFile)
Apr 24 11:01:19 pfcmd.pl(3105) INFO: pidof -x snmptrapd returned 2700 
(pf::services::manager::pidFromFile)
Apr 24 11:01:19 pfcmd.pl(3105) DEBUG: Starting Daemon pfsetvlan with command 
/usr/local/pf/sbin/pfsetvlan -d  (pf::services::manager::launchService)
Apr 24 11:01:21 pfcmd.pl(3105) INFO: Daemon pfsetvlan took 1.563 seconds to 
start. (pf::services::manager::launchService)
Apr 24 11:01:21 pfsetvlan(3115) INFO: pfsetvlan starting and writing 3118 to 
/usr/local/pf/var/run/pfsetvlan.pid (pf::services::util::createpid)
Apr 24 11:01:21 pfsetvlan(3115) INFO: Process started (main::)

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to