Raised This Month: $32 Target: $400
 8% 

Solved Cant connect to my cs 1.6 server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
crystic
Junior Member
Join Date: Oct 2021
Old 10-23-2021 , 09:15   Cant connect to my cs 1.6 server
Reply With Quote #1

After some time of not running my cs server i wanted to run it again, last time it ran perfectly, now i cant connect to it myself.

command i use to run it:
Code:
./hlds_run -console -game cstrike +maxplayers 32 +map de_dust2 +sv_lan 0
And this is what i get:
Code:
Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/root/.steam/sdk32/steamclient.so
with error:
/root/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 15:54:29 Apr  6 2020 (2186)
STEAM Auth Server
Server IP address 127.0.0.1:27015

   Metamod-r version 1.3.0.128 Copyright (c) 2016-2018 ReHLDS Team (rebuild of original Metamod by Will Day and Jussi Kivilinna)
   Metamod-r comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `meta gpl' for details.

Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:48 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70

   AMX Mod X version 1.8.2 Copyright (c) 2004-2006 AMX Mod X Development Team
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
   This is free software and you are welcome to redistribute it under
   certain conditions; type 'amxx gpl' for details.

ReGameDLL version: 5.15.0.458-dev
L 10/23/2021 - 16:04:08: -------- Mapchange to de_dust2 --------
L 10/23/2021 - 16:04:08: [AMXX] Plugin file open error (plugin "VIP_MENU.amx")
L 10/23/2021 - 16:04:08: [AMXX] Invalid Plugin (plugin "teams.amxx")
L 10/23/2021 - 16:04:08: [AMXX] Plugin "admin_chat_colors.amx" failed to load: Plugin uses an unknown function (name "get_cvarptr_num") - check your modules.ini.
L 10/23/2021 - 16:04:08: [AMXX] Plugin "VIP_Menu_NO_STEAM.amx" failed to load: Plugin uses an unknown function (name "get_cvarptr_num") - check your modules.ini.
L 10/23/2021 - 16:04:08: [alt_end_round_sounds.amxx] ---
L 10/23/2021 - 16:04:08: [alt_end_round_sounds.amxx] Loading File: "addons/amxmodx/configs/roundsound.ini"
L 10/23/2021 - 16:04:08: [alt_end_round_sounds.amxx] ---
L 10/23/2021 - 16:04:08: [alt_end_round_sounds.amxx] [ Loading 1 CTs Sounds ]
L 10/23/2021 - 16:04:08: [alt_end_round_sounds.amxx]    - sound/misc/60.mp3
L 10/23/2021 - 16:04:08: [alt_end_round_sounds.amxx] ---
L 10/23/2021 - 16:04:08: [alt_end_round_sounds.amxx] [ Loading 1 Ts Sounds ]
L 10/23/2021 - 16:04:08: [alt_end_round_sounds.amxx]    - sound/misc/60.mp3
L 10/23/2021 - 16:04:08: [alt_end_round_sounds.amxx] ---
Executing ReGameDLL Configuration File
[AMXX] Loaded 1 admin from file
L 10/23/2021 - 16:04:08: [nextmap.amxx] WARNING: Couldn't find a valid map or the file doesn't exist (file "mapcycle.txt")
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
CAppInfoCacheReadFromDiskThread took 6 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
dlopen failed trying to load:
/root/.steam/sdk32/steamclient.so
with error:
/root/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
couldn't exec listip.cfg
Connection to Steam servers successful.
Menu item 17 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 18 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
   VAC secure mode is activated.
Asking for status gives:
Code:
hostname:  no mods vanilla cstrike
version :  48/1.1.2.7/Stdio 2186 secure  (10)
tcp/ip  :  127.0.0.1:27015
 map     :  de_dust2 at: 0 x, 0 y, 0 z
players :  0 active (32 max)
#      name userid uniqueid frag time ping loss adr
0 users
Note that ports are forwarded.

Any help would be greatly appreciated.

Last edited by crystic; 10-25-2021 at 11:57. Reason: solved
crystic is offline
z4rk
Member
Join Date: Aug 2019
Old 10-23-2021 , 14:16   Re: Cant connect to my cs 1.6 server
Reply With Quote #2

Try with:

Code:
./hlds_run -console -game cstrike +maxplayers 32 +ip xx.xxx.xx.xx(server_ip) +port 27015 +map de_dust2 +sv_lan 0
z4rk is offline
crystic
Junior Member
Join Date: Oct 2021
Old 10-23-2021 , 14:34   Re: Cant connect to my cs 1.6 server
Reply With Quote #3

Quote:
Originally Posted by z4rk View Post
Try with:

Code:
./hlds_run -console -game cstrike +maxplayers 32 +ip xx.xxx.xx.xx(server_ip) +port 27015 +map de_dust2 +sv_lan 0
Got this in return
Code:
Auto-restarting the server on crash                                                                                                                                                                                                             Console initialized.
Using breakpad crash handler                                                                                           
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/root/.steam/sdk32/steamclient.so                                                                                       
with error:                                                                                                             
/root/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48                                                                                                     
Exe version 1.1.2.7/Stdio (cstrike)                                                                                     
Exe build: 15:54:29 Apr  6 2020 (2186)
STEAM Auth Server
WARNING: UDP_OpenSocket: port: 27015  bind: Cannot assign requested address
FATAL ERROR (shutting down): NET_OpenIP: Couldn't allocate dedicated server IP port 27015.
./hlds_run: line 255:  1783 Segmentation fault      (core dumped) $HL_CMD

Last edited by crystic; 10-23-2021 at 14:35.
crystic is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 10-23-2021 , 15:53   Re: Cant connect to my cs 1.6 server
Reply With Quote #4

Try another port (exm: 27017) and add (... +port 27017 +ip {your ip here} +sv_lan 0 ...).
If it doesn't work sometimes you need to manually open the port (UDP) in your OS firewall using commands or via the control panel.
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
crystic
Junior Member
Join Date: Oct 2021
Old 10-23-2021 , 16:18   Re: Cant connect to my cs 1.6 server
Reply With Quote #5

Quote:
Originally Posted by abdobiskra View Post
Try another port (exm: 27017) and add (... +port 27017 +ip {your ip here} +sv_lan 0 ...).
If it doesn't work sometimes you need to manually open the port (UDP) in your OS firewall using commands or via the control panel.
Same error with other ports, tho 27015 port should be oppened in the firewall
Code:
# firewall-cmd --list-all
public (active)
 target: default
 icmp-block-inversion: no
 interfaces: enp1s2
 ports: 27015/tcp 27015/udp
crystic is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 10-24-2021 , 15:24   Re: Cant connect to my cs 1.6 server
Reply With Quote #6

Please provide more details about your setup, for example where the server is hosted (same machine as client, another machine but same network, datacenter/somewhere else).
TomL. is offline
z4rk
Member
Join Date: Aug 2019
Old 10-25-2021 , 02:24   Re: Cant connect to my cs 1.6 server
Reply With Quote #7

Looks like you already have a server opened on that port.

Last edited by z4rk; 10-25-2021 at 02:30.
z4rk is offline
crystic
Junior Member
Join Date: Oct 2021
Old 10-25-2021 , 03:42   Re: Cant connect to my cs 1.6 server
Reply With Quote #8

Quote:
Originally Posted by TomL. View Post
Please provide more details about your setup, for example where the server is hosted (same machine as client, another machine but same network, datacenter/somewhere else).
The server is hosted from my home server setup, both the server and pc is connected to the same network.
crystic is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-25-2021 , 06:26   Re: Cant connect to my cs 1.6 server
Reply With Quote #9

Are you reading what you post?
Code:
dlopen failed trying to load:
/root/.steam/sdk32/steamclient.so
with error:
/root/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Start with not running in root. When response is "No such file or directory", did you think it was kidding? That means the file is missing or does not exist.

Do not run steamcmd while operating as the root user - to do so is a security risk.

Why am I seeing nonsteam plugin?
Important: If you are using CS 1.5, use the "VIP_Menu_NO_STEAM.amx" or recompile the .sma file with the #define NO_STEAM uncommented.

By the way if doing this from home and want to see it on the server lists have to place that asset in the DMZ on router. It is behind a NAT now chances are.
__________________
DJEarthQuake is offline
crystic
Junior Member
Join Date: Oct 2021
Old 10-25-2021 , 11:57   Re: Cant connect to my cs 1.6 server
Reply With Quote #10

Thank you, works great, now feel really dumb that i didn't notice this myself .
<3
crystic is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode