Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Closed TopicStart new topic
> Ssh Programs Shutting Down
eraser2099
post Oct 4 2005, 10:44 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 4-October 05
Member No.: 5,590



Yea i am running gamming servers of of the ssh consol when we log in and start the server it works fine as long as we stay logged in to ssh when we disconnect it shuts down the game the crazy thing is is i have another one running and it doesnot disconnect the only thing different is it is assigned a differnet port we have tried several different ports and this does not seem to be the solution any help would be greatly appreciated
Go to the top of the page
 
+Quote Post
michaelk
post Oct 5 2005, 06:40 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Are you running the same game on both servers? Are they configured differently? Using a different port will not prevent the game from shutting down. daemons will run without being connected to a terminal but regular programs will not. You can use the screen utility to keep the game running.
Go to the top of the page
 
+Quote Post
DS2K3
post Oct 5 2005, 10:34 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



When you start the daemon, try adding a "&" (ampersand) after the command, eg "game_Server &" to force it into the background

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
michaelk
post Oct 5 2005, 03:35 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



I believe that a job even in the background will still close when you exit. The other method besides screen is starting via nohup.
Go to the top of the page
 
+Quote Post
eraser2099
post Oct 5 2005, 07:39 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 4-October 05
Member No.: 5,590



to the person that told me to add the & sign to the end of the command worked i thank you for a quick response
Go to the top of the page
 
+Quote Post
michaelk
post Oct 5 2005, 09:05 PM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



sad.gif I stand corrected....
Go to the top of the page
 
+Quote Post
DS2K3
post Oct 6 2005, 11:42 AM
Post #7


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



smile.gif You learn something new everyday...

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2017 - 02:43 PM