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

Help guide Error Linux not Windows (Viewing this before you posted a new thread)


Post New Thread Reply   
 
Thread Tools Display Modes
kikotte
Member
Join Date: Oct 2013
Old 01-05-2014 , 14:08   Re: Help guide Error Linux not Windows (Viewing this before you posted a new thread)
Reply With Quote #11

Quote:
Originally Posted by abrandnewday View Post
All on the box.

/home/abrandnewday/Steam
/home/abrandnewday/SteamCMD
/home/abrandnewday/gameserver/tf2

Everything is in my home/abrandnewday folder

Site runs out of /var/www/

Scripts are now in /opt/scripts
Good. run like this for it to become just drive.

chmod +x hlstats-awards.pl
chmod +x run_hlstats

Quote:
Code:
*/5 * * * * cd /opt/scripts && ./run_hlstats start >/dev/null 2>&1
15 00 * * * cd /opt/scripts && ./hlstats-awards.pl >/dev/null 2>&1
kikotte is offline
Send a message via Skype™ to kikotte
404UserNotFound
BANNED
Join Date: Dec 2011
Old 01-05-2014 , 14:11   Re: Help guide Error Linux not Windows (Viewing this before you posted a new thread)
Reply With Quote #12

Quote:
Originally Posted by kikotte View Post
Good. run like this for it to become just drive.

chmod +x hlstats-awards.pl
chmod +x run_hlstats
Yep, I've got the cron's set up like you've listed 'em.

hlstats-awards.pl is set up to be run daily in etc/cron.daily

run_hlstats is set up to be run hourly in etc/cron.hourly

Both files are CHMOD'd to 755

Yet the awards are never given out.

EDIT: Since moving the scripts to opt/scripts, two players have joined and somehow they have country flags on HLStats....so maybe GeoIP started working properly?
EDIT 2: Yep, it's detecting player locations properly, and it's now even showing average ping and other things. I'm surprised.

Last edited by 404UserNotFound; 01-05-2014 at 14:15.
404UserNotFound is offline
kikotte
Member
Join Date: Oct 2013
Old 01-05-2014 , 14:22   Re: Help guide Error Linux not Windows (Viewing this before you posted a new thread)
Reply With Quote #13

Quote:
Originally Posted by abrandnewday View Post
Yep, I've got the cron's set up like you've listed 'em.

hlstats-awards.pl is set up to be run daily in etc/cron.daily

run_hlstats is set up to be run hourly in etc/cron.hourly

Both files are CHMOD'd to 755

Yet the awards are never given out.

EDIT: Since moving the scripts to opt/scripts, two players have joined and somehow they have country flags on HLStats....so maybe GeoIP started working properly?
EDIT 2: Yep, it's detecting player locations properly, and it's now even showing average ping and other things. I'm surprised.
Work it like it should?
kikotte is offline
Send a message via Skype™ to kikotte
404UserNotFound
BANNED
Join Date: Dec 2011
Old 01-05-2014 , 14:35   Re: Help guide Error Linux not Windows (Viewing this before you posted a new thread)
Reply With Quote #14

Quote:
Originally Posted by kikotte View Post
Work it like it should?
Seems to be working as it should. I don't see awards being given out yet, but I assume that will take some time to happen, as it's set up as a daily cronjob.

EDIT: GeoIP may be working because I CHMOD'd all the files for it to 755

Last edited by 404UserNotFound; 01-05-2014 at 14:37.
404UserNotFound is offline
shubhamgulati12
Senior Member
Join Date: Oct 2010
Location: Inida The Holy Place!!
Old 01-05-2014 , 14:40   Re: Help guide Error Linux not Windows (Viewing this before you posted a new thread)
Reply With Quote #15

Quote:
Error
Quote:
Geo IP HLstatsX Flags/Map
ERROR: GeoIP method set to binary file lookup but /opt/tf2server/tf2/scripts/GeoLiteCity/GeoLiteCity.dat NOT FOUND
Fix
Code:
/opt/tf2server/tf2/scripts/GeoLiteCity

cd /opt/tf2server/tf2/scripts/GeoLiteCity

sh install_binary.sh

sudo perl -MCPAN -e 'install Geo::IP:urePerl'
where do we have to put this?
[
Quote:
cd /opt/tf2server/tf2/scripts/GeoLiteCity

sh install_binary.sh

sudo perl -MCPAN -e 'install Geo::IP:urePer
]

Also, it's showing 0/0 players on web with following logs:

Quote:
2014-01-05 18:00:02: - MYSQL: Connecting to MySQL database 'database_name' on 'localhost' as user 'user_name' ... connected ok
2014-01-05 18:00:02: - CONFIG: Reading database config...
2014-01-05 18:00:02: - CONFIG: I have found the following server configs in database:
2014-01-05 18:00:02: - S_CONFIG: 103.2.238.230:27019
2014-01-05 18:00:02: - S_CONFIG: 103.2.238.205:27033
2014-01-05 18:00:02: - ERROR: GeoIP method set to binary file lookup but /home1/bloggin5/perl//GeoLiteCity/GeoLiteCity.dat NOT FOUND
2014-01-05 18:00:02: - HLSTATSX: HLstatsX:CE 1.6.19 starting...
2014-01-05 18:00:02: - UDP: Opening UDP listen socket on port 27500 ... ok
2014-01-05 18:00:02: - HLSTATSX: Tracking Trend of the stats are enabled
2014-01-05 18:00:02: - HLSTATSX: Maximum Skill Change on all servers are 25 points
2014-01-05 18:00:02: - HLSTATSX: Minimum Skill Change on all servers are 2 points
2014-01-05 18:00:02: - HLSTATSX: Minimum Players Kills on all servers are 50 kills
2014-01-05 18:00:02: - HLSTATSX: Players chat logging is enabled
2014-01-05 18:00:02: - HLSTATSX: Broadcasting public chat is disabled
2014-01-05 18:00:02: - HLSTATSX: Event queue size is set to 10
2014-01-05 18:00:02: - HLSTATSX: HLstatsX:CE is now running (NameTrack mode, debug level 1)
2014-01-05 18:02:01: - HLSTATSX: No data since 120 seconds
2014-01-05 18:04:01: - HLSTATSX: No data since 120 seconds
2014-01-05 18:05:04: - HLSTATSX: Lost database connection. Trying to reconnect...
2014-01-05 18:05:04: - MYSQL: Connecting to MySQL database 'database_name' on 'localhost' as user 'user_name' ... connected ok
2014-01-05 18:05:04: - HLSTATSX: Insert new server trend timestamp
2014-01-05 18:06:02: - HLSTATSX: No data since 120 seconds
2014-01-05 18:08:03: - HLSTATSX: No data since 120 seconds
2014-01-05 18:10:03: - HLSTATSX: No data since 120 seconds
2014-01-05 18:10:05: - HLSTATSX: Lost database connection. Trying to reconnect...
2014-01-05 18:10:05: - MYSQL: Connecting to MySQL database 'database_name' on 'localhost' as user 'user_name' ... connected ok
2014-01-05 18:10:05: - HLSTATSX: Insert new server trend timestamp
2014-01-05 18:12:04: - HLSTATSX: No data since 120 seconds
Here is my web page - Click Here
Even if there are players on server it keeps showing me no data since 120 seconds.
I have put in my server.cfg:
Quote:
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
mp_logdetail 3
logaddress_add 119.18.51.78 27500
The main error is the 0/0 players displayed at my webpage, please let me know the solution to that..
__________________

Join Free File hosting - http://db.tt/VvebKSSW
[Free 2 GB cloud storage]

Last edited by shubhamgulati12; 01-05-2014 at 14:44.
shubhamgulati12 is offline
kikotte
Member
Join Date: Oct 2013
Old 01-05-2014 , 14:42   Re: Help guide Error Linux not Windows (Viewing this before you posted a new thread)
Reply With Quote #16

Quote:
Originally Posted by abrandnewday View Post
Seems to be working as it should. I don't see awards being given out yet, but I assume that will take some time to happen, as it's set up as a daily cronjob.

EDIT: GeoIP may be working because I CHMOD'd all the files for it to 755
That which take a long time is to update the website.

Works Player trend graph?
kikotte is offline
Send a message via Skype™ to kikotte
404UserNotFound
BANNED
Join Date: Dec 2011
Old 01-05-2014 , 14:42   Re: Help guide Error Linux not Windows (Viewing this before you posted a new thread)
Reply With Quote #17

Quote:
Originally Posted by kikotte View Post
That which take a long time is to update the website.

Works Player trend graph?
Trend graphs aren't showing (just text that says "Player Trend Graph")

Last edited by 404UserNotFound; 01-05-2014 at 14:42.
404UserNotFound is offline
kikotte
Member
Join Date: Oct 2013
Old 01-05-2014 , 14:43   Re: Help guide Error Linux not Windows (Viewing this before you posted a new thread)
Reply With Quote #18

Quote:
Originally Posted by shubhamgulati12 View Post
where do we have to put this?
[]

Also, it's showing 0/0 players on web with following logs:



Here is my web page - Click Here
Did you try it?
kikotte is offline
Send a message via Skype™ to kikotte
kikotte
Member
Join Date: Oct 2013
Old 01-05-2014 , 14:45   Re: Help guide Error Linux not Windows (Viewing this before you posted a new thread)
Reply With Quote #19

Quote:
Originally Posted by abrandnewday View Post
Trend graphs aren't showing (just text that says "Player Trend Graph")
Have you done this?

https://forums.alliedmods.net/showpo...99&postcount=1

(Player trend graph (Do not want to see the presence status.))

If you've done it right, it will take some time before the update itself.
kikotte is offline
Send a message via Skype™ to kikotte
kikotte
Member
Join Date: Oct 2013
Old 01-05-2014 , 14:53   Re: Help guide Error Linux not Windows (Viewing this before you posted a new thread)
Reply With Quote #20

Where does this ip?


logaddress_add 119.18.51.78 27500

Edit: Can you send this config on skype? hlstats.conf Someone is wrong with it.

Last edited by kikotte; 01-05-2014 at 14:55.
kikotte is offline
Send a message via Skype™ to kikotte
Reply


Thread Tools
Display Modes

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 13:21.


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