Raised This Month: $12 Target: $400
 3% 

Linux hlds_run not automaticly restarting on crash


Post New Thread Reply   
 
Thread Tools Display Modes
8088
Veteran Member
Join Date: Jan 2008
Old 01-18-2010 , 10:55   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #51

If you can't find them, then how do you start your server?
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
wariorman
Senior Member
Join Date: Mar 2008
Old 01-18-2010 , 15:10   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #52

It's a hired server
wariorman is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-18-2010 , 18:08   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #53

Quote:
Originally Posted by wariorman View Post
It's a hired server
Then you probably don't have access to them.
__________________
fysiks is offline
wariorman
Senior Member
Join Date: Mar 2008
Old 01-23-2010 , 07:10   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #54

Can somone fix the script with these commands?

server 1

Quote:
./hlds_run -game cstrike -pingboost 2 +ip 89.238.163.210 +sys_ticrate 500 +map de_dustyaztec +maxplayers 24 -port 27016
Server 2

Quote:
./hlds_run -game cstrike -pingboost 2 +ip 89.238.163.140 +sys_ticrate 500 +map de_dustyaztec +maxplayers 8 -port 27016 *
wariorman is offline
wariorman
Senior Member
Join Date: Mar 2008
Old 01-24-2010 , 15:39   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #55

any help please?

and also where do i find where to put it, and how can i find my start lines? PS. i got them by mail from the server hirer.
wariorman is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 01-24-2010 , 20:17   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #56

what do you mean with fixing the scripts?

i cant see any problems in the start scripts/parameters.
and i dont think that your sever provider will change this parameters. for example, when you change sys_ticrate on 1990 ( which we use for our v2 servers ) they will never do this.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
wariorman
Senior Member
Join Date: Mar 2008
Old 01-25-2010 , 01:25   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #57

v2 servers?

And i found hlds_run. But i cant find the boot line in there :S and by fixing the scripts i ment that you make those bootlines into one of those auto-restart scripts
wariorman is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 01-25-2010 , 09:48   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #58

Quote:
Originally Posted by wariorman View Post
v2 servers?

And i found hlds_run. But i cant find the boot line in there :S and by fixing the scripts i ment that you make those bootlines into one of those auto-restart scripts
you can do it by your self. download editor++ or winscp. with winscp you can creat a file on server and put your script there.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
wariorman
Senior Member
Join Date: Mar 2008
Old 01-25-2010 , 10:00   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #59

Ok, should i remove executable from old hlds_run? and where can i find my boot line, u didnt answer that.

And are these scripts good?

4003:

Code:
 
#! /bin/bash
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
while [ true ]; do
        ./hlds_run -game cstrike -pingboost 1 +ip 89.238.163.210 +sys_ticrate 500 +map de_dustyaztec -maxplayers 24 -port 27016 
        echo "Server crashed at '`date`' - Restarting"
        echo "Server crashed at '`date`' - Restarting" >> crash.log
        sleep 5
done
4033:

Code:
 
#! /bin/bash
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
while [ true ]; do
        ./hlds_run -game cstrike -pingboost 1 +ip 89.238.163.140 +sys_ticrate 500 +map de_dustyaztec -maxplayers 8 -port 27016
        echo "Server crashed at '`date`' - Restarting"
        echo "Server crashed at '`date`' - Restarting" >> crash.log
        sleep 5
done
wariorman is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-01-2010 , 19:55   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #60

so i have a new problem

my server get off after 10 min.
i run the autostart script in screen but it's like so that the process will be killed after 10 min.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
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 12:11.


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