Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jan 2003
    Posts
    8

    Default 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!
    Last edited by ttremeth; 02-23-2003 at 07:42 PM.

  2. #2
    FWC
    FWC is offline
    Member
    Join Date
    May 2002
    Location
    Ontario, Canada
    Posts
    354

    Default

    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. #3
    Member
    Join Date
    Jan 2003
    Posts
    8

    Default right?

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

  4. #4
    FWC
    FWC is offline
    Member
    Join Date
    May 2002
    Location
    Ontario, Canada
    Posts
    354

    Default

    It usually does. I've only had one case where it didn't. That's why I know how to fix it.

  5. #5
    cPanel Test Bitch
    Join Date
    Feb 2002
    Location
    Boston MA
    Posts
    596

    Default

    Sometimes the files become owned by root and therefore they don't work. You have to chown them as stated.

  6. #6
    Member
    Join Date
    Jan 2003
    Posts
    8

    Default 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. #7
    cPanel Test Bitch
    Join Date
    Feb 2002
    Location
    Boston MA
    Posts
    596

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Replies: 6
    Last Post: 06-04-2007, 07:00 PM
  2. Counter Issue
    By shann in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-22-2005, 01:47 PM
  3. Cpanel Counter
    By genesis2 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-26-2005, 06:19 PM
  4. cpanel counter
    By webbhost in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-10-2004, 03:47 AM
  5. cpanel counter
    By chas in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-03-2003, 06:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube