Can you try the following patch https://github.com/inverse-inc/packetfence/commit/4c37dcea325f162a5589a4dda04be2efa52ad122.diff
Let me know if it helps James Rouzier [email protected] :: +1.514.447.4918 (x115) :: http://www.inverse.ca Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://www.packetfence.org) On 2016-01-19 12:59 PM, Carlos Alonso wrote: > Hello All, > > > I have upgraded PF from version 4.7 to 5.6 in Debian Wheezy. > I have also upgraded the database schema as recommended and many conf files. > When I start PF services, I get some warnings and compilation errors > Some services don't start and I have to init them one by one in the web > admin (Status->services) > > After that everything seems to work (it is quite slow though when i > search a node) > > This is what I get in packetfence.log: > > Couldn't require pf::services::manager::httpd_aaa : has '+name' given > but no name attribute already exists at > /usr/share/perl5/Method/Generate/Constructor.pm line 15. > Compilation failed in require at (eval 2329) line 2. > at /usr/share/perl/5.14/Module/Pluggable.pm line 28. > Couldn't require pf::services::manager::httpd_admin : has '+name' given > but no name attribute already exists at > /usr/share/perl5/Method/Generate/Constructor.pm line 15. > Compilation failed in require at (eval 2339) line 2. > at /usr/share/perl/5.14/Module/Pluggable.pm line 28. > Couldn't require pf::services::manager::httpd_proxy : has '+name' given > but no name attribute already exists at > /usr/share/perl5/Method/Generate/Constructor.pm line 15. > Compilation failed in require at (eval 2359) line 2. > at /usr/share/perl/5.14/Module/Pluggable.pm line 28. > Couldn't require pf::services::manager::httpd_portal : has '+name' given > but no name attribute already exists at > /usr/share/perl5/Method/Generate/Constructor.pm line 15. > Compilation failed in require at (eval 2363) line 2. > at /usr/share/perl/5.14/Module/Pluggable.pm line 28. > Couldn't require pf::services::manager::httpd_graphite : has '+name' > given but no name attribute already exists at > /usr/share/perl5/Method/Generate/Constructor.pm line 15. > Compilation failed in require at (eval 2404) line 2. > at /usr/share/perl/5.14/Module/Pluggable.pm line 28. > Couldn't require pf::services::manager::httpd_webservices : has '+name' > given but no name attribute already exists at > /usr/share/perl5/Method/Generate/Constructor.pm line 15. > Compilation failed in require at (eval 2420) line 2. > at /usr/share/perl/5.14/Module/Pluggable.pm line 28. > Couldn't require pf::api::local : Can't locate object method "name" via > package "pf::services::manager::httpd_portal" at > /usr/local/pf/lib/pf/services.pm line 39. > Compilation failed in require at /usr/local/pf/lib/pf/clustermgmt.pm > line 38. > BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/clustermgmt.pm > line 38. > Compilation failed in require at /usr/local/pf/lib/pf/dhcp/processor.pm > line 22. > BEGIN failed--compilation aborted at > /usr/local/pf/lib/pf/dhcp/processor.pm line 22. > Compilation failed in require at /usr/local/pf/lib/pf/api.pm line 59. > BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/api.pm line 59. > Compilation failed in require at /usr/local/pf/lib/pf/api/local.pm line 18. > BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/api/local.pm > line 18. > Compilation failed in require at (eval 1952) line 2. > at /usr/share/perl/5.14/Module/Pluggable.pm line 28. > Couldn't require pf::api::can_fork : Attempt to reload pf/api.pm aborted. > Compilation failed in require at /usr/local/pf/lib/pf/api/can_fork.pm > line 19. > BEGIN failed--compilation aborted at > /usr/local/pf/lib/pf/api/can_fork.pm line 19. > Compilation failed in require at (eval 2514) line 2. > at /usr/share/perl/5.14/Module/Pluggable.pm line 28. > > Any tips? > > Thank you > > Carlos Alonso > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > PacketFence-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/packetfence-users ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
