Proxmox recently discontinued 3.x, forcing me to migrate over to 4.x.
Long story short, after converting the OpenVZ cPanel VM to LXC and re-configuring it, I booted it and all of my sites returned error 500.
I looked at the apache logs and found errors like:
[Tue Apr 18 04:12:11.207619 2017] [cgid:error] [pid 5454:tid <tid>] [client <myip>:59504] End of script output before headers: redirect.cgi
This error is one of the remaining errors I have, when you try to go to domain/cpanel or domain/whm. I fixed the sites by checking:
/usr/local/cpanel/bin/rebuild_phpconf --current
which reported all (except the default) PHP were using suphp instead of cgi.
When I switched the default php to suphp, sites worked, but the redirection still does not.
I believe something happened that is blocking cgi. Any ideas?
Long story short, after converting the OpenVZ cPanel VM to LXC and re-configuring it, I booted it and all of my sites returned error 500.
I looked at the apache logs and found errors like:
[Tue Apr 18 04:12:11.207619 2017] [cgid:error] [pid 5454:tid <tid>] [client <myip>:59504] End of script output before headers: redirect.cgi
This error is one of the remaining errors I have, when you try to go to domain/cpanel or domain/whm. I fixed the sites by checking:
/usr/local/cpanel/bin/rebuild_phpconf --current
which reported all (except the default) PHP were using suphp instead of cgi.
When I switched the default php to suphp, sites worked, but the redirection still does not.
I believe something happened that is blocking cgi. Any ideas?