Webalizer not showing country names (unknown/unresolved) - JaguarPC Webalizer not showing country names (unknown/unresolved) - JaguarPC

Webalizer not showing country names (unknown/unresolved)

| Published: | Updated:

Share With

Step 1)

Edit the /etc/resolv.conf file
Check if the IP addresses for nameservers are as follows.
nameserver 127.0.0.1
nameserver 192.168.1.1
nameserver 192.168.1.2

If not please change it. Webalizer checks resolve.conf file before generating the webstats.

Step 2)

Go to the path /usr/local/cpanel/src/3rdparty/gpl/webalizer-2.01-10
Then run the following command
./configure –enable-dns –with-dblib=/lib

Step 3)

Then run /scripts/runweblogs to see if the changes are updated.

You need to make one change to your httpd.conf file in the /etc/httpd/conf directory. (It is advised that you make a backup of the file BEFORE making any changes.)

Edit the file, look for HostnameLookups and change the value to On. Save the file and restart the web server i.e.
/etc/rc.d/init.d/httpd restart

Share With

Leave a Reply

Your email address will not be published. Required fields are marked *

Share On Facebook
add_action('wp_footer', 'add_custom_tracking_script');