[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  Smaug restarting after crashing.
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Smaug restarting after crashing.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Metsuro   USA  (389 posts)  [Biography] bio
Date Tue 20 Jun 2006 06:08 AM (UTC)  quote  ]
Message
Alright I've noticed alot of smaugs, and alot of dbsc when they crash they start back up. I was wondering how this happens? What causes it to start up again?

Everything turns around in the end
[Go to top] top

Posted by Nick Gammon   Australia  (19,370 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Tue 20 Jun 2006 07:27 AM (UTC)  quote  ]
Message
Just the startup script I think. It loops on running Smaug, and every time the program completes (ie. crashes or shuts down at the end of the day) the script starts it up again.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio   Moderator
Date Reply #2 on Tue 20 Jun 2006 11:09 AM (UTC)  quote  ]
Message
You could also use nohup on the startup script to keep it running.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #3 on Tue 20 Jun 2006 11:14 AM (UTC)  quote  ]
Message
To clarify: nohup prevents the startup script from exiting when you log out.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Metsuro   USA  (389 posts)  [Biography] bio
Date Reply #4 on Tue 20 Jun 2006 02:18 PM (UTC)  quote  ]
Message
O thought the uhh & makes it so it wont exit when logging out, cause alot of people I know just use ./startup & and it doesn't exit on log out?

Everything turns around in the end
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio   Moderator
Date Reply #5 on Tue 20 Jun 2006 02:53 PM (UTC)  quote  ]
Message
Using & starts the process in the background (or something of that sort).

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Reply #6 on Tue 20 Jun 2006 05:32 PM (UTC)  quote  ]
Message
Not all systems seem to require the use of nohup to keep things running when you log out. I do notice it being necessary on a lot of Redhat based systems like Fedora.

The startup script will try and launch the program if it crashes out for some reason. However it will not keep things running in most cases if the mud is deliberately shutdown. The startup script only loops if a "shutdown" file is not present.

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


3,073 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]