• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Horde open_basedir error

K

KamilG

Guest
Hello

From few weeks I'm receiving such error when navigationg to webmail.domain.com

Failed to import configuration file "/usr/share/psa-horde/config/conf.php": Warning: include() [function.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

I'm on a Debian 5.0
my php version is 5.3.x
I navigated to generated config files in /opt/psa/admin/conf/generated and I was able to edit file located in there but changing settings in there did not had any effect. I also wanted to have a solution working all time and not repeating steps when this config was regenerated.

I also switched open_basedir to off in my global php.ini but local settings were overwriting global ones.
 
Same problem ...

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


Parallels Plesk Panel v10.3.1_build1013110726.09 os_Debian 6.0
PHP Version 5.3.3-7+squeeze3
 
I'm still having the same issue - each time plesk is being upgraded new files are being generated and my webmail stops because of openbasedir restrictions.


PLease move this topic to troubleshooting subforum if possible.
 
Last edited by a moderator:
Hey thank You for Your reply but i don't have those problems on domains but only on webmail - horde.
 
Back
Top