Running Webalizer
Webalizer is scheduled to run daily at 4.02 AM. You can override this schedule to generate reports as and when you need to generate them.
To run Webalizer manually, follow these steps.
Log on to the server using the Telnet or SSH remote login service.
If you are using the SSH service, type 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, type 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 the Webalizer, by typing 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 Web server reports is:
/var/www/html/webalizer/web
The output directory for FTP server reports 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).