Raised This Month: $51 Target: $400
 12% 

GeoLiteCity.dat NOT FOUND problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HiDeath
Senior Member
Join Date: Aug 2018
Location: Tunisia
Old 05-20-2019 , 16:57   GeoLiteCity.dat NOT FOUND problem
Reply With Quote #1

Hi there ,

i have installed HLstatsx properly using the guide , with the required perl modules , database , etc ...

i still got an error , all players locations are set to unknown

i get this error from daemon logs :
Code:
ERROR: GeoIP method set to binary file lookup but .//GeoLiteCity/GeoLiteCity.dat NOT FOUND
Any help would be appreciated , thanks in advance

Last edited by HiDeath; 05-20-2019 at 17:00.
HiDeath is offline
Natan
BANNED
Join Date: Aug 2015
Location: Usa
Old 05-20-2019 , 20:31   Re: GeoLiteCity.dat NOT FOUND problem
Reply With Quote #2

Hello...

The error log is very clear.
you miss the .dat file in your FTP folder..

Re-install GeoLiceCity by using your install_binary.sh and Watch if there´s a error log in console.

If you have error logs due to NOT FOUND (404) in web server, try to change the Maxmind URL....

from:

Code:
URL=http://geolite.maxmind.com/download/geoip/database/
FILE=GeoLiteCity.dat.gz
to:

Code:
URL=https://geolite.maxmind.com/download/geoip/database/
FILE=GeoLite2-City.tar.gz
And next time try to post more details about the machine you´re running...and post error logs here also.
Natan is offline
Send a message via ICQ to Natan Send a message via AIM to Natan Send a message via Yahoo to Natan Send a message via Skype™ to Natan
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: Czech_Republic
Old 05-21-2019 , 12:25   Re: GeoLiteCity.dat NOT FOUND problem
Reply With Quote #3

Hello,
if you are using old HLStatsX, you can't only change URL, because GeoLite2-City.tar.gz using different file format (mmdb) and it's supported only with updated HLStatsX version - https://github.com/NomisCZ/hlstatsx-community-edition.
__________________

Last edited by NomisCZ; 05-21-2019 at 12:26.
NomisCZ is offline
HiDeath
Senior Member
Join Date: Aug 2018
Location: Tunisia
Old 05-23-2019 , 13:56   Re: GeoLiteCity.dat NOT FOUND problem
Reply With Quote #4

Quote:
Originally Posted by NomisCZ View Post
Hello,
if you are using old HLStatsX, you can't only change URL, because GeoLite2-City.tar.gz using different file format (mmdb) and it's supported only with updated HLStatsX version - https://github.com/NomisCZ/hlstatsx-community-edition.
Hi there ,

Thanks for the reply , really appreciated for both of you guys !

is it possible to update the current HLstatsX without losing any stats or settings ( same database configs ? ) ?

Thanks in advance

PS : I did download it from here , i really don't know if it's the latest version or not

Last edited by HiDeath; 05-23-2019 at 13:57.
HiDeath is offline
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: Czech_Republic
Old 05-23-2019 , 15:00   Re: GeoLiteCity.dat NOT FOUND problem
Reply With Quote #5

Quote:
Originally Posted by HiDeath View Post
Hi there ,

Thanks for the reply , really appreciated for both of you guys !

is it possible to update the current HLstatsX without losing any stats or settings ( same database configs ? ) ?

Thanks in advance

PS : I did download it from here , i really don't know if it's the latest version or not

Yep, it's possible.
1. Stop daemon
2. Run all migration queries: https://github.com/NomisCZ/hlstatsx-...sql/migrations
3. Download latest daemon: https://github.com/NomisCZ/hlstatsx-...master/scripts
4. Replace all daemon files (backup your hlstatsx.conf before)
4. Install Perl packages (1.5. Install Perl packages) - https://github.com/NomisCZ/hlstatsx-...llation#-linux
5. Prepare GeoIP2 (2.4 Prepare GeoIP2) - https://github.com/NomisCZ/hlstatsx-...2-installation
6. Start daemon and check logs
7. Download latest web files - https://github.com/NomisCZ/hlstatsx-...ree/master/web
8. Backup your config.php, upload all files to your webhosting and remove updater folder
__________________
NomisCZ is offline
HiDeath
Senior Member
Join Date: Aug 2018
Location: Tunisia
Old 05-23-2019 , 18:16   Re: GeoLiteCity.dat NOT FOUND problem
Reply With Quote #6

Quote:
Originally Posted by NomisCZ View Post
Yep, it's possible.
1. Stop daemon
2. Run all migration queries: [url]https://github.com/NomisCZ/hlstatsx-community-...
Oh thanks dude
HiDeath is offline
HiDeath
Senior Member
Join Date: Aug 2018
Location: Tunisia
Old 05-23-2019 , 13:55   Re: GeoLiteCity.dat NOT FOUND problem
Reply With Quote #7

Quote:
Originally Posted by Natan View Post
Hello...

The error log is very clear.
Hi there ,

Thanks for the reply , it was really quiet helpful !

i did change the url and file values , but i still get 1 more error :

Code:
chmod: cannot access ‘*.dat’: No such file or directory
HiDeath is offline
MrGarfield
Senior Member
Join Date: Feb 2013
Old 12-10-2019 , 13:31   Re: GeoLiteCity.dat NOT FOUND problem
Reply With Quote #8

hi HiDeath and mariozankl

I restart your topic to find out if you have found a way to keep the old version and how to do it with the GeoLiteCity.dat file
MrGarfield is offline
HiDeath
Senior Member
Join Date: Aug 2018
Location: Tunisia
Old 12-15-2019 , 12:27   Re: GeoLiteCity.dat NOT FOUND problem
Reply With Quote #9

Quote:
Originally Posted by MrGarfield View Post
hi HiDeath and mariozankl

I restart your topic to find out if you have found a way to keep the old version and how to do it with the GeoLiteCity.dat file
Hey there,

You have to do it the old way, pick that files shared from the google drive (thanks for sharing!). Place it in GeoLiteCity folder and give 777 permissions to this file, after that restart daemon and it should work!
__________________
Avoid cs 1.6 no steam, use the steam version clean full & original
HiDeath is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode