500 error traced to SuExec uid/gid any ideas

j0hnb

Member
May 17, 2004
24
0
151
I'm getting a 500 error on one of my sites, I traced it to a uid/gid error logged in SuExec. But i've run through the forum and attempted a few different things all with no luck. Any suggestions?

Code:
error: target uid/gid (32003/32005) mismatch with directory (0/0) or program (0/0) or trusted user (0/10)
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
833
28
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
This happened to me before a long time ago but I don't remember how to fix it. For starters, make sure all your PHP files are owned by their respective cPanel users (/scripts/chownpublichtmls).

Also check /opt/suphp/etc/suphp.conf and make sure that:

-chroot section is commented
-webserver_user is nobody
 

nerbonne

Well-Known Member
Aug 19, 2007
52
1
58
That error means that the directories/files you are trying to access thru a web user are owned by root.

Use:

chmod -R user:grp files

to correct.