[horde] Problem with XCache and Horde

Jens Grüntjes jens.gruentjes at ebira.de
Thu May 7 05:27:10 UTC 2015


Zitat von Tilo <tilo at flam.de>:

> Jens Grüntjes <jens.gruentjes <at> ebira.de> writes:
>
>> since I changed the PHP opcode cache from APC to XCache I'm running
>> into problems with horde. Whenever horde-alarms is executed I receive
>> an error message like:
>>
>> Cannot write Autoloader cache to backend
>>
>> Horde's log file then contains the following line:
>>
>> 2015-04-28T10:50:03+00:00 WARN: HORDE [horde] PHP ERROR: xcache_set():
>> XCache var cache was not initialized properly. Check php log for
>> actual reason [pid 2603 on line 155 of
>> "/usr/share/php/Horde/Autoloader/Cache/Bootstrap.php"]
>>
>> I can raise the error if I manually execute horde-alarms as well.
>>
>> Can maybe someone with XCache running help me out?
>
> Hello,
>
> I am experiencing the same issue on a Debian 7 system.
>
> It seems like XCache is broken on CLI in the version that Debian 7 uses
> (2.0.0-4). My settings used for Apache and CGI are identical and similar to
> yours, but phpinfo() shows that the opcode and variable caches are disabled
> when executed via CLI, while both appear enabled as expected via Apache.
>
> Related bug report:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707057
>
> The report suggests that Debian 8 should contain a fixed version.
>
> My quick-and-dirty fix is to comment out the log line in Bootstrap.php.
>
> Greetings
> Tilo

Thank you Tilo, I will update the server in the next weeks so we will  
see if that helps.

Greetings
Jens



More information about the horde mailing list