Webalizer is scheduled to run daily at 4.02 A.M. You can override the cron schedule to generate reports as and when you need them.
To run Webalizer manually, follow the steps below.
ssh <
server_name>
For example, if you have a server by the host name, example, then type, ssh example
telnet <
Server_name>
su
/usr/sbin/chroot /home/virtual/<
site name>
where /usr/sbin/chroot
is the command to change your working directory to the home directory of the site
/home/virtual/<
site name>
is the absolute path to the site's home directory
Important: When you use this command, you must leave a space between the command /usr/sbin/chroot
and the directory path /home/virtual/<
site name>
,
otherwise it will result in an error.
/usr/bin/webalizer -c /etc/webalizer/web/webalizer.conf
where: /usr/bin/webalizer
is the command to run Webalizer
-c
indicates the configuration file to be used
/etc/webalizer/web/webalizer.conf
is the absolute path to the Webalizer configuration file
If successful, Webalizer generates the reports in the respective output directories.
/var/www/html/webalizer/web
/var/www/html/webalizer/ftp
To view the reports, log into the site and in the shortcuts section of the Home page , click on Webalizer reports (Reports section).