• 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

Issue 500 Error on Roundcube Webmail for all domains

mike1s

New Pleskian
Hello,

I'm getting a 500 error for Roundcube webmail on all domains. This is on a fairly new CentOS 7 machine. I see the following messages in the server's apache error log:

[root@tpa-alpha ~]# tail -fn0 /var/log/httpd/error_log
[Fri Nov 22 14:25:18.287866 2019] [fcgid:warn] [pid 2784:tid 140713572599552] (104)Connection reset by peer: [client 96.243.227.122:56040] mod_fcgid: error reading data from FastCGI server
[Fri Nov 22 14:25:18.287998 2019] [core:error] [pid 2784:tid 140713572599552] [client 96.243.227.122:56040] End of script output before headers: index.php
 
Hello
I have the same problem. I've read the two articles you mention. Reinstalling php-mysql and php-do doesn't solve it and at the end of httpd error log, I only have this :

[Sat Dec 14 01:07:21.857078 2019] [fcgid:warn] [pid 31024:tid 140195506534144] (104)Connection reset by peer: [client xx.xx.xx.xx:41798] mod_fcgid: error reading data from FastCGI server

[Sat Dec 14 01:07:21.857147 2019] [core:error] [pid 31024:tid 140195506534144] [client xx.xx.xx.xx:41798] End of script output before headers: index.php
 
Last edited:
I've checked the permissions, and everything seems to be fine :

ls -alh /var
drwxr-xr-x 6 root root 4,0K 4 déc. 23:09 www

ls -alh /var/www/
total 24K
drwxr-xr-x 6 root root 4,0K 4 déc. 23:09 .
drwxr-xr-x. 24 root root 4,0K 4 déc. 23:07 ..
drwxr-xr-x 4 root root 4,0K 4 déc. 23:09 cgi-bin

ls -alh /var/www/cgi-bin/cgi_wrapper/
total 48K
drwxr-xr-x 2 root root 4,0K 4 déc. 23:08 .
drwxr-xr-x 4 root root 4,0K 4 déc. 23:09 ..
-rwxr-xr-x 1 root root 28K 15 nov. 06:51 cgi_wrapper
-rwxr-xr-x 1 root root 8,5K 1 août 17:31 git_wrapper

I've done the manipulations from the article just to be sure, but the result is the same. I still have the same error in the error_log. In fact I should have guessed the result, since the error only occurs when I use Roundcube. Horde works fine.

There is nothing in the error log of Roundcube
 
Last edited:
Back
Top