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.

Help me recreate a working log file!

Discussion in 'General Discussion' started by knipper, May 29, 2005.

  1. knipper

    knipper Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Hey all,

    I had a domain I'd been using for testing for a long time (almost a year). I finally am getting ready to actually use the domain and go live. So, I wanted clean logs of actual valid traffic.

    Via Shell I deleted
    /etc/httpd/domlogs/mydomain.com and /etc/httpd/domlogs/mydomain.com-com-bytes_log

    I then recreated the files, and chown'd /etc/httpd/domlogs/mydomain.com back to the domain.

    Unfortunately site visits are not getting logged now. Can someone let me know what I did wrong, and help me get my stats rolling again!

    Thanks in adavance.
     
  2. cPanelBilly

    cPanelBilly Guest

    restart apache.
     
  3. knipper

    knipper Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Had to restart apache!

    Sorry folks... All I needed to do was restart apache!

    hahahaaha... Looks like we were typing at the same time! Hey Billy... Will that clean all the "old" data as well that is kep in awstats, webalizer, etc. as well... or how can I clean all those programs as well to start fresh?
     
    #3 knipper, May 29, 2005
    Last edited: May 29, 2005
  4. cPanelBilly

    cPanelBilly Guest

    no it wont, you will need to delete
    /home/<username>/tmp/webalizer
    replace <username> with the account username and webalizer with the stats program you want to reset.
     
Loading...

Share This Page