PDA

View Full Version : HLStatsX:CE Installed But 0/0 Players


demonicserver
02-20-2013, 20:29
Hi, I've installed HLStatsX:CE on my webhoster.. The daemon and web files are on the same machine, server is on other..

Since i don't have command line access i couldn't start the daemon but I've added a cron job to do it for me, and it worked.. How do i know? I've got an email from cronjob saying

HLstatsX:CE daemon control
http://www.hlxce.com
---------------------------
Attempting to start HLstatsX:CE daemon on port 27500...
Daemon successfully started on port 27500

And on every 5 minutes i get

HLstatsX:CE daemon control
http://www.hlxce.com
---------------------------
Daemon is already running on port 27500

The plugin is added to server, logaddress is added to server.cfg
Databases are configured properly.. I think xD I'm not getting any errors, I've uploaded *.sql file via phpmyadmin..

I've added server to web script , added correct rcon, and server IP but I'm not getting any stats..

Map - Blank
Played - 00:00:00
Players - 0/0
Kills - 0 etc..

Any ideas? :shock:

YamiKaitou
02-20-2013, 20:56
Check your logs the daemon generates, it should tell you if it is receiving anything from the server

EDIT: You might want to also check to make sure that the correct ports are open on the server running the daemon

demonicserver
02-20-2013, 21:02
2013-02-21 02:10:05: - HLSTATSX: Insert new server trend timestamp
2013-02-21 02:11:01: - HLSTATSX: No data since 120 seconds
2013-02-21 02:13:01: - HLSTATSX: No data since 120 seconds
2013-02-21 02:15:02: - HLSTATSX: No data since 120 seconds
2013-02-21 02:15:06: - HLSTATSX: Lost database connection. Trying to reconnect...
2013-02-21 02:15:06: - MYSQL: Connecting to MySQL database 'belgrade_stats' on 'localhost' as user 'belgrade_phpbb' ... connected ok

Then it goes into loop :D

EDIT:
I also got this line at the begining
2013-02-21 02:05:03: - ERROR: GeoIP method set to binary file lookup but .//GeoLiteCity/GeoLiteCity.dat NOT FOUND
But i don't know how to check if the port is open.. I've rented webhosting from a service provider, i don't have any shell access to the server :/

YamiKaitou
02-21-2013, 00:03
You will have to contact your host, seems port 27500 is closed to inbound connections

demonicserver
02-21-2013, 09:36
The hell with the host :) I'll find a way around it.. I'll do a port scan to see witch one is open and then change it :) Thanks :)

EDIT:
OMG!
I didn't do anything.. But literally anything.. When suddenly the web showed map de_clan1_mill players 11/32.. But it seems that the stats is not realtime.. It has some lag.. Or what..
The current map on the server is de_dust2 and current players are 17/32
The script is not updating itself..

While viewing at the logs, the logs said:


~standard loop - mentioned above~

2013-02-21 17:01:05: - HLSTATSX: Lost database connection. Trying to reconnect...
2013-02-21 17:01:05: - MYSQL: Connecting to MySQL database 'belgrade_stats' on 'localhost' as user 'belgrade_phpbb' ... connected ok
2013-02-21 17:01:05: - HLSTATSX: Insert new server trend timestamp
2013-02-21 17:02:01: - HLSTATSX: No data since 120 seconds
2013-02-21 17:04:01: - HLSTATSX: No data since 120 seconds
2013-02-21 17:05:05: 193.104.68.53:27057 - HLSTATSX: Lost database connection. Trying to reconnect...
2013-02-21 17:05:05: 193.104.68.53:27057 - MYSQL: Connecting to MySQL database 'belgrade_stats' on 'localhost' as user 'belgrade_phpbb' ... connected ok
2013-02-21 17:05:03: 193.104.68.53:27057 - SERVER: Connecting to rcon on 193.104.68.53:27057 ... ok
2013-02-21 17:05:06: 193.104.68.53:27057 - SERVER: Server running map: de_clan1_mill
2013-02-21 17:05:06: 193.104.68.53:27057 - SERVER: Ingame-URL: http://belgrade-gaming.net/stats
2013-02-21 17:05:06: 193.104.68.53:27057 - SERVER: Query results will displayed in valve browser
2013-02-21 17:05:06: 193.104.68.53:27057 - SERVER: Showing stats is enabled

Then the log goes on, and the last few lines

2013-02-21 17:06:06: - HLSTATSX: Insert new server trend timestamp
2013-02-21 17:07:08: - HLSTATSX: No data since 120 seconds
2013-02-21 17:09:08: - HLSTATSX: No data since 120 seconds
BASTARDrcon: send ÁhD5:27057 : Operation not permitted at .//BASTARDrcon.pm line 108.

Don't have any idea of what's going on..

demonicserver
02-21-2013, 12:59
Am i allowed to bump? I don't know if this topic will be marked as "unread" if the last post is edited :(

Mavrick4283
02-21-2013, 13:45
It looks like you are running non-steam servers, non-steam is not supported at all and causes errors.

demonicserver
02-21-2013, 13:48
But I've ordered from my provider a steam server.. Although, it has dproto plugin as a security management (at least, that's what they told me) but it's blocked for nonsteam users.. :/ I think.. :/ I'm using steam to join my server, don't have nonsteam on my pc..

But, now i've found out new problem.. Script is ignoring the config file.. I've tried to change port, but the script keeps starting on 27500 :/

Mavrick4283
02-21-2013, 14:41
You need to remove dproto, it does not secure a sever in fact it has know exploits in it, on top of that it does cause errors.

As for the daemon not changing ports https://bitbucket.org/psychonic/hlstatsxce/wiki/Controlling_the_HLXCE_daemon

stoneyschillhouse
02-25-2013, 04:17
Hi, I've installed HLStatsX:CE on my webhoster.. The daemon and web files are on the same machine, server is on other..

Since i don't have command line access i couldn't start the daemon but I've added a cron job to do it for me, and it worked.. How do i know? I've got an email from cronjob saying


U installed HLstats and the deamon on your webserver?? o.O

U must install the deamon on the maschine where are you running your gameserver(s).
HLstats listening to the deamon from your GS to get the "files". (one deamon works for every GS on the same maschin, the only thing what you must to do is for every server set up the
log on
logaddress_add IP:PORT

into your autoexec.cfg or server.cfg)
)

Look at your downloaded files. Thers a directory web and scripts, i think. Sorry i'm not at home but something like this you must have in the HLstats download.

Do you read a install Tutorial??
http://tutorial.mooash.com/how-to-setup-hlstatsx-community-edition/

At the web you will find much more tuts about HLstats installation..

Mavrick4283
02-25-2013, 07:07
U installed HLstats and the deamon on your webserver?? o.O

U must install the deamon on the maschine where are you running your gameserver(s).
HLstats listening to the deamon from your GS to get the "files". (one deamon works for every GS on the same maschin, the only thing what you must to do is for every server set up the
log on
logaddress_add IP:PORT

into your autoexec.cfg or server.cfg)
)

Look at your downloaded files. Thers a directory web and scripts, i think. Sorry i'm not at home but something like this you must have in the HLstats download.

Do you read a install Tutorial??
http://tutorial.mooash.com/how-to-setup-hlstatsx-community-edition/

At the web you will find much more tuts about HLstats installation..

That is incorrect, you can set up the deamon any where you want, as long as it has access to the MySQL server (IE the ports are open) and the rcon and logging ports (IE they are open).

Also we have an up to date tutorial on our wiki, https://bitbucket.org/psychonic/hlstatsxce/wiki/Install_Instructions

stoneyschillhouse
02-25-2013, 15:21
I'm sorry.

I think my problem is, I never needed a gameserver provider, I'v used only root servers.

The specific options or settings about hostet servers I don't know.

demonicserver
03-03-2013, 05:01
Daemon doesn't need to be at the same machine as the server, because they will comunicate to each other via rcon password and amxx plugin :) I was having the before mentioned problem because webhost company blocked the ip of my server.. And my game server hoster blocked the ip of my webhost company :D
Probably to much of a spam :)
They've added each other to whitelist, so now everything works fine :)

Btw, the link you posted is dead :)

miz3r
03-08-2013, 08:23
In my opinion you have to first give remote access to the MySQL database and the putty in the folder HLX / scripts or whatever you set the type "screen. / Hlstats.pl start" to add the server to configure hlstats then restart the daemon to add in serwer.cfg
Blog it
logaddress_delall
logaddress_add "IP (your website): port"
restart the server CS: Source

zckboy
06-08-2014, 20:24
demonicserver i have sent you a pm if you can help me out i keep getting an error
Can't locate .//ConfigReaderSimple.pm in @INC (@INC contains: /home/bagaming/perl5/lib/perl5 /home/bagaming/perl5/lib/perl5/x86_64-linux-thread-multi /home/bagaming/perl/usr/local/lib64/perl5 /home/bagaming/perl/usr/local/share/perl5 /home/bagaming/perl/usr/lib64/perl5/vendor_perl /home/bagaming/perl/usr/share/perl5/vendor_perl /home/bagaming/perl/usr/lib64/perl5 /home/bagaming/perl/usr/share/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/bagaming/perl/hlstats.pl line 73.