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.

suexec mismatch

Discussion in 'General Discussion' started by acer2k, Jul 9, 2002.

Thread Status:
Not open for further replies.
  1. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    [2002-07-08 17:25:10]: info: (target/actual) uid: (evegate/evegate) gid: (evegate/evegate) cmd: sniffer.cgi
    [2002-07-08 17:25:10]: error: target uid/gid (32005/508) mismatch with directory (32005/508) or program (32005/507) or trusted user (0/10)


    Please help!
     
  2. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    PROBLEM :P

    [2002-07-08 17:25:10]: info: (target/actual) uid: (evegate/evegate) gid: (evegate/evegate) cmd: sniffer.cgi
    [2002-07-08 17:25:10]: error: target uid/gid (32005/508) mismatch with directory (32005/508) or program (32005/507) or trusted user (0/10)


    Please help!
     
  3. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    OK we'll probably need some more detail here.........
    As in , what caused this?
    What changed recently on your box?

    What file is this a snippet of?

    Why is this related to cpanel support?
    :p
     
  4. shannon

    shannon Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    oh oh oh! I know I know!

    It's a clipping from a suexec_log file! the program isn't owned by the userID that suexec is trying to run it as.

    Or something.

    I know I've seen something very similar before, I'd check the permissions on this 'sniffer.cgi' file.
     
  5. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    This problem started as soon as I installed a Cpanel Apache upgrade.
     
  6. Djelibeybi

    Djelibeybi Well-Known Member

    Joined:
    Mar 19, 2002
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    In the /scripts directory:

    ./fixsuexeccgiscripts

    To get a CGI (Perl) script to work correctly under SuExec:

    The directory in which the file is stored must be owned by the web process (user account) and chmod 755.

    The file itself must *also* be owned by the user account and chmod 755.

    I've had problems copying files as root and not chowning them.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page