Raised This Month: $32 Target: $400
 8% 

[SOLVED]Geo-IP2 Reader Module missing (Perl issue?)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 01-17-2020 , 02:01   [SOLVED]Geo-IP2 Reader Module missing (Perl issue?)
Reply With Quote #1

Hello there,

i got the following message in the logs:

Code:
2020-01-16 10:58:11:       127.0.0.1:60669 - ERROR: GeoIP method set to binary file lookup but GeoIP2::Database::Reader module NOT FOUND
I know, that i must install the module, and i installed it (with cpanm):

Code:
[root ~]# cpanm --force GeoIP2::Database::Reader
--> Working on GeoIP2::Database::Reader
Fetching http://www.cpan.org/authors/id/M/MA/MAXMIND/GeoIP2-2.006002.tar.gz ... OK
Configuring GeoIP2-2.006002 ... OK
==> Found dependencies: MaxMind::DB::Reader, MaxMind::DB::Metadata
--> Working on MaxMind::DB::Reader
Fetching http://www.cpan.org/authors/id/M/MA/MAXMIND/MaxMind-DB-Reader-1.000014.tar.gz ... OK
Configuring MaxMind-DB-Reader-1.000014 ... OK
==> Found dependencies: autodie, Test::MaxMind::DB::Common::Util, Test::MaxMind::DB::Common::Data, MaxMind::DB::Metadata, MaxMind::DB::Types, MaxMind::DB::Common, MaxMind::DB::Role::Debugs
--> Working on autodie
Fetching http://www.cpan.org/authors/id/T/TO/TODDR/autodie-2.32.tar.gz ... FAIL
! Download http://www.cpan.org/authors/id/T/TO/TODDR/autodie-2.32.tar.gz failed. Retrying ...
! Download http://www.cpan.org/authors/id/T/TO/TODDR/autodie-2.32.tar.gz failed. Retrying ...
Configuring autodie-2.32 ... OK
Building and testing autodie-2.32 ... OK
Successfully installed autodie-2.32
--> Working on Test::MaxMind::DB::Common::Util
Fetching http://www.cpan.org/authors/id/M/MA/MAXMIND/MaxMind-DB-Common-0.040001.tar.gz ... OK
Configuring MaxMind-DB-Common-0.040001 ... OK
Building and testing MaxMind-DB-Common-0.040001 ... OK
Successfully installed MaxMind-DB-Common-0.040001
Building and testing MaxMind-DB-Reader-1.000014 ... OK
Successfully installed MaxMind-DB-Reader-1.000014
Building and testing GeoIP2-2.006002 ... OK
Successfully installed GeoIP2-2.006002
4 distributions installed

If i prove it:

Code:
[root ~]# cpanm GeoIP2::Database::Reader
GeoIP2::Database::Reader is up to date. (2.006002)

But still the same message in the logs...

Does someone have a Suggestion, what's missing?

Last edited by [WbOF]LuZiFeR; 01-24-2020 at 11:01.
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: Czech_Republic
Old 01-17-2020 , 02:45   Re: Geo-IP2 Reader Module missing (Perl issue?)
Reply With Quote #2

Hi,
please check prerequisites (1.5. Install Perl packages) - https://github.com/NomisCZ/hlstatsx-...-prerequisites

What Linux distribution do you use?
__________________
NomisCZ is offline
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 01-17-2020 , 03:05   Re: Geo-IP2 Reader Module missing (Perl issue?)
Reply With Quote #3

Hi,

thank you for your fast answer.

I doublecheck the packages now again and everything looks fine.

On every package i get

Code:
'already installed and latest version'
For the Geo2-Modules i get:

Code:
MaxMind::DB::Reader is up to date. (1.000014)
Code:
GeoIP2::Database::Reader is up to date. (2.006002)
Code:
Syntax::Keyword::Try is up to date. (0.11)

I use CentOS Linux 7.7.1908 (Core)

Perl-Version is:

Code:
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
(with 39 registered patches, see perl -V for more detail)
PHP is 7.3.13

Last edited by [WbOF]LuZiFeR; 01-17-2020 at 03:10.
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 01-20-2020 , 04:55   Re: Geo-IP2 Reader Module missing (Perl issue?)
Reply With Quote #4

Issue still exists...
I found another entry in the forum regarding correct users and rights...

My Daemon runs as root (and the crons also) and the web-parts runs as webuser.

Could this be a cause?

Should the daemon run as root or webuser?

As i wrote before, all other things are working well...

http://www.wbof.de/csgo-stats

Last edited by [WbOF]LuZiFeR; 01-20-2020 at 04:56.
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 01-21-2020 , 07:41   Re: Geo-IP2 Reader Module missing (Perl issue?)
Reply With Quote #5

Hi again…

Issue solved… unfortunately i don't know why exactly…

Maybe it was a Rights-issue (i controlled some and changed them),
maybe it was a hanging process….

After the last Restart of the daemon, the message is gone,
and i see the first mark on the map.

I think/hope, that the flags will be assigned correctly too

Last edited by [WbOF]LuZiFeR; 01-21-2020 at 09:30.
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
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 05:29.


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