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.

cpanel counter issue

Discussion in 'General Discussion' started by ttremeth, Feb 23, 2003.

  1. ttremeth

    ttremeth Member

    Joined:
    Jan 30, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cpanel counter install issue

    could not write to counter file: /var/cpanel/counters/"user".dat"

    Any one know why this happens. This is not the first instance.

    Thanks!
     
    #1 ttremeth, Feb 23, 2003
    Last edited: Feb 23, 2003
  2. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    Check the ownership of the file. You may need to chown it to to the user's name if it's not owned by them.
     
  3. ttremeth

    ttremeth Member

    Joined:
    Jan 30, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    right?

    right?
    Thanks but shouldn't cpanel have done this already? Appreciated
     
  4. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    It usually does. I've only had one case where it didn't. That's why I know how to fix it.
     
  5. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    Sometimes the files become owned by root and therefore they don't work. You have to chown them as stated.
     
  6. ttremeth

    ttremeth Member

    Joined:
    Jan 30, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Thanks

    This is the second one in as many attempts. As far a chown you mean change permission manually I assume? You are speaking to someone who relies on cpanel for everything.
     
  7. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    Via ssh do the following command but be sure to replace it with the correct info.

    chown USERNAME.USERNAME /var/cpanel/Counters/COUNTERNAME

    Now that will give them ownership of the file. Be sure to replace the CAPS with thr correct info.
     
Loading...

Share This Page