Dennis Posted February 5, 2014 Share Posted February 5, 2014 [s_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. [s_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll. szCmd: /bin/sh -c '"/root/.steam/root/steam.sh" steam://run/215 -game csgo -console -condebug -usercon +game_type 0 +game_mode 0 -maxplayers_override 12 +maxplayers 12 +exec server.cfg +mapgroup mg_bomb +map de_dust -ip 37.59.56.194 -port 27030 -tickrate -tickrate 128' & serverGameDLL->DLLInit() failed. /bin/sh: /root/.steam/root/steam.sh: No such file or directory Segmentation fault Does anyone know what is causing this? I'm using Debian 7 64-bit. Link to comment Share on other sites More sharing options...
adamnp Posted February 6, 2014 Share Posted February 6, 2014 make sure your steam_appid.txt is properly configured..... Also - extremely stupid to run the game as root............major nono! Link to comment Share on other sites More sharing options...
Dennis Posted February 6, 2014 Author Share Posted February 6, 2014 I ran the game server as root when testing, just to see if it had something to do with permissions It's a vanilla server, all files are downloaded through SteamCmd, so everything should be fine. Link to comment Share on other sites More sharing options...
Dennis Posted February 6, 2014 Author Share Posted February 6, 2014 Wow, this is damn weird. I just tried copying the files from an old server, and now the new server will run. It seems like the files from SteamCmd is corrupt or something. I've tried on 3 different servers. Link to comment Share on other sites More sharing options...
Raizio Posted February 6, 2014 Share Posted February 6, 2014 Try just copying over steam.dll wonder if that's the cause. Link to comment Share on other sites More sharing options...
icekohl Posted February 6, 2014 Share Posted February 6, 2014 Problems like this that I've had in the past is with steamcmd itself. Fix by deleting everything in steamcmd directory except executable, run steamcmd by itself so it updates like a fresh install. Everything should work from there on out. Link to comment Share on other sites More sharing options...
Dennis Posted February 7, 2014 Author Share Posted February 7, 2014 I've tried deleting everything SteamCMD related on 3 different servers running 2 different Linux distros in 2 different datacentres, nothing helps. It worked in January. Also, I'm not the only one with the problem, I can see. Link to comment Share on other sites More sharing options...
Raizio Posted February 7, 2014 Share Posted February 7, 2014 Figured it out. I had the same problem last night. Add the file steam_appid.txt in the same location as srcds.exe put 730 in there. Make sure you repair permissions, TCAdmin User might not be able to read it otherwise. Link to comment Share on other sites More sharing options...
Dennis Posted February 7, 2014 Author Share Posted February 7, 2014 I also did this yesterday, but it only worked when I ran the server as root. tcagame can't run the server, no matter how many times I click repair permissions. Link to comment Share on other sites More sharing options...
Raizio Posted February 7, 2014 Share Posted February 7, 2014 Ahh, worked for me on Windows. Link to comment Share on other sites More sharing options...
Dennis Posted February 7, 2014 Author Share Posted February 7, 2014 And I'm pretty sure it has something to do with permissions, since I can run the server as root... Link to comment Share on other sites More sharing options...
FiendServers Posted February 7, 2014 Share Posted February 7, 2014 Figured it out. I had the same problem last night. Add the file steam_appid.txt in the same location as srcds.exe put 730 in there. Make sure you repair permissions, TCAdmin User might not be able to read it otherwise. thanks that worked for me cept I had to use 740 for linux Link to comment Share on other sites More sharing options...
Dennis Posted February 7, 2014 Author Share Posted February 7, 2014 I can get it working on Ubuntu, but not on Debian. This is the total output: http://pastebin.com/bhYsFvpC The server won't run as tcagame, but there's absolutely no problems when running as root. What the f has Valve done... All except one of our machines run Debian, and it just won't run. Link to comment Share on other sites More sharing options...
Raizio Posted February 7, 2014 Share Posted February 7, 2014 thanks that worked for me cept I had to use 740 for linux Glad to hear it worked for you! Link to comment Share on other sites More sharing options...
Raizio Posted February 7, 2014 Share Posted February 7, 2014 I can get it working on Ubuntu, but not on Debian. This is the total output: http://pastebin.com/bhYsFvpC The server won't run as tcagame, but there's absolutely no problems when running as root. What the f has Valve done... All except one of our machines run Debian, and it just won't run. Your console shows you already get passed the error of steam_appid Then it would error up as soon as srcds itself has booted and it tries to launch the game. Your error does seem more related to something in the bin folder of srcds. Generally when it tries to initialize the Steam libraries, on Windows this means Steam.dll, so maybe Steam.so on Linux? Trick is to figure out what Ubuntu does differently from Debian..which is extremely tricky. Link to comment Share on other sites More sharing options...
FiendServers Posted February 7, 2014 Share Posted February 7, 2014 actually I spoke to soon I now get this when I try to join the server "steam verification rejected" tried deleting my clientregistry.blob but that didn't work Link to comment Share on other sites More sharing options...
Dennis Posted February 7, 2014 Author Share Posted February 7, 2014 I have no idea why it won't work on Debian. It's pretty stupid, and I'm not the only one with the problem, it seems. I wonder what in the world they have changed since there's no steam_appid.txt anymore... Link to comment Share on other sites More sharing options...
Raizio Posted February 7, 2014 Share Posted February 7, 2014 actually I spoke to soon I now get this when I try to join the server "steam verification rejected" tried deleting my clientregistry.blob but that didn't work I had validation rejected when I set the steam_appid to 740, hence 730 worked for me. Link to comment Share on other sites More sharing options...
ECF Posted February 7, 2014 Share Posted February 7, 2014 On Linux you may have to set permissions manually on the folder or file so the TCAdmin user can access it. Link to comment Share on other sites More sharing options...
Raizio Posted February 7, 2014 Share Posted February 7, 2014 I have no idea why it won't work on Debian. It's pretty stupid, and I'm not the only one with the problem, it seems. I wonder what in the world they have changed since there's no steam_appid.txt anymore... You have to add the steam_appid.txt manually. it did exist in older installations. Seems they accidentally forgot it in this release, hence why fresh steamcmd installs are 'corrupt' they just lack that file. Link to comment Share on other sites More sharing options...
Dennis Posted February 7, 2014 Author Share Posted February 7, 2014 On Linux you may have to set permissions manually on the folder or file so the TCAdmin user can access it. I tried doing chown -r tcagame /home/tcagame/ but that didn't help. I suspect it may try to reach some files outside of the installation dir. Link to comment Share on other sites More sharing options...
FiendServers Posted February 8, 2014 Share Posted February 8, 2014 I had validation rejected when I set the steam_appid to 740, hence 730 worked for me. that's weird lol but 730 works for me Link to comment Share on other sites More sharing options...
Dennis Posted February 10, 2014 Author Share Posted February 10, 2014 Oh this is real stupid! Apparently Valve messed something up, and a couple of servers (including Garry's Mod and CS:GO) won't run on the grs kernel anymore. Wow, it would be great if they had somewhere to post important information like that... Like, let's say a forum or something. I've been going through almost all posts from the past month regarding CS:GO on their forums, and not one mentioned that. I wonder what's going on... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.