Class C Error

Discussion in 'Linux' started by brseker, Aug 29, 2011.

  1. sinekt New Member

    I'm still having this problem. Freshly downloaded server files, with hldsupdatetool, and the moment I copy rev emu files, I get:

    [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
    *********************************************************
    * Unable to load Steam support library.*
    * This server will operate in LAN mode only.*
    *********************************************************

    Server works just fine without RevEmu .so files.
  2. bir3yk Member

    rename original steamclient.so in steamclient_valve.so? you have not use steamclient_valve.so - problem with steamlegit clients.
  3. sinekt New Member

    Yea, I managed to make it work.

    I don't know why it didn't work, I tried both .so files and both gave the same result, then I did the exact same thing as before and it started running ok, without any modifications. I did have the original steamclient.so freshly downloaded with hldsupdatetool and renamed to steamclient_valve.so.

    Anyway, now it's ok and people can play. Thanks for your emulator !;)
  4. GBLTeam New Member

    HOW TO FIX???? INSTALL LATEST VERSION OF SERVER AND LATEST PATCH OV REVCRW?

    Cant connect!
    Code:
    LAN servers are restricted to local clients (class C).

    Code:
    [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.[/FONT]
    [FONT=Consolas]*********************************************************[/FONT]
    [FONT=Consolas]*       Unable to load Steam support library.*[/FONT]
    [FONT=Consolas]*       This server will operate in LAN mode only.*[/FONT]
    [FONT=Consolas]*********************************************************[/FONT]
    [FONT=Consolas]'banned_user.cfg' not present; not executing.[/FONT]
    [FONT=Consolas]'banned_ip.cfg' not present; not executing.[/FONT]
    [/code][/code][/FONT]
  5. ChrisTX Administrator

    GBLTeam, would be great if you wouldn't post in all caps. :s
    Also, don't double post.

    As for your issue, please post rev.ini and tell us what binary you copied where and which of the two glibc builds you tried to use on what operating system.
  6. GBLTeam New Member

    RevCrew:

    Code:
    [steamclient]
     
    PlayerName = SteamPlayer
    Logging=True
     
    # Change ClientDLL to point to the original steamclient.so
    # This setting will enable VAC for your server and your server will be listed
    # on Valve master server! Also, Steam clients will have their regular Steam IDs
    # Please use the steamclient.dll from Steam folder!
    #
    # Default = (n/a)
    #
    ClientDLL=./bin/steamclient_valve.so
     
    # DisableUnlockedItems enables you to choose whether to use the new weapons in
    # Team Fortress 2. This setting applies to you only if you are a regular player,
    # or to all your clients if you are a server hoster.
    #
    # Default = False
    #
    DisableUnlockedItems = True
     
     
    [GameServer]
     
    # GameServer policy rules
    # Allow revEmu v9.74 ~ 9.82 clients to join your server
    #
    # Default = True
    #
    AllowOldRev74=False
     
    # Allow revEmu v9.63 ~ 9.73 clients to join your server
    # revEmu v9.62 and below will be rejected nevertheless
    #
    # Default = True
    #
    AllowOldRev=False
     
    # Allow unknown clients to join your server
    #
    # Default = True
    #
    AllowUnknown=False
     
    # Allow cracked Steam clients to join your server
    #
    # Default = True
    #
    #AllowCracked=False
     
    # Allow legitimate Steam clients to join your server
    #
    # Default = True
    #
    #AllowLegit=False
     
     
    #Allowed any count connect Unknown client with one IP (25 Unknown clients 1 IP default true)
    #
    AllowedAnyCountConnectUnknownClientWithOneIP=False
     
    #Use steamclient_test.so and NSNet (tf2 only)
    [GameServerNSNet]
    #EnableNSNetSvc = [False/UDP/TCP/BOTH]
    #NSNetDedicatedPort = Ïîðò(Òîëüêî äëÿ Slave ñåðåâðîâ)
    #AdditionalSlaveServer = IP:PORT
    #AdditionalSlaveServer = IP:PORT
    #AdditionalSlaveServer = IP:PORT
    #AdditionalSlaveServer = IP:PORT


    Im using this i rename the original to "steamclient_valve.so" and this to "steamclient.so"[/b]

    Code:
    steamclient_nologging_18022012_glibc2.11.1.so
    Compputer performance:

    Code:
    Operating system is: Centos 5.7 (Final) 64-bit
    Processor: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
    GNU Libc version: ldd (GNU libc) 2.5
    

    Start Commands:

    First which not work:
    Code:
    ./srcds_linux: error while loading shared libraries: libtier0.so: cannot open shared object file: No such file or directory
    
    Two which work:
    Code:
    Enabling debug mode
    Server will auto-restart if there is a crash.
    Running a benchmark to measure system clock frequency...
    Finished RDTSC test. To prevent the startup delay from this benchmark, set the environment variable RDTSC_FREQUENCY to 3092.000000 on this system. This value is dependent upon the CPU clock speed and architecture and should be determined separately for each server. The use of this mechanism for timing can be disabled by setting RDTSC_FREQUENCY to 'disabled'.
    Using breakpad minidump system
    Using breakpad crash handler
    Console initialized.
    Game.dll loaded for "Counter-Strike: Source"
    Setting breakpad minidump AppID = 240
    Forcing breakpad minidump interfaces to load
    Looking up breakpad interfaces from steamclient
    Forcing breakpad minidump interfaces to load
    Looking up breakpad interfaces from steamclient
    maxplayers set to 24
    No '-replayserverdir' parameter found - using default replay folder.
    Replay: Creating thread pool...succeeded.
    Replay: Starting thread pool with 4 threads...succeeded.
    Cleaning files from temp dir, "/home/gamefiles/css/css/cstrike/replay/server/tmp/" ...no files removed.
    Looking up breakpad interfaces from steamclient
    Looking up breakpad interfaces from steamclient
    Unknown command "r_decal_cullsize"
    maxplayers set to 24
    Network: IP (hided), mode MP, dedicated Yes, ports 27016 SV / 27005 CL
    ConVarRef room_type doesn't point to an existing ConVar
    Executing dedicated server config file server.cfg
    Initializing Steam libraries for secure Internet server
    Failed to load Steam Service
    ServiceStart: failed to start
    Forcing breakpad minidump interfaces to load
    Looking up breakpad interfaces from steamclient
    Looking up breakpad interfaces from steamclient
     
     
    Connection to Steam servers successful.
       Public IP is (hided).
    Assigned anonymous gameserver Steam ID [A-1:543417347(2885)].
    VAC secure mode is activated.

    With the two command which working there giving some warnings/errors like this:

    Code:
    ConVarRef room_type doesn't point to an existing ConVar
    Failed to load Steam Service
    ServiceStart: failed to start
    No '-replayserverdir' parameter found - using default replay folder.
    


    Server working fine but when i turn on the metamod server crashing.

    Code:
    Using default binary: ./srcds_linux
    Enabling debug mode
    Server will auto-restart if there is a crash.
    Running a benchmark to measure system clock frequency...
    Finished RDTSC test. To prevent the startup delay from this benchmark, set the e                                                                                                                                                                                                                                                                                                                         nvironment variable RDTSC_FREQUENCY to 3092.000000 on this system. This value is                                                                                                                                                                                                                                                                                                                         dependent upon the CPU clock speed and architecture and should be determined se                                                                                                                                                                parately for each server. The use of this mechanism for timing can be disabled b 
    Using breakpad crash handler
    Console initialized.
    Game.dll loaded for "Counter-Strike: Source"
    Setting breakpad minidump AppID = 240
    Forcing breakpad minidump interfaces to load
    Looking up breakpad interfaces from steamclient
    Forcing breakpad minidump interfaces to load
    Looking up breakpad interfaces from steamclient
    maxplayers set to 24
    Replay system server init failed!
    Looking up breakpad interfaces from steamclient
    Looking up breakpad interfaces from steamclient
    ./srcds_run: line 372: 25864 Segmentation fault   (core dumped) $HL_CMD
    cat: hlds.25833.pid: No such file or directory
    email debug.log to linux@valvesoftware.com
    Sun Feb 26 22:27:50 EET 2012: Server restart in 10 seconds
    Getting this errors if metamod is turned on:

    Code:
    Replay system server init failed!
    ./srcds_run: line 372: 25864 Segmentation fault   (core dumped) $HL_CMD


    Gameinfo.txt for metamod:

    Code:
    SearchPaths
    {
                         GameBin             |gameinfo_path|addons/metamod/bin
    Game|gameinfo_path|.
    Gamecstrike
    Game                    |all_source_engine_paths|hl2// HL2 should always come last
    }

    Tryed and with Game hl2 not all source but same error. Please help me how to fix this ? Why metamod & sourcemod not working everything
    is fine there no problems.
  7. bir3yk Member

    apt-get install ia32-libs
  8. ChrisTX Administrator

    That doesn't work on CentOS; it doesn't use aptitude nor is the package named ia32-libs.

    I however, don't know the exact name of it either. For some help, you can consider these requirements, they'll be the same amongst all Source based servers.