Webalizer commands
The following commands for for fixing the webalizer stats under Hsphere:
*************************************************************
Webalizer for windows
==================
Following are the steps to be followed when webalizer not working for windows :
1)In the IIS , select the domain name for which webalizer is not working.
2)Goto properties and change the log format to NCSA “Combined log format”
3)Goto the corresponding log folder of the domain in the ” hslogfiles ” folder
and delete all the previous log files that were generated.
visit the site twice, a new log file will be generated.
4)Now on the command line , change directory to c://webalizer
at c://webalizer > , fire the following command ,
webalizer -n domainame -o E://hshome/username/domainname/webalizer E://hslogfiles/logfile name
* -n — domainanme for which webalizer is not working.
* -o — path to the directory where the webalizer output should be generated
* name of the log file which should be used to generate the website statistics.
It is the name of the file generated in step 3
Webalizer not working for unix plans.
==========================
Fire the following command on the shell prompt.
/hsphere/shared/bin/webalizer -n domainname -o hsphere/local/home/username/domainname/webalizer
/hsphere/local/home/username/logs/domain/name of the most recent log file
If the stats of current month are not getting generated,
1)open the file /hsphere/shared/apache/conf/rotatelog.cfg and
add the entry for the domain for which stats are not geting generated for the current month.
2)Restart Apache
3)Visit the site twice, a new log file of the current month will get generated.
4)Fire the following command on shell,
/hsphere/shared/bin/webalizer -n domainname -o hsphere/local/home/username/domainname/webalizer
/hsphere/local/home/username/logs/domain/name of the most recent log file.
*************************************************************

Leave a Reply
You must be logged in to post a comment.