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.

Counter Problems!

Discussion in 'General Discussion' started by ukhost, Jul 3, 2002.

  1. ukhost

    ukhost Well-Known Member

    Joined:
    Jan 8, 2002
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    Our clients are having problems with the counter script, they can generate the code for the counter but when they go to the page with the counter on the counter shows the following:

    &Could not write to counter file: /var/cpanel/Counters/USERNAME.dat&

    USERNAME being the actual username for that account! ;)

    Anyone know how to fix the problem?

    Kind Regards,

    Neil
    UK Web.Solutions Direct
     
  2. Craig

    Craig Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    171
    Likes Received:
    0
    Trophy Points:
    16
    & chown username.username USERNAME.dat&

    This will fix the counter problem. It seems, on our servers anyway that when the user creats a counter its chown'd under the resellers name. (is happning on our server anyway).

    7.2box, latest build, suexec.

    I'll post a bug rep.

    Craig.
     
  3. md201

    md201 Active Member

    Joined:
    Aug 13, 2001
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    same here, every we have to change owner of the file to user. do anyone know permanent fix of this problemo.


    but this gives us estimates how much people actually use counter ;)
     
  4. Mary B.

    Mary B. Member

    Joined:
    Jun 11, 2002
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    I'm having the same problem with the counters on my server. However, when I log into the server with Putty, and type /var/cpanel/Counters/username.dat , I get a Permission denied message, and can't go on to chown the file.

    I'm pretty sure I probably used the wrong syntax, but I don't know where to go to find the correct syntax for doing SSH commands. Can someone point me to a good resource for this?

    Thanks!

    Mary Boonenberg
    http://gmbwebworks.com
     
  5. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    To chown a file do

    chown USER.USER FILE

    Since you would most likely feel comfortable with a FTP based program. Go download SecureFX it allows you to FTP in as root. It is FTP over SSH.
     
Loading...

Share This Page