Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Running the server
➜ Smaug restarting after crashing.
Smaug restarting after crashing.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Tue 20 Jun 2006 06:08 AM (UTC) |
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 | Top |
|
Posted by
| Nick Gammon
Australia (23,162 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 20 Jun 2006 07:27 AM (UTC) |
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 | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #2 on Tue 20 Jun 2006 11:09 AM (UTC) |
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 | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #3 on Tue 20 Jun 2006 11:14 AM (UTC) |
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 | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #4 on Tue 20 Jun 2006 02:18 PM (UTC) |
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 | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #5 on Tue 20 Jun 2006 02:53 PM (UTC) |
Message
| Using & starts the process in the background (or something of that sort). |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #6 on Tue 20 Jun 2006 05:32 PM (UTC) |
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. | 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.
22,634 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top