mod_fcgid: error reading data from FastCGI server
This error occured when I moved virtual instances from from virtualmin to a new server in error logs of the virtual site
[fcgid:warn] [pid 19255] (104)Connection reset by peer: [client ip:41799] mod_fcgid: error reading data from FastCGI server
[core:error] [pid 19255] [client ip: 41799]End of script output before headers: index.php
quick fixWebmin > servers > apache web server > choose the server with the problem > users and groups > and than "Run CGI programs as -User from global configuration-" and save.
explanationThis always happen after restore backup from other server... that have different uids
Check Webmin > servers > apache web server > choose the server with the problem > users and groups
See if the user number (UID) and Group number (GID) are correct .
To check it, login by ssh and do this command: idref: https://www.virtualmin.com/node/25539