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.

  1. Log on to the server using the Telnet or SSH remote login service.

ssh <server_name>
 

For example, if you have a server by the host name, example, then type, ssh example

telnet <Server_name>

  1. To assume root privileges for the site, using the following command.

su

  1. 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

  1. 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.

/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).