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.

Anyone know why the cPanel page counter would quit working?

Discussion in 'General Discussion' started by jols, Feb 12, 2006.

  1. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Suddenly one of our hosted customers is getting this error on their page where the counter used to display:

    Counter datafile "/var/cpanel/Counters/their-id.dat" must be created in cPanel first!

    But they DID create this thing in cPanel.

    Anyone?
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Login to server as root and execute below commands :-

    cd /var/cpanel/Counters/
    touch their-id.dat
    chown their-id.their-id their-id.dat

    Try it.
     
  3. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Thanks, I just now discovered what was wrong. We had moved this account to a different cPanel server, forwarding the local DNS record to the IP of the new server, and this apparently "crossed the wires" of the counter. I only needed to access the cPanel for this account on the new server and reset the count. For some reason, that did the trick.

    Thanks again for your post.
     
Loading...

Share This Page