• 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 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 "[email protected]"

    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 "[email protected]"

    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