PDA

View Full Version : No errors, no stats


Predator.Cat
12-06-2012, 05:23
I installed version 1.6.19, all configured. In the logs here is that:
2012-12-06 00:06:51: - MYSQL: Connecting to MySQL database 'hlstatsx' on 'localhost' as user 'hlds' ... connected ok
2012-12-06 00:06:51: - CONFIG: Reading database config...
2012-12-06 00:06:51: - CONFIG: I have found the following server configs in database:
2012-12-06 00:06:51: - S_CONFIG: 95.143.220.35:27500
2012-12-06 00:06:51: - HLSTATSX: HLstatsX:CE 1.6.19 starting...
2012-12-06 00:06:51: - UDP: Opening UDP listen socket on 95.143.220.35:27500 ... ok
2012-12-06 00:06:51: - HLSTATSX: Tracking Trend of the stats are enabled
2012-12-06 00:06:51: - HLSTATSX: Maximum Skill Change on all servers are 25 points
2012-12-06 00:06:51: - HLSTATSX: Minimum Skill Change on all servers are 2 points
2012-12-06 00:06:51: - HLSTATSX: Minimum Players Kills on all servers are 50 kills
2012-12-06 00:06:51: - HLSTATSX: Players chat logging is enabled
2012-12-06 00:06:51: - HLSTATSX: Broadcasting public chat is disabled
2012-12-06 00:06:51: - HLSTATSX: Event queue size is set to 10
2012-12-06 00:06:51: - HLSTATSX: HLstatsX:CE is now running (Normal mode, debug level 1)
2012-12-06 00:08:49: - HLSTATSX: No data since 120 seconds
2012-12-06 00:10:49: - HLSTATSX: No data since 120 seconds
2012-12-06 00:11:53: - HLSTATSX: Insert new server trend timestamp
2012-12-06 00:12:49: - HLSTATSX: No data since 120 seconds
2012-12-06 00:14:49: - HLSTATSX: No data since 120 seconds
2012-12-06 00:16:49: - HLSTATSX: No data since 120 seconds
2012-12-06 00:16:53: - HLSTATSX: Insert new server trend timestamp

Accordingly, the statistics does not get into the database and statistics empty.
Perl modules DBI and DBD installed. OS CentOS 6.3 x86_64. Counter-Strike 1.6.

log on
logsdir "logs/"
logaddress_add server_IP 27500
mp_logdetail 3
rcon_password "myrconpass"

DBHost "localhost"
DBUsername "hlds"
DBPassword "passwd"
DBName "hlstatsx"
BindIP ""
Port 27500
CpanelHack 0
EventQueueSize 10
DebugLevel 1

$opt_configfile = "/var/www/cs/stats/scripts/hlstats.conf";
$opt_libdir = "/var/www/cs/stats/scripts/";

my $opt_configfile = "/var/www/cs/stats/scripts/hlstats.conf";
my $opt_libdir = "/var/www/cs/stats/scripts/";

define("DB_ADDR", "localhost");
define("DB_USER", "hlds");
define("DB_PASS", "passwd");
define("DB_NAME", "hlstatsx");
define("DB_TYPE", "mysql");

[[email protected] scripts]# ./run_hlstats status

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

Does anyone have any ideas?

Mavrick4283
12-06-2012, 08:53
You do not edit the hlstats or awards files by hand, they read the config file and get there data from the deamon it's self.

I can not see what you are using in your server.cfg because you just gave me the genaric cfg....the only part i need is the logaddress_add server_IP 27500 line

Predator.Cat
12-06-2012, 13:48
You do not edit the hlstats or awards files by hand, they read the config file and get there data from the deamon it's self.
I tried to leave it as it was ("./hlstats.conf" and "./") - no change.

I can not see what you are using in your server.cfg because you just gave me the genaric cfg....the only part i need is the logaddress_add server_IP 27500 line
There is "95.143.220.35" instead of "server_IP" in this line (address of my external interface).

YamiKaitou
12-06-2012, 16:26
Is that the IP of your server or the IP the daemon is running on?

Predator.Cat
12-07-2012, 03:55
YamiKaitou, the server and the daemon are on the same host.

YamiKaitou
12-07-2012, 07:21
Then, is there a firewall blocking UDP port 27500? Have you tried using localhost?

eVoGaming
12-07-2012, 13:32
I haven't had my share of setting up HLX:CE on a linux, but did you follow through the entire tutorial installing it? I personally find it much easier and stable to run on Windows. There is more to do, but it's worth it, because is simple and understandable. Instead of hosting it directly on my dedi I have a VPS with virpus.

I don't know if it's simply because you edited out the IP from the server.cfg, but the full command should be:
logaddress_add 95.143.220.35:27500
I don't know if you added the space and removed the symbols when you removed the IP or not, but that is what the full command should look like.

One other problem that people normally come across is logs are disabled somewhere else in the server.cfg - check it all through or post it here.


Last but not least, while these may be the case as well, it is definite that you do not have the port open.
Port 27500 is closed on 95.143.220.35.

HLX:CE is running on the port, but the port is not actually opened.

Predator.Cat
12-07-2012, 14:30
YamiKaitou, I opened both protocols (UDP and TCP) of port 27500 in my firewall. But now I tried to use localhost, as you advised, and log began to fill with next:
2012-12-07 22:50:29: - MYSQL: Connecting to MySQL database 'hlstatsx' on 'localhost' as user 'hlds' ... connected ok
2012-12-07 22:50:29: - CONFIG: Reading database config...
2012-12-07 22:50:29: - CONFIG: I have found the following server configs in database:
2012-12-07 22:50:29: - S_CONFIG: 95.143.220.35:27500
2012-12-07 22:50:29: - HLSTATSX: HLstatsX:CE 1.6.19 starting...
2012-12-07 22:50:29: - UDP: Opening UDP listen socket on port 27500 ... ok
2012-12-07 22:50:29: - HLSTATSX: Tracking Trend of the stats are enabled
2012-12-07 22:50:29: - HLSTATSX: Maximum Skill Change on all servers are 25 points
2012-12-07 22:50:29: - HLSTATSX: Minimum Skill Change on all servers are 2 points
2012-12-07 22:50:29: - HLSTATSX: Minimum Players Kills on all servers are 50 kills
2012-12-07 22:50:29: - HLSTATSX: Players chat logging is enabled
2012-12-07 22:50:29: - HLSTATSX: Broadcasting public chat is disabled
2012-12-07 22:50:29: - HLSTATSX: Event queue size is set to 10
2012-12-07 22:50:29: - HLSTATSX: HLstatsX:CE is now running (Normal mode, debug level 1)
2012-12-07 22:50:37: 95.143.220.35:27015 - E997: NOT ALLOWED SERVER: ����log L 12/07/2012 - 22:50:37: "M.O | MaKc!<6><STEAM_0:0:2099840170><TERRORIST>" attacked "Predator<5><STEAM_0:0:621995683><CT>" with "famas" (damage "30") (damage_armor "0") (health "70") (armor "0")
2012-12-07 22:50:37: 95.143.220.35:27015 - E997: NOT ALLOWED SERVER: ����log L 12/07/2012 - 22:50:37: "M.O | MaKc!<6><STEAM_0:0:2099840170><TERRORIST>" attacked "Predator<5><STEAM_0:0:621995683><CT>" with "famas" (damage "104") (damage_armor "0") (health "-34") (armor "0")
2012-12-07 22:50:37: 95.143.220.35:27015 - E997: NOT ALLOWED SERVER: ����log L 12/07/2012 - 22:50:37: "M.O | MaKc!<6><STEAM_0:0:2099840170><TERRORIST>" killed "Predator<5><STEAM_0:0:621995683><CT>" with "famas" (headshot) (attacker_position "1460 639 -12") (victim_position "1532 2032 36")
2012-12-07 22:50:37: 95.143.220.35:27015 - E997: NOT ALLOWED SERVER: ����log L 12/07/2012 - 22:50:37: Team "TERRORIST" triggered "Terrorists_Win" (CT "1") (T "2")
2012-12-07 22:50:37: 95.143.220.35:27015 - E997: NOT ALLOWED SERVER: ����log L 12/07/2012 - 22:50:37: World triggered "Round_End"
2012-12-07 22:50:37: 95.143.220.35:27015 - E997: NOT ALLOWED SERVER: ����log L 12/07/2012 - 22:50:37: "Predator<5><STEAM_0:0:621995683><CT>" triggered "weaponstats" (weapon "knife") (shots "1") (hits "0") (kills "0") (headshots "0") (tks "0") (damage "0") (deaths "0").

But database is still empty.

Mavrick4283
12-07-2012, 14:43
no steam no support topic closed