Unmanaged VDS

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
User avatar
Edge100x
Founder
Founder
Posts: 12962
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Unmanaged VDS

Post by Edge100x »

The server's logs would go into the "logs" folder (such as "c:\game installs\sourcebase\orangebox\cstrike\logs" for a CS:S server). You'd want to look for one around the time of the crash.

If the log looks cut off, try adding -condebug to your server command line, and the server should generate an additional log in the main game folder, called something like "console.log". This flushes constantly and should show all the information.
mattb
This is my homepage
This is my homepage
Posts: 86
Joined: Thu Aug 05, 2010 7:44 pm

Re: Unmanaged VDS

Post by mattb »

Ok
orangebox/dumps

crash_srcds.exe_20101012070037_1
crash_srcds.exe_20101011090345_1

orangebox/cstrike/logs
Attachments
dmpfiles.rar
(47.63 KiB) Downloaded 202 times
logs.rar
(144.8 KiB) Downloaded 205 times
mattb
This is my homepage
This is my homepage
Posts: 86
Joined: Thu Aug 05, 2010 7:44 pm

Re: Unmanaged VDS

Post by mattb »

I added -codedebug never saw console.log

Only orangebox/bin/logs/connection_log_27015.txt
User avatar
Edge100x
Founder
Founder
Posts: 12962
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Unmanaged VDS

Post by Edge100x »

With -condebug, do you see any .log files at all in the cstrike folder or orangebox folder?
mattb
This is my homepage
This is my homepage
Posts: 86
Joined: Thu Aug 05, 2010 7:44 pm

Re: Unmanaged VDS

Post by mattb »

Did you see the logs I posted?

orangebox no logs folder

cstrike/logs no console.log file
User avatar
Edge100x
Founder
Founder
Posts: 12962
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Unmanaged VDS

Post by Edge100x »

The logs you posted don't show crashes -- they close normally, which means that the server was still running properly after it wrote each file.
mattb
This is my homepage
This is my homepage
Posts: 86
Joined: Thu Aug 05, 2010 7:44 pm

Re: Unmanaged VDS

Post by mattb »

Some reason I think its when the map changes it crashes alone, using mapchooser and rtv mapchooser disabled end of map vote. I dont know why it crashes :(
User avatar
Edge100x
Founder
Founder
Posts: 12962
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Unmanaged VDS

Post by Edge100x »

Without log from when it crashes, it's very tough to say what's going on =\
mattb
This is my homepage
This is my homepage
Posts: 86
Joined: Thu Aug 05, 2010 7:44 pm

Re: Unmanaged VDS

Post by mattb »

Any suggestions on an auto restart, I know -autoupdate restarts the server after a crash. There a crond command.

1. crond
2. bat file

I've been reading here bat file

http://forums.srcds.com/viewtopic/13722

http://www.srcds.com/db/engine.php?suba ... 1097362093
User avatar
Edge100x
Founder
Founder
Posts: 12962
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Unmanaged VDS

Post by Edge100x »

crond is for Linux. On Windows, you can just set up a batch file that loops and starts the server, like:

Code: Select all

:label
[whatever command line you already use]
goto label
mattb
This is my homepage
This is my homepage
Posts: 86
Joined: Thu Aug 05, 2010 7:44 pm

Re: Unmanaged VDS

Post by mattb »

L 10/16/2010 - 08:46:40: Log file started (file "logs\L1016006.log") (game "c:\game installs\sourcebase\orangebox\cstrike") (version "4349")
L 10/16/2010 - 08:46:41: World triggered "Round_Start"
L 10/16/2010 - 08:46:42: server_cvar: "sm_nextmap" "cs_office"
L 10/16/2010 - 08:46:42: World triggered "Round_Start"
L 10/16/2010 - 08:46:43: Loading map "de_dust2"
L 10/16/2010 - 08:46:53: [META] Loaded 0 plugins (1 already loaded)
L 10/16/2010 - 08:46:53: server_message: "quit"
L 10/16/2010 - 08:46:53: Log file closed

when I add -console to my command line for 1 of my servers it doesn't start up.

There is no plugin or command quit in the server.cfg when I take out -console on the command line it works.
:label
[whatever command line you already use]
goto label
save that as .bat then where would i put that and does it execute by itself?
mattb
This is my homepage
This is my homepage
Posts: 86
Joined: Thu Aug 05, 2010 7:44 pm

Re: Unmanaged VDS

Post by mattb »

L 10/16/2010 - 08:46:40: Log file started (file "logs\L1016006.log") (game "c:\game installs\sourcebase\orangebox\cstrike") (version "4349")
L 10/16/2010 - 08:46:41: World triggered "Round_Start"
L 10/16/2010 - 08:46:42: server_cvar: "sm_nextmap" "cs_office"
L 10/16/2010 - 08:46:42: World triggered "Round_Start"
L 10/16/2010 - 08:46:43: Loading map "de_dust2"
L 10/16/2010 - 08:46:53: [META] Loaded 0 plugins (1 already loaded)
L 10/16/2010 - 08:46:53: server_message: "quit"
L 10/16/2010 - 08:46:53: Log file closed

when I add -console to my command line for 1 of my servers it doesn't start up.

There is no plugin or command quit in the server.cfg when I take out -console on the command line it works.

:label
[whatever command line you already use]
goto label

save that as .bat then where would i put that and does it execute by itself?


My server crashed 24 slots 15 people on there and it was lagging then crashed only that server and I couldnt connect to the box delay, but the other servers were up.
axelkic
New to forums
New to forums
Posts: 14
Joined: Mon Sep 14, 2009 5:12 pm

Re: Unmanaged VDS

Post by axelkic »

hi,

i'm not a guru in cs:s server management, and after the most recent update to the ob engine i haven't even tried to install one. however, i do have some solutions to questions that you asked.

for your question regarding a tcadmin like program or system, i would learn about windows services, this is essentially what tcadmin uses anyway. i have a link here. this service system is very reliable, and if you configure your server the way you want, you don't even need to login or have an explorer.exe open, effectively freeing up more resources.

as far as these "random" crashes go, it's safe to assume that the hardware or setup is not faulty, so don't grab onto these ideas. i only say this, because i would always try to divert blame off of my misconfigs with cod4 servers, and in the end i found out it was always some syntax that i thought i could "1-up" and be smarter than everyone else. generally when troubleshooting for plugins, your best bet is to disable each one, and enable one at a time with a server restart between each. yes, this will take a long time, but yes it will give you a definite answer as to which plugin is failing.

but hey, what the hell do i know. best of luck with your troubleshooting.
axelkic
New to forums
New to forums
Posts: 14
Joined: Mon Sep 14, 2009 5:12 pm

Re: Unmanaged VDS

Post by axelkic »

excuse the double post,

i didn't quite think through that you may not have the resources that the tutorial i linked required, so i did a little better job searching for you...

1) doing services through the command line
2) firedaemon - run applications and windows services

you could go with edge100x's batch file solution, it gets the job done, but it's not ideal by any means. another note on the firedaemon program, they offer a range of variations on it, one of them includes a web interface. i haven't talked to them about the gameserver capability or compatibility with their services, but i'm sure they could respond from the contact information off that website found here.
mattb
This is my homepage
This is my homepage
Posts: 86
Joined: Thu Aug 05, 2010 7:44 pm

Re: Unmanaged VDS

Post by mattb »

thanks for replying

How would I downloaded/install

http://msdn.microsoft.com/en-us/library ... 80%29.aspx

http://support.microsoft.com/kb/251192

The 2 programs to create services both do the same thing I guess :P This is run so I can setup sort of like a batch file to restart every let say 8 hours?
Post Reply