How to update webalizer statistics manually for one domain ( Hsphere )

Posted: September 25, 2009 in Hs-phere

If you need update the webalizer statistics manually for one domain you can run the following command:

LINUX  SERVER

/hsphere/shared/bin/sudo -u USERNAME /bin/sh -c “/hsphere/shared/bin/webalizer -p -Q -N 20 -D /var/log/dns_cache.db -r DOMAIN.COM -n DOMAIN.COM -o /hsphere/local/home/USERNAME/DOMAIN.COM/webalizer/ /hsphere/local/home/USERNAME/logs/DOMAIN.COM/DOMAIN.COM.LOGFILE.XXXXXXX”

WINDOWS SERVER

In order to do this:

1.Copy webalizer folder to another folder or disc(copy C:\webaliser to d:\webalizer, or to c:\webalizer2 )

2.Edit file hostlists.txt , leave a strings only with needful domains, save file. 3.In cmd window run webalizer.exe from new location

(cmd: c:\webalizer2>webalizer.exe or d:\webalizer>webalizer.exe)

So you can observe process, terminal session must be opened till the webalizer finished working.

LINsider

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s