Zitat von Michael M Slusarz <slus...@horde.org>:

Quoting Samuel Wolf <sam...@sheepflock.de>:

Zitat von Michael M Slusarz <slus...@horde.org>:

Quoting Samuel Wolf <sam...@sheepflock.de>:

Zitat von Michael M Slusarz <slus...@horde.org>:

Quoting Samuel Wolf <sam...@sheepflock.de>:

Hi,

I have a lot of this errors in my apache error log:
[Wed Jun 11 23:01:24 2014] [error] [client 192.168.55.104] Cannot write Autoloader cache to backend., referer: https://192.168.55.45/horde4/imp/dynamic.php?page=mailbox

Your webserver does not have access to the system temporary directory (directory returned by PHP's sys_get_temp_dir()).

<?php
echo sys_get_temp_dir();
?>

show /tmp

Webserver write some other files to /tmp:
root@wds:/tmp# ls -la | grep horde
drwx------  3 www-data www-data    4096 Jun  1 18:00 .horde
-rw-r--r-- 1 www-data www-data 13207 Jun 5 00:48 horde_autoloader_cache_a5242318 -rw-r--r-- 1 www-data www-data 7895 Jun 5 00:47 horde_autoloader_cache_ff86a2d4

The last access is dated June 5. I would guess something has changed on your server since then.

You're right, thanks for the note!

I installed at this time php5-xcache, after remove the package again and restart apache:
root@wds:/tmp# ls -la | grep horde
-rw-r--r-- 1 www-data www-data 28698 Jun 12 00:20 horde_autoloader_cache_a5242318 -rw-r--r-- 1 www-data www-data 47365 Jun 12 00:22 horde_autoloader_cache_ff86a2d4
-rw-------  1 www-data www-data 18924 Jun 12 00:20 horde_debug.txt
-rw-r--r--  1 www-data www-data     0 Jun 12 00:07 horde_dns.cache
[...]

crazy.

Maybe I setup xcache wrong.

Install != activate in PHP.  I'm guessing that's your issue.

Sorry for re-opening this issue. Today I switched from APC to XCache and get these messages as well.

<?php
echo sys_get_temp_dir();
?>

gives /tmp and the directory looks like this:

# ll -rt /tmp
-rw------- 1 www-data www-data 3460 Apr 14 10:17 horde_registry_cache_d8b2af3f498a5ea9323655cda64edb28 -rw------- 1 www-data www-data 3448 Apr 14 10:17 horde_registry_cache_1a10e8a841a044ea63d4ec8d19066b1d -rw------- 1 www-data www-data 3487 Apr 14 10:17 horde_registry_cache_ef3c5204bbde4b436aa995fe86f863a4 -rw------- 1 www-data www-data 3500 Apr 14 10:18 horde_registry_cache_bded33a3c9bfa7332b0082506443d3ae -rw------- 1 www-data www-data 13522 Apr 14 10:20 horde_autoloader_cache_dcfe726a02a17964308e92a52484786c -rw------- 1 www-data www-data 21454 Apr 14 10:29 horde_autoloader_cache_4b0b5ed4e62d134627d5ce4a0a8e8f02
srwxr-xr-x 1 www-data www-data     0 Apr 14 11:56 php.socket-0
-rw------- 1 www-data www-data 11468 Apr 14 12:14 horde_dns.cache

So, the switch to XCache was at about 10:30 this morning. After that only the file horde_dns.cache was updated. The other horde-related files are "old".

As you said "Install != activate in PHP" I checked this on my phpinfo()-page. On that page I see that XCache is enabled. Therefore I don't understand why the error message is constantly appearing. Can someone help me with this?

Greetings
Jens

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to