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

Locations aren't showing up


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dariz
Junior Member
Join Date: Mar 2013
Old 03-08-2013 , 09:46   Locations aren't showing up
Reply With Quote #1

Dear HlstatsX:CE users.

I've finally managed to fix some my website problems, and now got the whole thing up and running.
Everything is working, besides the locations and the server load usage graph.

I have my installation in the folder /var/www/stats and my scripts /var/scripts
Also I have already installed the install_binary.sh in the Geo folder, so everything should be working. Awards etc is working and have added a cronjob for updating that.

What would be the problem? Neither server usage graph is generated or the locations of players or even server.
Dariz is offline
SINEKT
Member
Join Date: Oct 2006
Location: Bucharest, Romania
Old 03-08-2013 , 11:16   Re: Locations aren't showing up
Reply With Quote #2

I solved the map problem instaling the Geo::IP: PurePerl module, for Perl. I don't remember exactly what I did, but google it up, one command I did was perl -MCPAN -e 'install Geo::IP: PurePerl', (from command history), and then entered cpan to actually install the module (don't remember the command I used here). Finally, you have to configure it from the admin interface to use the binary file for GeoIP - not database.

As for the graph problem, I still have it. I managed to successfully recompile PHP with GD, as one user suggested, but graphs still don't work. I would also greatly appreciate any help on this one...
__________________
Home datacenter madness - kitchen servers:

Photo 1 Photo2

Last edited by SINEKT; 03-08-2013 at 11:27.
SINEKT is offline
Send a message via Yahoo to SINEKT Send a message via Skype™ to SINEKT
Dariz
Junior Member
Join Date: Mar 2013
Old 03-10-2013 , 14:07   Re: Locations aren't showing up
Reply With Quote #3

I have been trying for hours now, but I really fail at some point.
I'm doing as stated in the "INSTALL" file, and I have installed and updated everything that's possible.

But I keep getting this error, then I do perl Makefile.PL

Quote:
Your installed version of libgeoip is outdated! Please update to at least
version to 1.5.0 and reinstall this module.
I tried updating libgeoip, libgeoip-dev etc. But everything seems to be up-to-date. I did a search on the Debian package sources, and the newest version is 1.4... ? How would I ever be able to update it to 1.5.0?

Last edited by Dariz; 03-10-2013 at 14:08.
Dariz is offline
SINEKT
Member
Join Date: Oct 2006
Location: Bucharest, Romania
Old 03-10-2013 , 16:21   Re: Locations aren't showing up
Reply With Quote #4

Found it. Try this instead:

Quote:
Via linux command line (cli)
To install Geo::IP: PurePerl via cli you will need to be root and type the following:
Code:
perl -MCPAN -e 'install Geo::IP: PurePerl' (no space before "PurePerl", the forum converts it to smiley)

Again go to a linux command line. Do the following as root:
Code:
cpan install Geo::IP: PurePerl (no space before "PurePerl", the forum converts it to smiley)
It should now be installed.
You're lucky with me, I have questions unanswered for months...
__________________
Home datacenter madness - kitchen servers:

Photo 1 Photo2

Last edited by SINEKT; 03-10-2013 at 16:25.
SINEKT is offline
Send a message via Yahoo to SINEKT Send a message via Skype™ to SINEKT
Dariz
Junior Member
Join Date: Mar 2013
Old 03-10-2013 , 16:37   Re: Locations aren't showing up
Reply With Quote #5

I typed as you said, and without the spacing - I just get the following error.

Quote:
syntax error at -e line 1, near "Geo::IP:"
Execution of -e aborted due to compilation errors.
Dariz is offline
SINEKT
Member
Join Date: Oct 2006
Location: Bucharest, Romania
Old 03-10-2013 , 20:12   Re: Locations aren't showing up
Reply With Quote #6

My bad, sorry, you need two colons the second time as well, so the commands will be:

perl -MCPAN -e 'install Geo::IP:: PurePerl' (no space before "PurePerl")

and

cpan install Geo::IP:: PurePerl (no space before "PurePerl")
__________________
Home datacenter madness - kitchen servers:

Photo 1 Photo2

Last edited by SINEKT; 03-10-2013 at 20:15.
SINEKT is offline
Send a message via Yahoo to SINEKT Send a message via Skype™ to SINEKT
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 04:03.


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