better diagnostics for issues with cgi script permission bits

Phillip M. Feldman

Registered
Jan 10, 2016
3
0
1
USA
cPanel Access Level
Website Owner
It is currently difficult to diagnose the situation where a cgi script fails to execute because permission bits have been set incorrectly. It would be very helpful if the cPanel error log provided a specific message when this situation occurs.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Could you provide a specific example or log snippet that you are having trouble diagnosing? Could you verify if you have root access to the system?

Thank you.
 

Phillip M. Feldman

Registered
Jan 10, 2016
3
0
1
USA
cPanel Access Level
Website Owner
Hello :)

Could you provide a specific example or log snippet that you are having trouble diagnosing? Could you verify if you have root access to the system?

Thank you.
I don't have root access. I've been able to recreate this problem. The log message looks different from what I remember seeing previously, but is equally opaque:

Code:
[Sun Jan 17 20:43:40.964082 2016] [cgi:error] [pid 20922:tid 139705984575232] [client 70.185.181.109:62414] AH01215: suexec policy violation: see suexec log for more details: /home/philli27/public_html/cgi-bin/test.py, referer: example.com/English/test.html
I suspect that I can't look at the suexec log without root access.

Phillip
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
The error message you are referring to stems from Apache as opposed to cPanel. The cPanel interface is simply showing you what's output to the Apache error log for your account. You could consult with your hosting provider to determine if a change in the Apache log configuration is beneficial.

Thank you.