error: scgiwrap: Caller must be the nobody user

After running easyapache and all cgi’s scripts failed.

Fix

check to see if you have suexec enabled, if so, disable it, then check your scripts. If they start working after you disable suexec, then that’s the problem.

if you have suexec enable and wish to used it, you need to make sure each virtual host in the http.conf has a User and Group assigned, and the scripts are in folder chmoded 0755 like the /cgi-bin and the scripts are chmoded 0755. If you disable suexec this eliminates the need for these settings, but then your running your cgi scripts as “nobody”… which is not very secure, or you can utilize the cgiwrapper within the cpanel, creating a /scgi-bin folder which acts similar to using suexec.

Leave a comment