Running Webalizer

Webalizer is a cron that runs daily at 4.02 AM. But 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 into the WEBppliance server using the Telnet or SSH remote login service.

  • If you are using the SSH service, type the following at the command prompt.

ssh <WEBppliance_name>
 

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

  • If you are using Telnet, type the following:

telnet mywebppliance

  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

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

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

Related Topics  

!almost free webhosting, super sized account great features Sitemap 9 1 4 6 7