[horde] Could not pack data

Michael M Slusarz slusarz at horde.org
Wed Sep 3 08:38:28 UTC 2014

Quoting Per olof Ljungmark <peo at bsdlabs.com>:

> On 09/01/14 11:06, Per olof Ljungmark wrote:
>> On 2014-09-01 01:24, Per olof Ljungmark wrote:
>>> Need a clue to why I get this at the login prompt in a new testing
>>> install for 5.2.1.
>>> HORDE: Could not pack data. [pid 23141 on line 154 of
>>> "/usr/local/share/pear/Horde/Pack.php"]
>>> No other info is logged, just this. AFAICS everything required is there.
>>> The test.php script is fine for horde and imp. but ingo, kronolith and
>>> turba test pages also throws "Could not pack data."
>>> Any hints greatly appriciated.
>> Below is the output from horde-alarms if that could be of any help:
>> Fatal Error:
>> Could not pack data.
>> In /usr/local/share/pear/Horde/Pack.php on line 154
>> 1. Horde_Registry::appInit() /usr/local/bin/horde-alarms:23
>> 2. Horde_Registry->setAuth() /usr/local/share/pear/Horde/Registry.php:360
>> 3. Horde_Registry->setAuthCredential()
>> /usr/local/share/pear/Horde/Registry.php:2506
>> 4. Horde_Session->set() /usr/local/share/pear/Horde/Registry.php:2420
>> 5. Horde_Pack->pack() /usr/local/share/pear/Horde/Session.php:427
> For the list:
> This is most likely a bug in the OS, FreeBSD 10-STABLE late August. Same
> config on 9-STABLE is OK.

Is it a bug in the OS, or a bug with a certain version of PHP?  I  
believe freebsd doesn't ship packages, but has a ports repo instead  

Horde_Pack should NEVER fail, at least as used in Horde_Session.  The  
fallback driver, if all other pack drivers are not available, is to  
use the PHP serialize function.  This method is always available.  The  
only way it wouldn't is if the Horde_Pack main object can't find the  
driver file - which would be a PEAR (or some other) installation  
issue.  Or if the file permissions weren't correct on the driver files.


Michael Slusarz [slusarz at horde.org]

More information about the horde mailing list