Jump to content

Error while starting Alienswarm


xcalibur

Recommended Posts

When I try to start my alien swarm server from tcadmin i get this error.

Error while starting: Cannot start service TC81076568334327150337124 on computer '.'.

 

I then see if something is wrong with the install and so I try to run it manually using CMD. It runs fine.

 

So my question is why does it not work in tcadmin?

 

 

Here's my generated "alien swarm" config for TCAdmin.

<?xml version="1.0" encoding="Windows-1252" standalone="yes"?>
<GAME>
 <GAMEID>TC6176383447324</GAMEID>
 <NAME>Alien Swarm</NAME>
 <SHORTNAME>Swarm</SHORTNAME>
 <DEFAULTPORT>27015</DEFAULTPORT>
 <DEFAULTQUERYPORT>27015</DEFAULTQUERYPORT>
 <DEFAULTRCONPORT>27015</DEFAULTRCONPORT>
 <FILESFOLDER>alienswarm</FILESFOLDER>
 <RELATIVEEXECUTABLE>/srcds.exe</RELATIVEEXECUTABLE>
 <RELATIVEWORKINGDIRECTORY>/</RELATIVEWORKINGDIRECTORY>
 <RELATIVEUSERFILES>/</RELATIVEUSERFILES>
 <INSTALLEDPATCH />
 <FILEMAN_ACCESS>False</FILEMAN_ACCESS>
 <FTP_ACCESS>False</FTP_ACCESS>
 <IS_VOICE_SERVER>False</IS_VOICE_SERVER>
 <DEFAULTCMDLINE>-console -game swarm -ip %serverip% -port %serverport% -maxplayers 4 +exec server.cfg +map lobby</DEFAULTCMDLINE>
 <DEFAULTCUSTOMCMDLINE>-console -game swarm -ip %serverip% -port %serverport% -maxplayers 4 +exec server.cfg +map lobby</DEFAULTCUSTOMCMDLINE>
 <PRIVATECMDLINE>-console -game swarm -ip %serverip% -port %serverport% -maxplayers 4 +exec server.cfg +map lobby</PRIVATECMDLINE>
 <PRIVATECUSTOMCMDLINE>-console -game swarm -ip %serverip% -port %serverport% -maxplayers 4 +exec server.cfg +map lobby</PRIVATECUSTOMCMDLINE>
 <PBFOLDER>pb</PBFOLDER>
 <PBURL />
 <PBENABLEADMINS>False</PBENABLEADMINS>
 <PBENABLEUSERS>False</PBENABLEUSERS>
 <PBENABLEADMINS>False</PBENABLEADMINS>
 <PBDELETEADMINS>False</PBDELETEADMINS>
 <PBDELETEUSERS>False</PBDELETEUSERS>
 <PBLOGS>pb/svlogs</PBLOGS>
 <PBSS>pb/svss</PBSS>
 <STEAMGAMETYPE>alienswarm</STEAMGAMETYPE>
 <STEAMENABLEADMINS>True</STEAMENABLEADMINS>
 <STEAMENABLEUSERS>True</STEAMENABLEUSERS>
 <BRANDEDTEXT />
 <BRANDEDTEXTATEND>False</BRANDEDTEXTATEND>
 <BRANDEDTEXTSPACE>False</BRANDEDTEXTSPACE>
 <BRANDEDREGEX />
 <ALLOWUSERINSTALL>True</ALLOWUSERINSTALL>
 <PORTINCREMENT>1</PORTINCREMENT>
 <GAMEPORTEXPRESSION />
 <QUERYPORTEXPRESSION />
 <RCONPORTEXPRESSION />
 <STOPDELAY>3</STOPDELAY>
 <CUSTOMPORT1>0</CUSTOMPORT1>
 <CUSTOMPORT2>0</CUSTOMPORT2>
 <CUSTOMPORT3>0</CUSTOMPORT3>
 <CUSTOMPORT4>0</CUSTOMPORT4>
 <CUSTOMPORT5>0</CUSTOMPORT5>
 <CUSTOMPORT1EXPRESSION />
 <CUSTOMPORT2EXPRESSION />
 <CUSTOMPORT3EXPRESSION />
 <CUSTOMPORT4EXPRESSION />
 <CUSTOMPORT5EXPRESSION />
 <OS>1</OS>
 <ONLYDEFAULTPORT>False</ONLYDEFAULTPORT>
 <INTERACTDESKTOP>False</INTERACTDESKTOP>
 <CMDBUILDERUSERACCESS>True</CMDBUILDERUSERACCESS>
 <INSTALLSCRIPT>@echo off&setlocal enableextensions 
for %%* in (.) do set serviceid=%%~n* 
if not defined serviceid set serviceid=%CD:\=% 
net user %serverip%%serverport% 52Cewrut /add /passwordchg:no 
net localgroup tcagroup %serverip%%serverport% /add 
net localgroup users %serverip%%serverport% /delete 
net accounts /maxpwage:unlimited 
cacls "D:\TCAdmin Control Panel\Monitor\Services\%serviceid%" /t /e /g %serverip%%serverport%:f 
cacls %gameserverroot%.. /t /e /g %serverip%%serverport%:f 
sc config %serviceid% obj= .\%serverip%%serverport% password= 52Cewrut</INSTALLSCRIPT>
 <UNINSTALLSCRIPT />
 <NEWEMAILSUBJECT />
 <NEWEMAILBODY />
 <REINSTALLEMAILBODY />
 <REINSTALLEMAILSUBJECT />
 <SHOWINCREATELIST>True</SHOWINCREATELIST>
 <SHOWCONFIGSICON>True</SHOWCONFIGSICON>
 <FORCE_FTP_PATH />
 <START_CPU_0>False</START_CPU_0>
 <LOG_PATH />
 <LOG_EXTENSIONS>log</LOG_EXTENSIONS>
 <ENABLE_LOG_VIEWER>False</ENABLE_LOG_VIEWER>
 <DISABLE_REINSTALL>False</DISABLE_REINSTALL>
 <COMPATIBILITY>38</COMPATIBILITY>
 <GAME-MONITOR.COM>2</GAME-MONITOR.COM>
 <DEFAULTCONFIGFILES>
   <CONFIGFILE>
     <GAMEID>TC6176383447324</GAMEID>
     <CONTENTS>//Host Name
hostname "%hostname%"
// Rcon Cvars
rcon_password ?%rconpassword%? //Set?s remote control password

// Server password
sv_password "%privatepassword%"
</CONTENTS>
     <DESCRIPTION>Configuration file</DESCRIPTION>
     <DISPLAYNAME>server.cfg</DISPLAYNAME>
     <RELATIVEPATH>/swarm/cfg/server.cfg</RELATIVEPATH>
     <EDITOR_CONTENTS />
     <ALLOWEDITWHENFMDISABLED>True</ALLOWEDITWHENFMDISABLED>
     <ALLOWEDITWHENFMENABLED>True</ALLOWEDITWHENFMENABLED>
   </CONFIGFILE>
 </DEFAULTCONFIGFILES>
 <RCONCOMMANDS />
</GAME>

Link to comment
Share on other sites

Go to the server settings page you were just in and look for the preview button next to the default commandline. Click it and the entire commandline including the path to the exe will be displayed at the top of the page.

 

Copy that and run it under a command prompt and see what happens. Or you can also create a desktop shortcut with the info as well.

Link to comment
Share on other sites

My bad. i checked the logs an it says the service did not start due to login failure. strange, my other servers work but not this.

 

user does not have right "log on as a service"

 

 

try givingg it again that right or simply go to services.msc and set it manually there to another user then back to that user, it should say "user was given the right to start session as service" then start the service and see if it works

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use