Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: jerrys on November 25, 2017, 08:26:49 pm

Title: Unable to execute CGI scripts under a domain
Post by: jerrys on November 25, 2017, 08:26:49 pm
Error seen:
----------------
tailf /var/log/httpd/suexec_log
SoftException in Application.cpp:146: Mismatch between target owner username (10002) and UID (510) of file "/home/username/public_html/test.cgi"


Reason:
------------
Mismatch between the owner and group status of the cgi file.

Resolution: Change the ownership and group of the cgi-bin directory along with all the files under the directory of the domain’s document root as per the error seen
In this case the command is:
chown -R 10002:505 cgi-bin