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

Can't use an undefined value as a symbol reference at ./hlstats.pl line 1716


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RocketFish
Junior Member
Join Date: Jul 2014
Old 04-09-2015 , 21:46   Can't use an undefined value as a symbol reference at ./hlstats.pl line 1716
Reply With Quote #1

When attempting to reload the HLstatsX: CE Daemon Control via the webpage, the webpage reports it was successful in sending the reload request:
Code:
HLstatsX: CE Daemon Control
 -Sending Command to HLstatsX: CE Daemon at localhost:27500 — 50 bytes OK
 -Waiting for Backend Answer...recieving 29 bytes in 1 packets...OK
 -Backend Answer: OK, EXECUTING COMMAND: RELOAD
 -Closing connection to backend...OK
however the daemon log will show it killed the daemon when attempting to reload:
Code:
2015-04-09 21:24:53:                       - PROXY, Reload request from 127.0.0.1:39829:
2015-04-09 21:24:54:                       - CONTROL: Command received: RELOAD
2015-04-09 21:24:54:       127.0.0.1:39829 - CONTROL: Sent 29 bytes to frontend at '127.0.0.1:39829'
2015-04-09 21:24:54:       127.0.0.1:39829 - CONTROL: Re-Reading Configuration by request from Frontend...
2015-04-09 21:24:54:       127.0.0.1:39829 - CONFIG: Reading database config...
2015-04-09 21:24:54:       127.0.0.1:39829 - CONFIG: I have found the following server configs in database:
2015-04-09 21:24:54:       127.0.0.1:39829 - S_CONFIG: xxx.xxx.xxx.xxx:27015
Can't use an undefined value as a symbol reference at ./hlstats.pl line 1716.
I have the daemon auto checking/starting every 5 minutes via cron, so this isn't the end of the world.

If anyone has found way to correct this would appreciate info. I was surprised to not find reference to this anywhere in the forum..
RocketFish is offline
rodpod
SourceMod Donor
Join Date: Jan 2005
Old 04-29-2015 , 09:02   Re: Can't use an undefined value as a symbol reference at ./hlstats.pl line 1716
Reply With Quote #2

to my knowledge web panel (admin panel) can only stop daemon, not start it. it should not have any type of access to shell. that's why you should add sth like this to cron:

*/15 * * * * cd ~/path_to_scripts/ && ./run_hlstats start 10 27700 1 >/dev/null 2>&1

so it would check every 15 minutes if daemon (or daemons in my situation) are up and running. i prefer this type of automation rather than web based.
rodpod is offline
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:41.


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