Symptoms

Webalizer Default page is displayed instead of the web statistics of a particular Apache website.

Cause

The issue may be caused by an missing entry for the domain in logparser configuration file /usr/local/pem/etc/logparser/config.xml, also the file might be corrupted.

Resolution

  1. Find out the service ID of logparser for the host is question under the Infrastructure > Services.
  2. Run an internal pem.syncServiceConfiguration OpenAPi call:

    <?xml version='1.0'?><methodCall>
    <methodName>pem.syncServiceConfiguration</methodName>
    <params>
    <param>
    <value>
    <struct>
    <member>
    <name>service_id</name>
    <value><i4>97</i4></value> ##Put the respective Service ID here
    </member>
    </struct>
    </value>
    </param>
    </params>
    </methodCall>
    
  3. Put the appropiate values in the command and execute:

    webalizer -p -N 5 -o /usr/local/pem/vhosts/<webspace ID>/webspace/webstat -n <hostname> -c /usr/local/pem/vhosts/<webspace ID>/webspace/conf/webalizer.conf /usr/local/pem/vhosts/<webspace ID>/log/access_log
    

to regenerate missing statistics right away.

Internal content