The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

500 error traced to SuExec uid/gid any ideas

Discussion in 'General Discussion' started by j0hnb, Aug 16, 2008.

  1. j0hnb

    j0hnb Member

    Joined:
    May 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    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)
    
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    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
     
  3. nerbonne

    nerbonne Well-Known Member

    Joined:
    Aug 19, 2007
    Messages:
    52
    Likes Received:
    1
    Trophy Points:
    6
    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.
     
Loading...

Share This Page