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.

Count.cgi Broken since Update

Discussion in 'General Discussion' started by wilfried, Jun 7, 2004.

  1. wilfried

    wilfried Active Member

    Joined:
    Aug 23, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    After the latest RELEASE update my counters are showing "broken" image instead of the counter.

    I also get a 500 error if I type the counter URL directly...

    Any idea what could be wrong?

    Thanks
     
  2. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    Can't replicate this. check permissions and ownership.
     
  3. richy

    richy Well-Known Member

    Joined:
    Jun 30, 2003
    Messages:
    276
    Likes Received:
    1
    Trophy Points:
    16
    Replicated on WHM 9.3.0 cPanel 9.3.0-C103 / RedHat 9 - WHM X v3.1.0.

    Just produces a 500 Internal Server Error, but no actual entry in the error log.

    Fixed in WHM 9.4.0 cPanel 9.4.0-C12 / RedHat 9 - WHM X v3.1.0 (same server)
     
  4. dxer

    dxer Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    295
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Europe
    Iam on 9.4.0. R 21 and counter, clock and date script is not working. I have broken image too

    How to fix this ?
     
  5. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    The problem with this Count.cgi is never ending. The problem is the permission on that script get changed and i dont know whats doing it. Every so often i have to check the perms on this file to find they have changed. When that happens the script fails. Go to

    /usr/local/cpanel/cgi-sys and chmod 755 Count.cgi. Check all the other .cgi's in this directory and make sure they are all owned by root.wheel and 755. I have to keep going back to this directory weekly to chmod 755 the files again. Crazy!
     
  6. dxer

    dxer Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    295
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Europe
    how to change persmission ?
    iam sending command chmod 755 Count.cgi but respond is "chmod: changing permissions of `Count.cgi': Operation not permitted"

    Iam logging as root. How to make sure that scripts are owned by root ?
     
  7. JC

    JC Well-Known Member

    Joined:
    Nov 6, 2002
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    If you get that error when you chmod the file then try chattr -i Count.cgi first ;)
     
Loading...

Share This Page