Multiple monitor instances and server instances, not showing as started

Having problems with the panel? Have questions? Post here!
Post Reply
mywarthog
Posts: 17
Joined: Mon Jul 13, 2015 9:10 pm

Multiple monitor instances and server instances, not showing as started

Post by mywarthog »

Operating System (i.e. win/Linux): Linux
Arch (32bit/64bit): x86_64
Install method : Manual, monitor (remote) only.
Database being used (sqlite, mysql): MySQL
If manual install; web server used: Remote on an IIS Server

Steps to reproduce issue:
- Boot VPS
- Press the 'Start' button on a CS:GO Server

Any troubleshooting steps you've tried.:
- Checked permissions of all files, tried killing ugccmon processes in htop, but to no avail, manual kills of spawned CS:GO server processes

Relevant log entries and/or event viewer messages.:

Code: Select all

11/12/2015 00:38:58     UGCCMon shutting down.  It may take a few minutes for the monitor to finalize and shutdown.
11/12/2015 00:45:03     UGCCMon Started (1.791) | Dbtype=mysql | Interval=60000ms
11/12/2015 00:45:03     OS:  Linux
11/12/2015 00:45:04     Using config file: ugccmon.cfg
11/12/2015 00:45:04     Running as user:  root
11/12/2015 00:45:06     Remote mode enabled.  ID=2, Port=64842
11/12/2015 00:45:06     Starting CPU/Memory Monitor thread
11/12/2015 00:45:06     Starting process crash monitor/advanced monitoring thread, firstbootpause: 30
11/12/2015 00:45:06     Starting auto updater thread
11/12/2015 00:45:06     Starting timed restarts thread
11/12/2015 00:45:06     Starting FTP Server on port 3338.  Using PASV data ports: 2000-65535
11/12/2015 00:45:06     -+-+-| Monitor Initialized |-+-+-
11/12/2015 00:45:07     Server has crashed three times in a short period of time, setting nostart to prevent crash/restart looping on server 15
11/12/2015 00:45:07     Home path: /home/ugcc
11/12/2015 00:45:10     CPU monitoring is disabled on linux, we will continue to monitor memory usage.
11/12/2015 00:45:10     No servers have resource monitoring enabled, shutting down resource monitoring thread.
11/12/2015 00:47:07     Remote Start Request Received for id: 15 SUCCESS
11/12/2015 00:47:07     Server id 15 is not running--restarting.
11/12/2015 00:47:07     Attempting to start id:  15...SUCCESS
11/12/2015 00:48:16     Error sending crash report
421 Downstream server error
11/12/2015 00:49:17     Server has crashed three times in a short period of time, setting nostart to prevent crash/restart looping on server 15
11/12/2015 00:49:51     Remote Start Request Received for id: 15 SUCCESS
11/12/2015 00:50:17     Server id 15 is not running--restarting.
11/12/2015 00:50:17     Attempting to start id:  15...SUCCESS
11/12/2015 00:51:22     Error sending crash report
421 Downstream server error
11/12/2015 00:52:23     Server has crashed three times in a short period of time, setting nostart to prevent crash/restart looping on server 15
If you're having trouble with a game server, please post the settings for the server.:
Working Directory - /home/dgclan/servers/CSGO/CSGO-A
Server Executable - /home/dgclan/servers/CSGO/CSGO-A/srcds_run
Command Line Arguments - -usercon +game_type 0 +game_mode 0 -maxplayers 10 +map de_dust2 +rcon_password "testing" -condebug
Hidden Command Line Arguments - -console -game csgo +ip 23.88.103.141 -port 27015
Kill Child Processes - On
Dependencies Follow Server - On
Dependencies Wait Time - 30
Query address - 23.88.103.141
Display address - 23.88.103.141
Game server port - 27015
Query Port - 0
Secondary query port - 0
RCON Port - 0
Restart on Crash and at System Startup - On
Alert users on crash - On
Enable advanced monitoring - On
Prevent Crash Loops - On
Enable maximum player monitoring - 0
Server startup time - 5



The server does NOT show that it is started on the main screen, and no query information is displayed. Running the command with the parameters by hand via ssh from the ugcc user account works without a problem. Remote monitor connection tests are completed successfully. Thoughts/help? I'm not sure if this is something right under my nose or not. Think/thought that I crossed all of the obvious stuff off the checklist, so to speak. Multiple IPs on the server. Monitor is run off of the main server IP address, while the game server is off of the first Virtual NIC. CS:GO processes spawn out of control with no wait (3 seconds, maybe 5-10 seconds per? If that?) while the ugccmon processes seem to be fixed, but unkillable (using SIGTERM in htop F9, along with multiple 'service ugccmon stop' commands, which apparantly do nothing). This is on Ubuntu 14.04 on a Xen VPS. Processes all spawn as root, but neither the root account nor sudo can kill them.
Masher
Site Admin
Posts: 3614
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Multiple monitor instances and server instances, not showing as started

Post by Masher »

You need to use a pid file with srcds on Linux. viewtopic.php?f=21&t=149

Disable kill child processes; it's not required.

Dislable advanced monitoring and Restart on crash until you get the server working as expected; then re-enable them.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Masher
Site Admin
Posts: 3614
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Multiple monitor instances and server instances, not showing as started

Post by Masher »

Not sure why you're unable to stop processes. You should be able too. does kill -9 *pid* work?
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
mywarthog
Posts: 17
Joined: Mon Jul 13, 2015 9:10 pm

Re: Multiple monitor instances and server instances, not showing as started

Post by mywarthog »

I will try that when I get home. Figured that it had to be a simple answer/solution, the funny thing is that I was looking right at that thread, too.

Also, while I'm thinking about it - is there a way to set a "Run As...." user for each of the game servers individually, as well as one for the monitor service? Want to avoid using root:root if I can. All accounts share groups.
Masher
Site Admin
Posts: 3614
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Multiple monitor instances and server instances, not showing as started

Post by Masher »

Currently no, but I'm investigating it.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
mywarthog
Posts: 17
Joined: Mon Jul 13, 2015 9:10 pm

Re: Multiple monitor instances and server instances, not showing as started

Post by mywarthog »

Alright. So I tried all that out - the pid file gets created, but the server sis till crashing.

Logs:

Code: Select all

11/12/2015 11:46:53 PM  UGCCMon Started (1.791) | Dbtype=mysql | Interval=30000ms
11/12/2015 11:46:53 PM  OS:  Linux
11/12/2015 11:46:53 PM  Using config file: ugccmon.cfg
11/12/2015 11:46:53 PM  Running as user:  root
11/12/2015 11:46:55 PM  Remote mode enabled.  ID=2, Port=64842
11/12/2015 11:46:55 PM  Starting CPU/Memory Monitor thread
11/12/2015 11:46:56 PM  Starting process crash monitor/advanced monitoring thread, firstbootpause: 35
11/12/2015 11:46:56 PM  Starting auto updater thread
11/12/2015 11:46:56 PM  Starting FTP Server on port 3338.  Using PASV data ports: 2000-65535
11/12/2015 11:46:56 PM  -+-+-| Monitor Initialized |-+-+-
11/12/2015 11:46:56 PM  Starting timed restarts thread
11/12/2015 11:46:56 PM  Home path: /home/ugcc
11/12/2015 11:46:56 PM  CPU monitoring is disabled on linux, we will continue to monitor memory usage.
11/12/2015 11:46:56 PM  No servers have resource monitoring enabled, shutting down resource monitoring thread.
11/12/2015 11:47:37 PM  Remote Start Request Received for id: 15 SUCCESS
11/12/2015 11:47:57 PM  Starting automatic update of ID: 15, appid=730.  We have ver 1.35.1.0 and required version is 13511
11/12/2015 11:49:01 PM  Error sending update started report
421 Downstream server error
11/12/2015 11:49:04 PM  Update finished for server id: 15 on 11/12/2015 11:49:04 PM
11/12/2015 11:50:08 PM  Error sending update finished report
421 Downstream server error
11/12/2015 11:52:49 PM  Remote Start Request Received for id: 15 SUCCESS
11/12/2015 11:53:08 PM  Remote Start Request Received for id: 15 SUCCESS
11/12/2015 11:58:45 PM  Remote update request received for server id: 15
11/12/2015 11:58:49 PM  Remote Update Complete for server id: 15
11/13/2015 12:00:15 AM  Checking for servers that need to be automatically disabled
11/13/2015 12:00:15 AM  Found 0 server(s) to automatically disable
11/13/2015 12:10:09 AM  Starting automatic update of ID: 15, appid=730.  We have ver 1.35.1.0 and required version is 13511
11/13/2015 12:11:13 AM  Error sending update started report
421 Downstream server error
11/13/2015 12:11:16 AM  Update finished for server id: 15 on 11/13/2015 12:11:16 AM
11/13/2015 12:12:20 AM  Error sending update finished report
421 Downstream server error
11/13/2015 12:33:43 AM  Remote Start Request Received for id: 15 SUCCESS

Code: Select all

#
#Console initialized.
#Using breakpad minidump system 740/13511.238.DC
#Loading VPK file hashes for pure server operation.
#Game.dll loaded for "Counter-Strike: Global Offensive"
#CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
#CGameEventManager::AddListener: event 'game_newmap' unknown.
#CGameEventManager::AddListener: event 'finale_start' unknown.
#CGameEventManager::AddListener: event 'round_start' unknown.
#CGameEventManager::AddListener: event 'round_end' unknown.
#CGameEventManager::AddListener: event 'difficulty_changed' unknown.
#CGameEventManager::AddListener: event 'player_connect' unknown.
#CGameEventManager::AddListener: event 'player_disconnect' unknown.
#GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools.
Server is hibernating
No web api auth key specified - workshop downloads will be disabled.
maxplayers set to 64
ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar
Unknown command "cl_bobamt_vert"
Unknown command "cl_bobamt_lat"
Unknown command "cl_bob_lower_amt"
Unknown command "cl_viewmodel_shift_left_amt"
Unknown command "cl_viewmodel_shift_right_amt"
Unknown command "cl_teamid_min"
Unknown command "cl_teamid_max"
Unknown command "cl_teamid_overhead"
Unknown command "cl_teamid_overhead_maxdist"
---- Host_NewGame ----
Then it crashes/dies. So further than before, but still not there.
Masher
Site Admin
Posts: 3614
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Multiple monitor instances and server instances, not showing as started

Post by Masher »

Please post all your settings from the executable tab.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
mywarthog
Posts: 17
Joined: Mon Jul 13, 2015 9:10 pm

Re: Multiple monitor instances and server instances, not showing as started

Post by mywarthog »

The only changes from the OP are the now unchecked boxes like you said, this in the hidden arguments (-norestart -pidfile /home/dgclan/servers/CSGO/A.pid -console -game csgo +ip 23.88.103.141 -port 27015) and then this in the "PID File" field (/home/dgclan/servers/CSGO/A.pid)
Masher
Site Admin
Posts: 3614
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Multiple monitor instances and server instances, not showing as started

Post by Masher »

Remove norestart option. Does that fix it?
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
mywarthog
Posts: 17
Joined: Mon Jul 13, 2015 9:10 pm

Re: Multiple monitor instances and server instances, not showing as started

Post by mywarthog »

Got it! :D

That appears to have fixed it. Had to manually delete the created .pid file at first to get it running, but now all works as well as expected. Anything previously disabled that should/can be re-enabled now via monitoring?
Masher
Site Admin
Posts: 3614
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Multiple monitor instances and server instances, not showing as started

Post by Masher »

You can re-enable the monitoring features once you confirm the game query works (viewing map/players) from within the panel.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Post Reply