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.

Web Stats

Discussion in 'General Discussion' started by weide, Mar 19, 2004.

  1. weide

    weide Registered

    Joined:
    Mar 19, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi, I have the Web Stats such as Analog and Webalizer.

    For Analog, beside the report (.html) taking quite a number of space which can be deleted, how about cache, can it be deleted?

    For Webalizer, there are a lot of core.(no) files, for eg. core.16520.. taking how around 300 kb of spaces.. there are like around 40 such files.. is it advisable to delete?

    And is it possible to remove Webalizer and Analog from my CPanel? Im the end-user here.

    Thanks.
     
  2. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    weide,

    You can ask your webhosting company to disable the stats, but it can't be done by you.
     
  3. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    No, you can't disable it, but if your host allows cron jobs, you could set up a command to run every day after stats run through the cron config in cPanel that deletes your stat temp files.

    rm -rf /home/username/tmp


    Or just chmod 000 the tmp directory so the stats programs can't write to it. (they could change it back though) You can do that through the file manager or if you have shell access:

    chmod 000 /home/username/tmp
     
    #3 elleryjh, Mar 19, 2004
    Last edited: Mar 19, 2004
  4. weide

    weide Registered

    Joined:
    Mar 19, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    so i can't delete the core files too that are taking around 10mb of space?
     
  5. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    I don't see why not.
     
  6. RandyO

    RandyO Well-Known Member

    Joined:
    Jun 17, 2003
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    16
    Do a search on core files, there is a thread with a couple files I uploaded to automatically find and remove these. I never tried them as a regular user however.

    The core files (core dumps) are because Webalizer or stats crashed. If you have them there are others most likely on the server with the same. Better keep an eye on that problem. Just delete the things
     
  7. magin

    magin Well-Known Member

    Joined:
    Sep 3, 2003
    Messages:
    45
    Likes Received:
    1
    Trophy Points:
    6
    i got an redhat 9, cpanel , waht its the default permissions for tmp directory??

    thanks
     
Loading...

Share This Page