Running HLStatsxCE on VPS

This is used for general discussion that is not necessarily server-related.
Post Reply
doulos9
This is my homepage
This is my homepage
Posts: 200
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Sep 15, 2013 9:44 pm

Running HLStatsxCE on VPS

Post by doulos9 »

What am I doing wrong ....

CentOS 7
Installed httpd
Installed php 7
installed mariadb
installed phpmyadmin
allowed remote access to database
created database and imported sql
opened port 27500 to udp/tcp traffic
made the scripts folder executable
set up cronjobs
added logaddress_add myip:27500 to autoexec.cfg and rebooted the server
started run_hlstats start - returned Daemon successfully started on port 27500
I followed all the instructions I could find on the web. Website works fine. opened port 27500.
But when I check my hlstats webpage shows no connected players when there are actually 15 players.

This is driving me nuts. Any help greatly appreciated.
User avatar
TimeX
Staff
Staff
Posts: 1731
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: Running HLStatsxCE on VPS

Post by TimeX »

The most common reason I see for this is that the site part of it does not have the correct rcon password for the game server set. If that is changed, the stats daemon needs to be restarted also.
TimeX
doulos9
This is my homepage
This is my homepage
Posts: 200
Joined: Sun Sep 15, 2013 9:44 pm

Re: Running HLStatsxCE on VPS

Post by doulos9 »

I have checked the rcon password many times. I even tried copy/paste in case I typed it wrong.

I am getting this error in var/www/scripts/log:
Can't locate Syntax/Keyword/Try.pm in @INC (you may need to install the Syntax::Keyword::Try module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at .//HLstats_Server.pm line 41.
BEGIN failed--compilation aborted at .//HLstats_Server.pm line 41.
Compilation failed in require at ./hlstats.pl line 74.
So I tried this

Code: Select all

apt install libsyntax-keyword-try-perl
that removed the error.

WORKING NOW!

Thanks for replying.
Post Reply