open_basedir error bei Webmailer

Hallo,

hat evtl. noch jemand das Problem bzw. weiß wie man das löst ohne open_basedir zu deaktivieren?
Im Parallels Support-Forum will keiner der Verantwortlichen antworten.

Horde:
Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in Unknown on line 0 Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in /usr/share/psa-horde/lib/Horde/Registry.php on line 212 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in /usr/share/psa-horde/lib/Horde/Registry.php on line 217 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in /usr/share/psa-horde/lib/Horde/Registry.php on line 217 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in /usr/share/psa-horde/lib/Horde/Registry.php on line 217 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in /usr/share/psa-horde/lib/Horde/Registry.php on line 217 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in /usr/share/psa-horde/lib/Horde/Registry.php on line 217 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in /usr/share/psa-horde/lib/Horde/Registry.php on line 217 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in /usr/share/psa-horde/lib/Horde/Registry.php on line 217 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in /usr/share/psa-horde/lib/Horde/Registry.php on line 217

A fatal error has occurred

Failed to import configuration file "/usr/share/psa-horde/config/conf.php": Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/) in /usr/share/psa-horde/lib/Horde.php on line 532


Atmail:
Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/atmail/:/var/log/atmail/:/etc/psa-webmail/atmail/:/tmp/:/var/tmp/) in Unknown on line 0


http://forum.parallels.com/showthread.php?t=107718#9
Das brauchte auch keinen Erfolg.


Parallels Plesk Panel v10.3.1_build1013110726.09 os_Debian 6.0
PHP Version 5.3.3-7+squeeze3

Vielen Danke im Voraus!
 
Warum fügst du das Verzeichnis /usr/share/psa-horde/config/, aus dem zu inkludieren ist, nicht in der php.ini im Abschnitt mit dem Eintrag open_basedir hinzu?

//EDIT:
Bei mir ist in der für Horde inkludierten Apache-Konfig folgendes durch Plesk generiertes drin:

Code:
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/lib:/usr/share/psa-pear:."

Existiert auf deinem System ein Symlink von /usr/share/psa-horde/cinfig/ auf /etc/psa-webmail/horde/horde ?
 
Last edited by a moderator:
/usr/share/psa-horde ist bei open_basedir eingetragen.
Code:
/usr/share/psa-horde:/etc/psa-webmail/horde/:/tmp/:/var/tmp/:/var/log/psa-horde:/usr/share/doc/:/usr/share/psa-pear/

Code:
#ls -la /usr/share/psa-horde/config
lrwxrwxrwx 1 root root 28 Oct 15 15:13 /usr/share/psa-horde/config -> /etc/psa-webmail/horde/horde

Horde ist eigentlich erst mal unwichtig. Atmail ist da wichtiger.
 
Code:
Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/atmail/:/var/log/atmail/:/etc/psa-webmail/atmail/:/tmp/:/var/tmp/:/etc/psa-webmail/atmail) in Unknown on line 0

Code:
php_admin_value open_basedir "/var/www/atmail/:/var/log/atmail/:/etc/psa-webmail/atmail/:/tmp/:/var/tmp/:/etc/psa-webmail/atmail"

Aber ich habe eine Möglichkeit jetzt gefunden, wie man das umgehen kann.
display_errors = off

In der /etc/php5/apache2/php.ini steht es nämlich auf on.
Danach zeigt er keinen Fehler mehr an und man kann sich auch wieder einloggen.
 
Nur die beiden Webmailer laufen über mod_php, der Rest über fcgi und da sieht es etwas anders aus. ;)

In der error_log steht es drin.
Code:
[Sat Oct 29 14:52:50 2011] [error] [client xx.xx.xx.xx] PHP Warning:  Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/atmail/:/var/log/atmail/:/etc/psa-webmail/atmail/:/tmp/:/var/tmp/:/etc/psa-webmail/atmail) in Unknown on line 0
 
Back
Top