If an account is suspended, the domains are redirected to http://domain.com/cgi-sys/suspendedpage.cgi. If this URL generates Internal Server Error, then the fix is:
chgrp wheel /usr/local/cpanel/cgi-sys/suspendedpage.cgi
chattr +i /usr/local/cpanel/cgi-sys/suspendedpage.cgi
Its a temporary fix. Seems cPanel updates revert the ownership back to root.root and the error reappears.
Also sometime you will get a error like,
ReplyDeleteAH01215: suexec policy violation: see suexec log for more details: /usr/local/cpanel/cgi-sys/suspendedpage.cgi
Then check the suexec logs
tail -f /usr/local/apache/logs/suexec_log
You probably will see logs like,
[2015-12-28 09:01:52]: uid: (2529/wwadistr) gid: (2528/wwadistr) cmd: suspendedpage.cgi
[2015-12-28 09:01:53]: uid: (2529/wwadistr) gid: (2528/wwadistr) cmd: suspendedpage.cgi
[2015-12-28 09:01:52]: uid: (2529/wwadistr) gid: (2528/wwadistr) cmd: suspendedpage.cgi
[2015-12-28 09:01:53]: uid: (2529/wwadistr) gid: (2528/wwadistr) cmd: suspendedpage.cgi
Then check for the /etc/passwd with that UID
grep 2529 /etc/passwd
If it's listed then run /scripts/rebuildhttpdconf to fix the misconfiguration in Apache configuration.
Should be fixed by rebuilding apache configuration