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

Linux Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Groven
AlliedModders Donor
Join Date: Apr 2011
Location: Sweden
Old 02-28-2014 , 15:43   Linux Problem
Reply With Quote #1

Hello. Im new to Linux and I have installed my CS 1.6 server and all that, and now when I try to run it with this:

Code:
./hlds_run -console -game cstrike +maxplayers 20 +map de_dust2 +ip IP_HERE +port 27015
I get those errors:

Code:
SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
FATAL ERROR (shutting down): Unable to initialize Steam.
EDIT: fixed!

EDIT2: New Issue: Is there any autorun script for my server? I use PuTTY to access my server but when I shutdown the terminal the server goes offline. How can I do so it run even if I close it?
__________________

Last edited by YamiKaitou; 02-28-2014 at 16:00.
Groven is offline
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 02-28-2014 , 15:54   Re: Linux Problem
Reply With Quote #2

how u install it ?
ArabicMan is offline
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 02-28-2014 , 15:59   Re: Linux Problem
Reply With Quote #3

screen -A -m -d -S hlds ./hlds_run -game cstrike -debug +maxplayers 32 +port 27015 +map de_dust2
ArabicMan is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 02-28-2014 , 21:09   Re: Linux Problem
Reply With Quote #4

Use a screen. Navigate to your servers directory and:

screen -S name

Name can be whatever you want, just for keeping things in order. Then run your command. Then:

control+a+d

To close the screen. Now you can close out putty and the server will stay up. You'll need to look up screen on google or whatever and learn some more shit. Some other useful commands off the top of my head would be:

screen -ls (lists all currently open screen)
screen -r (rejoin a screen)

If you don't have screen:

apt-get update
apt-get install screen
__________________
Dr_Knuckles is offline
Reply



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 00:39.


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