Webalizer not able to show IP locations

logixwebsol

New member
Joined
May 19, 2026
Messages
8
Hello Everyone

I have install the directpanel and Webalizer not showing the IP address and locations.
Please help me to solve it.

1779193728539.png


Thanks
 
Is that still up to date? If yes, then it's incomplete, it states:
Also you need to set the proper permissions/ownerships for that file:

chown root:root /var/lib/webalizer
chmod 1777 /var/lib/webalizer

But this directory does not even exists so needs to be created first in that case.
 
enable reverse IP lookups in webalizer.conf

As this documentations says none of the things match. It old or useless documentation.


Is that still up to date? If yes, then it's incomplete, it states:


But this directory does not even exists so needs to be created first in that case.
This also not worked.


None of the thing or solution matches.
Please suggest any other solution.

1779281043908.png



1779281079422.png
 
None of the thing or solution matches.
As I said, you have to create the directory /var/lib/webalizer as it does not exist.
You clearly did not do that first, hence the error notice you display in the last screenshot.

So first create the /var/lib/webalizer directory and after that use the chmod command.
 
[root@server lib]# mkdir webalizer
[root@server lib]# chown root:root /var/lib/webalizer
[root@server lib]# chmod 1777 /var/lib/webalizer
[root@server lib]#
[root@server lib]#


I've create a directory and then apply these permissions and still IP locations not showing.
 
Yes I was already afraid of that. I presume you restarted apache too?

It's the reason I wondered if documentation was still up to date. Maybe @zEitEr knows or can ask to update the docs or remove it from docs if it does not work anymore.

From "/etc/webalizer.conf.sample":

Code:
# The GeoIP option enables or disables the use of geolocation
# services provided by the GeoIP library (http://www.maxmind.com),
# if available.  Values may be 'yes' or 'no, with 'no' being the
# default.  Note: if GeoDB is enabled, then this option will have
# no effect (GeoDB will be used regardless of this setting).

#GeoIP          no

From https://docs.directadmin.com/direct...html#how-to-customize-the-output-of-webalizer

DirectAdmin uses the default webalizer settings by not specifying a webalizer.conf file at all. If you want to adjust the settings for webalizer, you can create your own basic webalizer.conf file for DA to use. This file must be domain-independent because this one file will be used for all domains without any modifications to it.
 
In short, I have to

cp /etc/webalizer.conf.sample /etc/webalizer.conf

then enable
GeoIP yes

Or what next I have to do ?
 
No. Read the directadmin guide page on how to customize Webalizer and make it to use webalizer.conf, or hire somebody to do it for you.

Ahahahaha

Means your documentation is not correct. If a developer unable to understand it.
Second, I tried the same documentation dozens of times but it not worked.

I used it on lot of servers, It worked perfectly.
Here I not know, Why you make binaries of all things and then change a configuration and re-compile the things.

Honestly, You try to enable these settings on your side and share the screenshot to me.
I hope you also can't do it.
 
Last edited:
Means your documentation is not correct. If a developer unable to understand it.

Good to see you laughing. I don't work for DirectAdmin and don't write documentations for their site. But I found information on how to use custom webalizer.conf there.

I don't know why it does not work on your side and have no guide for your case either. I don't use Webalizer for my own needs, and if you want me to investigate and fix your issue, you will be charged hourly rate. Of course if I have time to do it for you.
 
It's the reason I wondered if documentation was still up to date. Maybe @zEitEr knows or can ask to update the docs or remove it from docs if it does not work anymore.

@Richard G, thank you for tagging me here. I believe webalizer is abandonware, and no longer being developed. A GeoDB.dat file required for the software is missing on a server and no longer downloadable from the official site of the software. Webalizer does not like modern GeoIP.dat and GeoLite2-Country.mmdb files from geoip and geolite packages:

Code:
BDB0210 /usr/share/GeoDB/GeoDB.dat: metadata page checksum error

Code:
BDB0641 __db_meta_setup: /usr/share/GeoDB/GeoDB.dat: unexpected file type or format

So if you have webalizer working on any old server, you might try and copy the file GeoDB.dat to the new server and see whether or not it helps. Or it should be re-compiled with --with-geoip support.

Probably DirectAdmin developers can help more.
 
Maybe @zEitEr knows

Richard, I completed a custom installation of Webalizer with enable GeoIP support and it worked on my end. DirectAdmin does not support a custom webalizer.configure file, so it was a manual installation. Since that countries are detected fine.

You might request directadmin developers to add GeoIP support in Webalizer. I still prefer Awstats

2026-05-25_213523_poralix.png
 
Back
Top