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.

Updating Webalizer Manually

Discussion in 'General Discussion' started by bmcpanel, May 22, 2006.

  1. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    Is their a way to update Webalizer stats for a single domain on the Cpanel server?

    thanks.
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    cd /home/USER/tmp/webalizer/
    /usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/USER_DOMAIN -n USER_DOMAIN
     
  3. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    Thanks. I'll give that a go.
     
  4. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    Thanks. Worked perfectly.
     
  5. helpline

    helpline Guest

    But it deletes old stats :-(

    How can update stats preserving old stats.
     
  6. helpline

    helpline Guest

    I managed to make it work preserving old stats.

    Below are set of commands:

    cd /home/USER/tmp/
    cp -af webalizer webalizer.old
    cp -af webalizerftp webalizerftp.old
    cd webalizer
    /usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/domainname -n domainname
     
  7. itzmiko

    itzmiko Registered

    Joined:
    May 3, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    use the -p option with the webalizer script to preserve older data.

    Usage: ./webalizer [options] [log file]
    -h = print this help message
    -v -V = print version information
    -d = print additional debug info
    -F type = Log type. type= (clf | ftp | squid)
    -f = Fold sequence errors
    -i = ignore history file
    -p = preserve state (incremental)
    -q = supress informational messages
    -Q = supress _ALL_ messages
    -Y = supress country graph
    -G = supress hourly graph
    -H = supress hourly stats
    -L = supress color coded graph legends
    -l num = use num background lines on graph
    -m num = Visit timout value (seconds)
    -T = print timing information
    -c file = use configuration file 'file'
    -n name = hostname to use
    -o dir = output directory to use
    -t name = report title 'name'
    -a name = hide user agent 'name'
    -r name = hide referrer 'name'
    -s name = hide site 'name'
    -u name = hide URL 'name'
    -x name = Use filename extension 'name'
    -P name = Page type extension 'name'
    -I name = Index alias 'name'
    -A num = Display num top agents
    -C num = Display num top countries
    -R num = Display num top referrers
    -S num = Display num top sites
    -U num = Display num top URLs
    -e num = Display num top Entry Pages
    -E num = Display num top Exit Pages
    -g num = Group Domains to 'num' levels
    -X = Hide individual sites
    -D name = Use DNS Cache file 'name'
    -N num = Number of DNS processes (0=disable)
     
    #7 itzmiko, Apr 30, 2009
    Last edited: Apr 30, 2009
Loading...

Share This Page