• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

WebMail Error after System Upgrade

marco.saiu

Basic Pleskian
Hello i have upgrade system (Ubuntu 10.04 Lts + Plesk 10.0.1) upgrade php5.3.4.1-ubuntu4.5 to php5.3.4.1-ubuntu4.6 and Horde don't work properly and show this error message:

Some of Horde's configuration files are missing or unreadable
prefs.php

This file controls the default preferences for Horde, and also controls which preferences users can alter.
conf.php

This is the main Horde configuration file. It contains paths and basic items that apply to the core framework and all Horde applications.
mime_drivers.php

This file controls the global set of MIME drivers for the Horde framework, allowing applications to make use of programs such as enscript or mswordview to render content into HTML for viewing in a browser.
nls.php

This file provides localisation support for the Horde framework.
registry.php

The registry is how Horde applications find out how to talk to each other. You should list any installed Horde applications that you have here.
Create these files from their .dist versions in /usr/share/psa-horde/config and change them according to your needs.

AtMail show white page...

Any idea???
 
Required Horde Configuration Files

* config/conf.php: No
The file config/conf.php appears to be missing. You probably just forgot to copy config/conf.php.dist over. While you do that, take a look at the settings and make sure they are appropriate for your site.
* config/mime_drivers.php: No
The file config/mime_drivers.php appears to be missing. You probably just forgot to copy config/mime_drivers.php.dist over. While you do that, take a look at the settings and make sure they are appropriate for your site.
* config/nls.php: No
The file config/nls.php appears to be missing. You probably just forgot to copy config/nls.php.dist over. While you do that, take a look at the settings and make sure they are appropriate for your site.
* config/prefs.php: No
The file config/prefs.php appears to be missing. You probably just forgot to copy config/prefs.php.dist over. While you do that, take a look at the settings and make sure they are appropriate for your site.
* config/registry.php: No
The file config/registry.php appears to be missing. You probably just forgot to copy config/registry.php.dist over. While you do that, take a look at the settings and make sure they are appropriate for your site.
 
PEAR

* PEAR Search Path (PHP's include_path): /usr/share/psa-horde:/usr/share/psa-horde/lib:/usr/share/psa-pear:.
* PEAR: No
Check your PHP include_path setting to make sure it has the PEAR library directory.
 
Execute command 'apache2ctl -t -D DUMP_MODULES 2>&1 | grep php5'
If output is empty, than allow mod_php5 by 'a2enmod php5'

If it not help, need to check '/var/log/psa-horde/psa-horde.log'
 
Execute command 'apache2ctl -t -D DUMP_MODULES 2>&1 | grep php5'
If output is empty, than allow mod_php5 by 'a2enmod php5'

If it not help, need to check '/var/log/psa-horde/psa-horde.log'

Thank's for your contribute but php5 module is active and loaded in apache2. The problem is the subversion of php5 with upgrade this version change in 4.6 (php5.3.2-1ubuntu4.6). This version of php5 have some security fix and i think this is the big problem...

(Info) http://www.ubuntuupdates.org/packages/show/250377

This fix restrinct the value of open_basedir and inclusion_path...

If Horde and AtMail don't work with this php version plesk 10 don't is compatible with ubuntu10.04!
 
All configuration for webmail don't change is same and auto generated with plesk... But if install plesk with ubuntu and php5.3.2-1ubuntu4.6 have this problem. Plesk work currectly but Horde and AtMail don't work.

Dummy error:
Warning: Unknown: open_basedir restriction in effect. File(/var/www/atmail/index.php) is not within the allowed path(s): (/var/www/atmail/:/var/log/atmail/:/etc/psa:/tmp/:/var/tmp/) in Unknown on line 0 Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 Fatal error: Unknown: Failed opening required '/var/www/atmail/index.php' (include_path='/var/www/atmail:/var/www/atmail/libs:/var/www/atmail/libs/Atmail:/var/www/atmail/libs/PEAR:/var/www/atmail/libs/File:.') in Unknown on line 0
 
try to do following:

1. backup folder /usr/local/psa/admin/conf/templates/default
2. edit atmail.php and horde.php inside this folder
need to found all patterns like
------------------------------------------------------
php_admin_value open_basedir "<?php echo
"$atmailDocroot/:/var/log/atmail/:/etc/psa:/tmp/:/var/tmp/" ?>"

------------------------------------------------------
and remove ALL tailing slashes:
------------------------------------------------------
php_admin_value open_basedir "<?php echo
"$atmailDocroot:/var/log/atmail:/etc/psa:/tmp:/var/tmp" ?>"
------------------------------------------------------
3. call /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

not sure on 100%, but it should help
 
Remember - it decreases security policy. Need to restore original values after bug in PHP will be fixed.
 
Thank's fogelf for your help.

Developers have public new upgrade for horde webmail...

Note: I install new ugrade but solve problem only for Horde, AtMail have same problem and work only if i remove all open_ basedir configuration in their vhost file.

Tommorow i try to solve problem with open_basedir and i post news...
 
Back
Top