
| Anonymous | Login | 2025-12-14 14:35 EST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0000813 | PacketFence | public | 2009-10-14 08:39 | 2011-01-26 15:43 | ||||
| Reporter | obilodeau | |||||||
| Assigned To | obilodeau | |||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | ||||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000813: When a switch doesn't compile, packetfence issues an error but then goes on like its normal | |||||||
| Description | Switch modules are instantiated only when first used. If a switch module is broken, here's what you get in the logs:
Oct 14 08:18:38 pfcmd(0) ERROR: Can not load perl module for switch 192.168.1.61, type: pf::SNMP::Cisco::Catalyst_2960.
Either the type is unknown or the perl module has compilation errors. Read the following message for
details: Missing right curly or square bracket at /usr/local/pf/lib/pf/SNMP/Cisco.pm line 1496, at end
of line
syntax error at /usr/local/pf/lib/pf/SNMP/Cisco.pm line 1496, at EOF
Compilation failed in require at (eval 78) line 3.
...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/SNMP/Cisco/Catalyst_2950.pm line 24.
Compilation failed in require at (eval 77) line 3.
...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/SNMP/Cisco/Catalyst_2960.pm line 28.
Compilation failed in require at /usr/local/pf/lib/pf/SwitchFactory.pm line 74. (pf::SwitchFactory::instantiate)
I'm not convinced that this is what should happen. Maybe we should do a sanity check of all modules specified in switches.conf at startup and stop starting right there. What do you guys think? | |||||||
| Tags | No tags attached. | |||||||
| fixed in git revision | ||||||||
| fixed in mtn revision | ||||||||
| Attached Files | ||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0001334) rbalzard (administrator) 2009-10-15 14:20 |
fixed in revision 5815165026bd8d612710cba3cb088b9d3c931e80 |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-10-14 08:39 | obilodeau | New Issue | |
| 2009-10-14 08:39 | obilodeau | Status | new => assigned |
| 2009-10-14 08:39 | obilodeau | Assigned To | => obilodeau |
| 2009-10-15 14:20 | rbalzard | Note Added: 0001334 | |
| 2009-10-15 14:20 | rbalzard | Status | assigned => resolved |
| 2009-10-15 14:20 | rbalzard | Resolution | open => fixed |
| 2009-10-16 10:12 | obilodeau | Relationship added | duplicate of 0000755 |
| 2011-01-26 15:43 | obilodeau | Status | resolved => closed |
| Copyright © 2000 - 2012 MantisBT Group |