• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Webmail Error 500 Horse/Roundcube after Update

mfgo_parusr

New Pleskian
Hello,

any our webmail services (webmail.domain.tld ...) produces Error 500 after auto. plesk update.
What's wrong?

Some info:
OS: CloudLinux Server 6.5 (Pavel Popovich)
Panel-Version: 11.5.30 Update #37, MRZ 21, 2014 04:10 PM

/var/log/httpd/error_log -->
Code:
PHP Fatal error:  PHP Startup: apc_mmap: mmap failed: in Unknown on line 0
[Fri Mar 21 16:17:20 2014] [warn] [client 88.134.XXX.XXX] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri Mar 21 16:17:20 2014] [error] [client 88.134.XXX.XXX] Premature end of script headers: index.php
[Fri Mar 21 16:17:23 2014] [error] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(128239) exit(communication error), get unexpected signal 11


Code:
[root@server /]# getent passwd roundcube_sysuser
roundcube_sysuser:x:10016:510:roundcube webmail user:/usr/share/psa-roundcube/:/sbin/nologin
[root@server /]# getent group roundcube_sysgroup
roundcube_sysgroup:x:510:
[root@server /]# plesk bin php_handler --list
      id:  display name:  full version:  version:    type:          cgi-bin:      php.ini:  custom:
      cgi          5.3.3          5.3.3       5.3      cgi  /usr/bin/php-cgi  /etc/php.ini    false
  fastcgi          5.3.3          5.3.3       5.3  fastcgi  /usr/bin/php-cgi  /etc/php.ini    false
   module          5.3.3          5.3.3       5.3   module  /usr/bin/php-cgi  /etc/php.ini    false


eg. /etc/httpd/conf/plesk.conf.d/roundcube.conf (XXXXst by me) -->
Code:
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

<VirtualHost \
    XXXXXXXX:80 \
         \
    >
    ServerName roundcube.webmail
    ServerAlias roundcube.webmail.*
    ServerAdmin "webmaster@XXXXXXXX.com"

    Include "/etc/httpd/conf/plesk.conf.d/webmails/roundcube/*.conf"
    UseCanonicalName Off

    DocumentRoot "/usr/share/psa-roundcube/"
    Alias /roundcube/ "/usr/share/psa-roundcube/"

    <IfModule mod_suexec.c>
        SuexecUserGroup roundcube_sysuser roundcube_sysgroup
    </IfModule>

    <IfModule mod_fcgid.c>
            FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
            FcgidInitialEnv PP_CUSTOM_PHP_INI "/etc/psa-webmail/roundcube/php.ini"
            FcgidMaxRequestLen 134217728
        <Directory "/usr/share/psa-roundcube/">
            Options -Indexes FollowSymLinks
            AllowOverride FileInfo
            Order allow,deny
            Allow from all
            Include "/etc/httpd/conf/plesk.conf.d/roundcube.htaccess.inc"

            <Files ~ (\.php$)>
                SetHandler fcgid-script
                FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
                Options +ExecCGI
            </Files>
        </Directory>
    </IfModule>


</VirtualHost>

<IfModule mod_ssl.c>
<VirtualHost \
    XXXXXXXX:443 \
     \
    >
    ServerName roundcube.webmail
    ServerAlias roundcube.webmail.*
    ServerAdmin "webmaster@XXXXXXXX.com"

    Include "/etc/httpd/conf/plesk.conf.d/webmails/roundcube/*.conf"
    UseCanonicalName Off

    DocumentRoot "/usr/share/psa-roundcube/"
    Alias /roundcube/ "/usr/share/psa-roundcube/"

    SSLEngine on
    SSLVerifyClient none
    SSLCertificateFile "/usr/local/psa/var/certificates/cert-LTNyMQ"

    <IfModule mod_suexec.c>
        SuexecUserGroup roundcube_sysuser roundcube_sysgroup
    </IfModule>

    <IfModule mod_fcgid.c>
            FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
            FcgidInitialEnv PP_CUSTOM_PHP_INI "/etc/psa-webmail/roundcube/php.ini"
            FcgidMaxRequestLen 134217728
        <Directory "/usr/share/psa-roundcube/">
            Options -Indexes FollowSymLinks
            AllowOverride FileInfo
            Order allow,deny
            Allow from all
            Include "/etc/httpd/conf/plesk.conf.d/roundcube.htaccess.inc"

            <Files ~ (\.php$)>
                SetHandler fcgid-script
                FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
                Options +ExecCGI
            </Files>
        </Directory>
    </IfModule>


</VirtualHost>
</IfModule>

Standard files ... so, what's wrong?
We do not changed something except the auto plesk update (stable versions).


EDIT: Sorry, can't update the title (Horde...). ;)

Best regards
 
Unfortunately, the problem still there and has been no support from Parallels. It was updated and the latest version of Plesk. Same Errors on Roundcube and Horde.
 
Just for information... I fixed it today. It was a APC error.
Running config for apc.ini -->

extension=apc.so
apc.shm_segments=1
apc.shm_size=256M
apc.max_file_size=5M

Restart apache after...
 
Back
Top