Hi
I have configured my openlitespeed server version 1.4.39 with GeoIP legacy city database. (GeoIPCity.dat) This works fine.
Maxmind (distributor of GeoIP database) will end support for legacy datbases on Jan/2 2019.
I have tested the new GeoIP-2 database format from maxmind. I have found a kb article: https://openlitespeed.org/kb/geolocation-on-openlitespeed-for-geolite2/
But the new file is not working.
Following error messages are in the log file:
2018-11-01 09:22:55.749646NOTICE[Child: 17735] LiteSpeed/1.4.39 Open starts successfully!
2018-11-01 09:22:55.782175ERROR[GEO] No environment variables were added but files were set
2018-11-01 09:22:55.782229ERROR[GEO] Error setting default ENV
2018-11-01 09:22:55.834428ERROR[GEO] No open GeoIP2 databases. Must be specified in config file
2018-11-01 09:22:55.855193ERROR[GEO] No open GeoIP2 databases. Must be specified in config file
2018-11-01 09:22:56.243485ERROR[GEO] No open GeoIP2 databases. Must be specified in config file
2018-11-01 09:22:56.500140NOTICE[Child: 13988] Shut down successfully!
Database is the cuttent City database - downloaded from https://dev.maxmind.com/geoip/geoip2/geolite2/#Databases
Thanks for help,
Othmar
I have configured my openlitespeed server version 1.4.39 with GeoIP legacy city database. (GeoIPCity.dat) This works fine.
Maxmind (distributor of GeoIP database) will end support for legacy datbases on Jan/2 2019.
I have tested the new GeoIP-2 database format from maxmind. I have found a kb article: https://openlitespeed.org/kb/geolocation-on-openlitespeed-for-geolite2/
But the new file is not working.
Following error messages are in the log file:
2018-11-01 09:22:55.749646NOTICE[Child: 17735] LiteSpeed/1.4.39 Open starts successfully!
2018-11-01 09:22:55.782175ERROR[GEO] No environment variables were added but files were set
2018-11-01 09:22:55.782229ERROR[GEO] Error setting default ENV
2018-11-01 09:22:55.834428ERROR[GEO] No open GeoIP2 databases. Must be specified in config file
2018-11-01 09:22:55.855193ERROR[GEO] No open GeoIP2 databases. Must be specified in config file
2018-11-01 09:22:56.243485ERROR[GEO] No open GeoIP2 databases. Must be specified in config file
2018-11-01 09:22:56.500140NOTICE[Child: 13988] Shut down successfully!
Database is the cuttent City database - downloaded from https://dev.maxmind.com/geoip/geoip2/geolite2/#Databases
Thanks for help,
Othmar