xcalibur Posted November 23, 2010 Share Posted November 23, 2010 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 More sharing options...
dimitrifrom31 Posted November 23, 2010 Share Posted November 23, 2010 the error looks like you have something wrong with the game server itself, not with the game config. run it under system account to confirm but im almost sure u have a permissions issue with your %serverip%%serverport% user. maybe u forgot to allow tcagroup to open sessions as service Link to comment Share on other sites More sharing options...
xcalibur Posted November 23, 2010 Author Share Posted November 23, 2010 I have 7 other servers working with my user. Where is this "open sessions as service"? I also tried running the server as ADMIN but that didn't work. Why only this server? My other ones work fine. I'm so lost :| Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 23, 2010 Share Posted November 23, 2010 Issue a save to that servers service settings via TCA then try starting it. Link to comment Share on other sites More sharing options...
xcalibur Posted November 23, 2010 Author Share Posted November 23, 2010 Not to sound like a noob patrick, but how do I do that? I read a lot about tcadmin, but I'm still new to it. Link to comment Share on other sites More sharing options...
ECF Posted November 24, 2010 Share Posted November 24, 2010 Click Gaming Servers and then on the IP of that gameserver. This opens the service settings page. Click the save button at the bottom and then try to start it again. Link to comment Share on other sites More sharing options...
xcalibur Posted November 24, 2010 Author Share Posted November 24, 2010 I got this "Service has been updated." then I hit start and still got the same error. It works just fine manually starting in the same directory just not when I hit start. Even though its the same command line. Link to comment Share on other sites More sharing options...
ECF Posted November 24, 2010 Share Posted November 24, 2010 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 More sharing options...
dimitrifrom31 Posted November 24, 2010 Share Posted November 24, 2010 and try to run the service under system account first. this will help to know if its somehow user related. Link to comment Share on other sites More sharing options...
xcalibur Posted November 24, 2010 Author Share Posted November 24, 2010 Ok, hit preview, Copied the info and then typed it in CMD and it worked just fine. I also changed the user info to ADMIN and tried running it, still the same. Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted November 24, 2010 Share Posted November 24, 2010 what does the windows log say ? have u tried to reinstall the server? Link to comment Share on other sites More sharing options...
xcalibur Posted November 24, 2010 Author Share Posted November 24, 2010 Yes, I have tried reinstalling many times and downloading a new copy also. I don't have any logs for alienswarm. Its something on TCAdmin's end or an issue with the .txt "supported games". Not sure since it runs just fine outside TCAdmin. Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted November 25, 2010 Share Posted November 25, 2010 windows events log not alienswarm log Link to comment Share on other sites More sharing options...
xcalibur Posted November 25, 2010 Author Share Posted November 25, 2010 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" Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted November 25, 2010 Share Posted November 25, 2010 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 More sharing options...
xcalibur Posted November 27, 2010 Author Share Posted November 27, 2010 Its working. A combination of doing that and reinstalling the server worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.