Uncategorized

Virtualmin 500 internal sevrer error

Fix this issue in 6 easy steps

  1. Login to SSH.
  2. Type cd /etc/apache2/mods-enabled and press enter.
  3. Type sudo nano fcgid.conf and press enter.
  4. Find the line with FcgidConnectTimeout 20 and change it to read FcgidConnectTimeout 120.
  5. Exit pico by doing CTRL+X or CMD+X, then press Y to save.
  6. Type: sudo service apache2 restart and press enter.

If you continue to get the problem then you can increase the 120 to a higher number.

TIP: Use Pingdom (it’s free) to notify you when the website is not accessible.

Server-wide solution:

  1. Connect to the server using SSH.
  2. Open the /etc/apache2/mods-enabled/fcgid.conffile (on Debian/Ubuntu) or the /etc/httpd/conf.d/fcgid.conf file (on RedHat/CentOS/CloudLinux), edit it with text editor and increase “FcgidIdleTimeout” and “FcgidProcessLifeTime” parameters to “300” or more:FcgidIdleTimeout 300
    FcgidProcessLifeTime 300
  3. Reload Apache service configuration:On RedHat/CentOS/CloudLinux systems:# service httpd reloadOn Debian/Ubuntu systems:# service apache2 reload
  4. If it does not help, increase the value of both parameters to higher values and reload Apache service configuration.

IMPORTANT

In VirtualMin all this changes can be make from interface.

Similar Posts