Search Engine: Elastic

Article ID: 1766, created on Mar 28, 2007, last review on May 11, 2014

  • Applies to:
  • Operations Automation


Customers cannot get Webalizer statistics twice a year.


Webalizer writes the current time shift from GMT to the webalizer.current file. When daylight saving time starts/ends, the time shift changes and Webalizer does not parse the log files properly.


Replace the old GMT shift with the new one in the webalizer.current config file. In order to perform this action for all currently hosted webspaces, execute the command below:

sed -i '2s/old_gmt_shift$/new_gmt_shift/' /usr/local/pem/vhosts/*/webspace/webstat/webalizer.current

For example, the old shift from GMT was 1 hour and the new one is 2 hours, so command should be as follows:

sed -i '2s/1$/2/' /usr/local/pem/vhosts/*/webspace/webstat/webalizer.current

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF