PacketFence - BTS - PacketFence
View Issue Details
0001830PacketFenceupgradepublic2014-10-08 13:132014-12-22 20:06
pfbug 
lmunro 
normalcrashalways
resolvedfixed 
LinuxDebian7 (Wheezy)
4.4.0 
 
0001830: Packetfence does not start after upgrade
After upgrading from packetfence 4.3 to 4.4 via the inverse repository,
the following error message appears when

  /usr/local/pf/bin/pfcmd anyparameter

is executed:

Fatal error preventing configuration to load. Please review your configuration. Error: Sereal: Error in srl_decoder.c line 657 and char 1 of input: Bad Sereal header: Not a valid Sereal document. at /usr/share/perl5/Data/Serializer/Sereal.pm line 51. at /usr/local/pf/lib/pf/config.pm line 394
Compilation failed in require at /usr/local/pf/bin/pfcmd.pl line 84.
BEGIN failed--compilation aborted at /usr/local/pf/bin/pfcmd.pl line 84.

An

  apt-get --reinstall install packetfence

has been tried without success. Additionally,

  rm -fr /usr/local/pf/var/cache/*

has been executed as described in UPGRADE.asciidoc. The sereal Packages are installed:

# dpkg -l | grep sereal
ii libdata-serializer-sereal-perl 1.05-1 all Creates bridge between Data::Serializer and Sereal
ii libsereal-decoder-perl 3.001.003-1 amd64 fast, compact, powerful binary deserialization module
ii libsereal-encoder-perl 3.001.003-1 amd64 fast, compact, powerful binary serializationa module
Execute

  /etc/init.d/packetfence restart

after the upgrade from Packetfence 4.3.0.
No tags attached.
Issue History
2014-10-08 13:13pfbugNew Issue
2014-10-08 13:18lmunroNote Added: 0003585
2014-10-08 13:18lmunroAssigned To => lmunro
2014-10-08 13:18lmunroStatusnew => assigned
2014-10-08 16:43pfbugNote Added: 0003586
2014-12-22 20:06fdurandNote Added: 0003630
2014-12-22 20:06fdurandStatusassigned => resolved
2014-12-22 20:06fdurandResolutionopen => fixed

Notes
(0003585)
lmunro   
2014-10-08 13:18   
pkill memcached and restart packetfence.
(0003586)
pfbug   
2014-10-08 16:43   
Thanks a lot, that solved the problem. Perhaps this should be added to the postinstall script?
(0003630)
fdurand   
2014-12-22 20:06   
Cache issue