Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cleaning up after turning off analog and webalizer

Discussion in 'General Discussion' started by spaceman, Dec 21, 2003.

  1. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    497
    Likes Received:
    3
    Trophy Points:
    318
    Hi All,

    Via WHM I've just turned off analog and webalizer in favour of awstats.

    I know want to free up all the space used by analog and webalizer. Is this a case of visiting each account one by one and deleting the following directories:

    /tmp/analog
    /tmp/webalizer
    /tmp/webalizerftp

    ... or perhaps there is a script I can run that will perform the cleanup for me across all accounts?

    (of course, in a perfect world, in WHM when I select to disable these packages it would be great to have the option to delete all related files at the same time!)

    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    Don't need a script to delete all of them. In shell just do:

    rm -Rf /home/*/tmp/analog
    rm -Rf /home/*/tmp/webalizer
    rm -Rf /home/*/tmp/webalizerftp


    I see no reason why they can't be deleted in full if they aren't being used anymore.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    497
    Likes Received:
    3
    Trophy Points:
    318
    Doh! Now why didn't I think of that? :)

    I'm assuming of course that

    a) it is indeed 100% 'safe' to remove these directories now that I've turned these packages off.
    b) there are no other files or directories of significance that I should also be removing.

    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice