Running Webalizer
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.
Log on to the server using the Telnet or SSH remote login service.
If you are using the SSH service, enter the following at the command prompt.
ssh <server_name>
For example, if you have a server by the host name, example, then type, ssh example
If you are using Telnet, enter the following:
telnet <Server_name>
To assume root privileges for the site, using the following command.
su
Change your working directory to the home directory of the site using the following command.
/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.
Run Webalizer by entering the following at the command prompt.
/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.
The output directory for the Web server report is:
/var/www/html/webalizer/web
The output directory for the FTP server report is:
/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).