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 and /cgi-sys/Count.cgi problems (Freebsd)

Discussion in 'General Discussion' started by hatch, Apr 9, 2004.

  1. hatch

    hatch Registered

    Joined:
    Apr 30, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I'm running cpanel on FreeBSD 4.9 and i'm having problems getting the counter (cpanel->scripts->counter) working.

    Suexec is enabled and when users run cgi scripts from /home/user/www/cgi-bin everything works fine.

    But when the try to use the counter all they see is a broken image, (error 500 in the apache error log).

    The suexec.log looks like this:

    [2004-04-09 14:38:07]: info: (target/actual) uid: (virtuser/virtuser) gid: virtuser/virtuser) cmd: Count.cgi
    [2004-04-09 14:38:07]: error: target uid/gid (1103/1105) mismatch with directory (0/0) or program (0/0) or trusted user (0/10)

    /usr/local/cpanel/cgi-sys/Count.cgi has the following permissions:
    -rwxr-xr-x 1 root wheel 198767 16 Mar 10:51 Count.cgi

    This is exactly the same setup that i've successfully used on a redhat machine also running cpanel.

    I'm aware that for suexec to work the cgi script must be owned by the user executing the script, but how is this supposed to work with the cgi-sys directory?

    Any help would be greatly appreciated.


    Best Regards

    Kim Andersen
     
  2. iwebserv

    iwebserv Member

    Joined:
    May 14, 2004
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I am having the same counter problems, but on redhat 9 server. running the latest current version of cpanel 9.3.0
     
  3. wilfried

    wilfried Active Member

    Joined:
    Aug 23, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Same thing here...
    Counter images are a broken link...
    i am on the latest RELEASE ans rh9....
    All counters on all sites are broken
     
  4. Compila

    Compila Member
    PartnerNOC

    Joined:
    May 8, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Did anyone get a resolution to this? Be very grateful if someone could post it up here, as we have exactly the same problem, except we are running Redhat.

    Thanks for your time.
     
  5. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    Ha. Harvey I read your same post trying to solve your problem with it. :)

    Still working on it.
     
Loading...

Share This Page