Server Error 500 | Drupal 8

Server Error 500

Submitted by editor on Fri, 04/21/2017 - 09:31

Connection reset by peer: mod_fcgid: error reading data from FastCGI server

Sometimes when migrating sites are switching between mod_php and FCGId permissions can get mangled which cause errors such as:

(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server

when running in FCGId mode.

  • Go to /home/SITE_NAME/fcgi-bin
  • Use the follpwoing command to reset the immutable flag
    chattr -i php5.fcgi
  • Then delete the /home/sitename/etc and /home/sitename/fcgi-bin directories (making sure that anything that's not php related in etc is saved)
  • Using virtualmin switch back to apache mod_php mode and then back to FCGId mode. The site should now work Dont forget to chown any files/directories in public_html that were apache to : Note that these are both usually the sitename.
    Virtualmin > YOUR_V_SERVER > Server Configuration > Website Options > PHP script execution mode

 

 

please let me know your experience

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.